Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
96 CC
Holders
92
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
1 CCLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
This contract may be a proxy contract. Click on More Options and select Is this a proxy? to confirm and enable the "Read as Proxy" & "Write as Proxy" tabs.
Contract Name:
CryptoCocks
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 pragma solidity 0.8.7; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/math/SafeCast.sol"; import "./OrderStatisticsTreeLib.sol"; import "./CryptoCocksWhitelistingLib.sol"; import "./CryptoCocksLib.sol"; /** * CryptoCocks is a decentralized generative art project where the rarity of the * unique digital collectibles (ERC721 NFTs) not only is determined by * pseudo-randomly assigned traits of varying frequency but also how someone's * wallet balance at the time of minting compares with the wallet balance of * previous minters at the time they minted their token. CryptoCocks tokens * are fair-priced meaning that the cost for minting will always be 1% of that * minter's wallet balance and is primarily decisive for the rarity of the minted NFT. * The total supply of CryptoCocks is limited to 10000 unique tokens and each image * is stored decentralized on IPFS and Filecoin forever. */ contract CryptoCocks is ERC721("CryptoCocks", "CC"), ERC721URIStorage, Ownable { using Counters for Counters.Counter; using OrderStatisticsTreeLib for OrderStatisticsTreeLib.Tree; using CryptoCocksWhitelistingLib for CryptoCocksWhitelistingLib.Whitelist; struct Settings { // true => active public sale bool publicSaleStatus; // true => minting does not require fee bool freeMinting; // true => initMint was not yet executed bool initMint; // true => whitelist checks are executed bool isWhitelistingEnabled; // Percentages of the minter's wallet balance to be sent // to the contract as ether value when minting. uint8 percFee; // Minimum of sent Ether value in Wei required when minting uint128 minFee; } struct Balances { uint128 team; // tracking accumulated royalty fee uint128 donation; // tracking accumulated royalty fee } /** * Event for minting a new NFT */ event Mint( uint16 indexed id, uint balance ); /** * Event to show OpenSea that URI cannot be changed */ event PermanentURI( string _value, uint256 indexed _id ); Counters.Counter private _tokenIdTracker; OrderStatisticsTreeLib.Tree private tree; CryptoCocksWhitelistingLib.Whitelist private whitelist; Settings public set; Balances public bal; // Tracks collected ether for team and donation wallet address payable public teamWallet; // Receives 50% of revenue address payable public donationWallet; // Receives 30% of revenue constructor() { set = Settings(false, true, true, true, 100, 0.02 ether); // Set default settings bal = Balances(0, 0); // Multisig team wallet address teamWallet = payable(0x5b1f57449Dd479e787FDF201a59d06D3Cb84F5Dc); // The Giving Block donation address ('Trees for the Future' reforestation project) donationWallet = payable(0xb1019Eb5e90aD29C2FcE82AAB712325a1A3d5924); } /** * - Mints new NFT. * - Stores balance in tree. * - Calculates cock length. * - Constructs token. * - Transfers collected revenue every 50th mint. */ function mint() external virtual payable { uint16 newTokenId = uint16(_tokenIdTracker.current() + 31); // 30 initial mints + 1 (tokenIDs should begin with 1) uint value = msg.value; (bool wL, uint8 idx) = set.isWhitelistingEnabled ? whitelist.checkListed(msg.sender) : (false, 0); // Test conditions require((set.publicSaleStatus || wL), "LOCK"); require(newTokenId <= uint16(10000), "TOTAL_SUPPLY_REACHED"); require(balanceOf(msg.sender) == 0, "ONLY_ONE_NFT"); // Calculate balance uint balance = msg.sender.balance + value; if (!set.freeMinting) { require(value >= ((balance / set.percFee) < set.minFee ? set.minFee : (balance / set.percFee)), "INSUFFICIENT_FUNDS"); balance = value * set.percFee; } // Internal function to safely mint a new token. // Reverts if the given token ID already exists. _safeMint(msg.sender, uint(newTokenId)); // Create tokenURI _createTokenURI(newTokenId, tree.insertCock(newTokenId, balance)); _tokenIdTracker.increment(); emit Mint(newTokenId, balance); // Store fees in tracker variable bal.team += SafeCast.toUint128(value / 2); // 50% to team bal.donation += SafeCast.toUint128((value * 30) / 100); // 30% donated // Deposit royalty fee in each community wallet 20% to communities whitelist.depositRoyalties(SafeCast.toUint128(value)); // Increase supply tracker of whitelisted contract, if applicable. if (wL) { whitelist.increaseSupply(idx); } // Execute fee transactions every 50th NFT. if (newTokenId % 50 == 0) { uint teamAmount = bal.team; uint donationAmount = bal.donation; bal.team = 0; bal.donation = 0; Address.sendValue(payable(teamWallet), teamAmount); Address.sendValue(payable(donationWallet), donationAmount); } } /** * Initialize minting process with 30 auto-minted NFTs for the contract owner */ function initMint() external onlyOwner { require(set.initMint, "ONLY_ONCE"); for (uint i = 0; i < 30; i++) { _safeMint(msg.sender, uint16(i+1)); uint8 length = SafeCast.toUint8(i > 9 ? (i % 10) + 1: 11); _createTokenURI(uint16(i+1), length); set.initMint = false; } } /** * Add community contract to whitelist * * Allows token holders to mint NFTs before public sale starts. * 20% of the collected ether value on mints is distributed to the registered communities */ function addWhiteListing( uint8 id, // unique identifier of a ListContract instance bool erc1155, // true if contract implements IERC11555 otherwise IERC20/IERC721 address cc, // community contract addresses address payable wallet, // community wallet addresses uint16 maxSupply, // max NFTs for whitelisted owners uint16 minBalance, // min balance needed on whitelisted contracts uint8 percRoyal, // percentage royal fee for each contract uint erc1155Id // optional: erc1155 token type id ) external onlyOwner { whitelist.addContract(id, erc1155, cc, wallet, maxSupply, minBalance, percRoyal, erc1155Id); } /** * Remove whitelisted community contract */ function removeWhitelisting(uint8 lcId) external onlyOwner { whitelist.removeContract(lcId); } /** * Transfer royalties from contract to registered community wallet */ function transferRoyalty() external { Address.sendValue(payable(msg.sender), whitelist.popRoyalties(msg.sender)); } /** * Changes fee settings of contract */ function changeFeeSettings(bool status, uint8 percFee, uint128 minFee) external onlyOwner { require(status || percFee > 0, "DIVIDE_BY_ZERO"); set.freeMinting = status; // true => minting does not require a fee set.percFee = percFee; // percFee, denoted as denominator (i.e., 1/percFee) set.minFee = minFee; // minFee, denoted in Wei } /** * Enable or disable whitelisting functionality */ function changeWhitelistingSettings(bool enabled) external onlyOwner { set.isWhitelistingEnabled = enabled; } /** * Get whitelisted community contract information by identifier */ function getListContract(uint8 lcId) external view returns (CryptoCocksWhitelistingLib.ListContract memory lc) { return whitelist.getListContract(lcId); } /** * Query token balance of an account from the community token specified by list index */ function queryBalance(uint8 listIndex, address addressToQuery) external view returns (uint) { return whitelist.queryBalance(listIndex, addressToQuery); } /** * Changes status of publicSaleStatus (true => active public sale) */ function changePublicSaleStatus(bool newStatus) external onlyOwner { set.publicSaleStatus = newStatus; } /** * Using ERC721URIStorage over ERC721 for tokenURI() */ function tokenURI(uint tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return string(abi.encodePacked(CryptoCocksLib.getCid(tokenId), super.tokenURI(tokenId))); } /** * Gets the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256) { return set.initMint ? _tokenIdTracker.current() : _tokenIdTracker.current() + 30; } /** * Crate TokenURI during mint process */ function _createTokenURI(uint16 _newTokenId, uint8 _length) private { string memory _tokenURI = string(abi.encodePacked(Strings.toString(_length), "_", Strings.toString(_newTokenId), ".json")); _setTokenURI(_newTokenId, _tokenURI); emit PermanentURI(_tokenURI, _newTokenId); } // slither-disable-next-line dead-code function _burn(uint tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } }
// 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 (token/ERC721/extensions/ERC721URIStorage.sol) pragma solidity ^0.8.0; import "../ERC721.sol"; /** * @dev ERC721 token with storage based token URI management. */ abstract contract ERC721URIStorage is ERC721 { using Strings for uint256; // Optional mapping for token URIs mapping(uint256 => string) private _tokenURIs; /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721URIStorage: URI query for nonexistent token"); string memory _tokenURI = _tokenURIs[tokenId]; string memory base = _baseURI(); // If there is no base URI, return the token URI. if (bytes(base).length == 0) { return _tokenURI; } // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked). if (bytes(_tokenURI).length > 0) { return string(abi.encodePacked(base, _tokenURI)); } return super.tokenURI(tokenId); } /** * @dev Sets `_tokenURI` as the tokenURI of `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual { require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token"); _tokenURIs[tokenId] = _tokenURI; } /** * @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 override { super._burn(tokenId); if (bytes(_tokenURIs[tokenId]).length != 0) { delete _tokenURIs[tokenId]; } } }
// 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 (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/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // 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/math/SafeCast.sol) pragma solidity ^0.8.0; /** * @dev Wrappers over Solidity's uintXX/intXX casting operators with added overflow * checks. * * Downcasting from uint256/int256 in Solidity does not revert on overflow. This can * easily result in undesired exploitation or bugs, since developers usually * assume that overflows raise errors. `SafeCast` restores this intuition by * reverting the transaction when such an operation overflows. * * Using this library instead of the unchecked operations eliminates an entire * class of bugs, so it's recommended to use it always. * * Can be combined with {SafeMath} and {SignedSafeMath} to extend it to smaller types, by performing * all math on `uint256` and `int256` and then downcasting. */ library SafeCast { /** * @dev Returns the downcasted uint224 from uint256, reverting on * overflow (when the input is greater than largest uint224). * * Counterpart to Solidity's `uint224` operator. * * Requirements: * * - input must fit into 224 bits */ function toUint224(uint256 value) internal pure returns (uint224) { require(value <= type(uint224).max, "SafeCast: value doesn't fit in 224 bits"); return uint224(value); } /** * @dev Returns the downcasted uint128 from uint256, reverting on * overflow (when the input is greater than largest uint128). * * Counterpart to Solidity's `uint128` operator. * * Requirements: * * - input must fit into 128 bits */ function toUint128(uint256 value) internal pure returns (uint128) { require(value <= type(uint128).max, "SafeCast: value doesn't fit in 128 bits"); return uint128(value); } /** * @dev Returns the downcasted uint96 from uint256, reverting on * overflow (when the input is greater than largest uint96). * * Counterpart to Solidity's `uint96` operator. * * Requirements: * * - input must fit into 96 bits */ function toUint96(uint256 value) internal pure returns (uint96) { require(value <= type(uint96).max, "SafeCast: value doesn't fit in 96 bits"); return uint96(value); } /** * @dev Returns the downcasted uint64 from uint256, reverting on * overflow (when the input is greater than largest uint64). * * Counterpart to Solidity's `uint64` operator. * * Requirements: * * - input must fit into 64 bits */ function toUint64(uint256 value) internal pure returns (uint64) { require(value <= type(uint64).max, "SafeCast: value doesn't fit in 64 bits"); return uint64(value); } /** * @dev Returns the downcasted uint32 from uint256, reverting on * overflow (when the input is greater than largest uint32). * * Counterpart to Solidity's `uint32` operator. * * Requirements: * * - input must fit into 32 bits */ function toUint32(uint256 value) internal pure returns (uint32) { require(value <= type(uint32).max, "SafeCast: value doesn't fit in 32 bits"); return uint32(value); } /** * @dev Returns the downcasted uint16 from uint256, reverting on * overflow (when the input is greater than largest uint16). * * Counterpart to Solidity's `uint16` operator. * * Requirements: * * - input must fit into 16 bits */ function toUint16(uint256 value) internal pure returns (uint16) { require(value <= type(uint16).max, "SafeCast: value doesn't fit in 16 bits"); return uint16(value); } /** * @dev Returns the downcasted uint8 from uint256, reverting on * overflow (when the input is greater than largest uint8). * * Counterpart to Solidity's `uint8` operator. * * Requirements: * * - input must fit into 8 bits. */ function toUint8(uint256 value) internal pure returns (uint8) { require(value <= type(uint8).max, "SafeCast: value doesn't fit in 8 bits"); return uint8(value); } /** * @dev Converts a signed int256 into an unsigned uint256. * * Requirements: * * - input must be greater than or equal to 0. */ function toUint256(int256 value) internal pure returns (uint256) { require(value >= 0, "SafeCast: value must be positive"); return uint256(value); } /** * @dev Returns the downcasted int128 from int256, reverting on * overflow (when the input is less than smallest int128 or * greater than largest int128). * * Counterpart to Solidity's `int128` operator. * * Requirements: * * - input must fit into 128 bits * * _Available since v3.1._ */ function toInt128(int256 value) internal pure returns (int128) { require(value >= type(int128).min && value <= type(int128).max, "SafeCast: value doesn't fit in 128 bits"); return int128(value); } /** * @dev Returns the downcasted int64 from int256, reverting on * overflow (when the input is less than smallest int64 or * greater than largest int64). * * Counterpart to Solidity's `int64` operator. * * Requirements: * * - input must fit into 64 bits * * _Available since v3.1._ */ function toInt64(int256 value) internal pure returns (int64) { require(value >= type(int64).min && value <= type(int64).max, "SafeCast: value doesn't fit in 64 bits"); return int64(value); } /** * @dev Returns the downcasted int32 from int256, reverting on * overflow (when the input is less than smallest int32 or * greater than largest int32). * * Counterpart to Solidity's `int32` operator. * * Requirements: * * - input must fit into 32 bits * * _Available since v3.1._ */ function toInt32(int256 value) internal pure returns (int32) { require(value >= type(int32).min && value <= type(int32).max, "SafeCast: value doesn't fit in 32 bits"); return int32(value); } /** * @dev Returns the downcasted int16 from int256, reverting on * overflow (when the input is less than smallest int16 or * greater than largest int16). * * Counterpart to Solidity's `int16` operator. * * Requirements: * * - input must fit into 16 bits * * _Available since v3.1._ */ function toInt16(int256 value) internal pure returns (int16) { require(value >= type(int16).min && value <= type(int16).max, "SafeCast: value doesn't fit in 16 bits"); return int16(value); } /** * @dev Returns the downcasted int8 from int256, reverting on * overflow (when the input is less than smallest int8 or * greater than largest int8). * * Counterpart to Solidity's `int8` operator. * * Requirements: * * - input must fit into 8 bits. * * _Available since v3.1._ */ function toInt8(int256 value) internal pure returns (int8) { require(value >= type(int8).min && value <= type(int8).max, "SafeCast: value doesn't fit in 8 bits"); return int8(value); } /** * @dev Converts an unsigned uint256 into a signed int256. * * Requirements: * * - input must be less than or equal to maxInt256. */ function toInt256(uint256 value) internal pure returns (int256) { // Note: Unsafe cast below is okay because `type(int256).max` is guaranteed to be positive require(value <= uint256(type(int256).max), "SafeCast: value doesn't fit in an int256"); return int256(value); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; library OrderStatisticsTreeLib { uint8 private constant EMPTY = 0; struct Node { uint parent; uint left; uint right; uint count; bool red; uint16[] keys; } struct Tree { uint root; uint8 minLength; // tracking minLength assigned so far mapping(uint => Node) nodes; } function exists(Tree storage self, uint value) public view returns (bool _exists) { if (value == EMPTY) return false; if (value == self.root) return true; if (self.nodes[value].parent != EMPTY) return true; return false; } function getNodeCount(Tree storage self, uint value) public view returns(uint count_) { Node storage gn = self.nodes[value]; return gn.keys.length + gn.count; } function count(Tree storage self) public view returns(uint _count) { return getNodeCount(self, self.root); } function rank(Tree storage self, uint value) private view returns(uint _rank) { _rank = 0; if (count(self) > 0) { bool finished = false; uint cursor = self.root; Node storage c = self.nodes[cursor]; uint smaller = getNodeCount(self, c.left); while (!finished) { uint keyCount = uint(c.keys.length); if (cursor == value) { finished = true; } else { if (cursor < value) { cursor = c.right; c = self.nodes[cursor]; smaller += keyCount + getNodeCount(self, c.left); } else { cursor = c.left; c = self.nodes[cursor]; uint nodeCount = getNodeCount(self, c.right); uint sum = SafeMath.add(keyCount, nodeCount); if (sum >= smaller) { smaller = 0; } else { smaller = SafeMath.sub(smaller, sum); } } } if (!exists(self, cursor)) { finished = true; } } _rank = smaller + 1; } } function insertCock(Tree storage self, uint16 newTokenId, uint balance) public returns(uint8) { insert(self, newTokenId, balance); if (self.minLength == EMPTY) { self.minLength = 10; } uint sum = count(self) - 1; uint size = sum > 0 ? ((100 * (rank(self, balance) - 1)) / sum) : 100; uint8 length = uint8(((size - (size % 10)) / 10) + 1); if (length < self.minLength) { length = self.minLength - 1; self.minLength = length; } return length; } function insert(Tree storage self, uint16 key, uint value) public { if (!exists(self, value)) { require(value != EMPTY, "zero"); uint cursor = EMPTY; uint probe = self.root; while (probe != EMPTY) { cursor = probe; if (value < probe) { probe = self.nodes[probe].left; } else if (value > probe) { probe = self.nodes[probe].right; } else if (value == probe) { self.nodes[probe].keys.push(key); return; } self.nodes[cursor].count++; } Node storage nValue = self.nodes[value]; nValue.parent = cursor; nValue.left = EMPTY; nValue.right = EMPTY; nValue.red = true; nValue.keys.push(key); if (cursor == EMPTY) { self.root = value; } else if (value < cursor) { self.nodes[cursor].left = value; } else { self.nodes[cursor].right = value; } insertFixup(self, value); } } function rotateLeft(Tree storage self, uint value) private { uint cursor = self.nodes[value].right; uint parent = self.nodes[value].parent; uint cursorLeft = self.nodes[cursor].left; self.nodes[value].right = cursorLeft; if (cursorLeft != EMPTY) { self.nodes[cursorLeft].parent = value; } self.nodes[cursor].parent = parent; if (parent == EMPTY) { self.root = cursor; } else if (value == self.nodes[parent].left) { self.nodes[parent].left = cursor; } else { self.nodes[parent].right = cursor; } self.nodes[cursor].left = value; self.nodes[value].parent = cursor; self.nodes[value].count = getNodeCount(self, self.nodes[value].left) + getNodeCount(self, self.nodes[value].right); self.nodes[cursor].count = getNodeCount(self, self.nodes[cursor].left) + getNodeCount(self, self.nodes[cursor].right); } function rotateRight(Tree storage self, uint value) private { uint cursor = self.nodes[value].left; uint parent = self.nodes[value].parent; uint cursorRight = self.nodes[cursor].right; self.nodes[value].left = cursorRight; if (cursorRight != EMPTY) { self.nodes[cursorRight].parent = value; } self.nodes[cursor].parent = parent; if (parent == EMPTY) { self.root = cursor; } else if (value == self.nodes[parent].right) { self.nodes[parent].right = cursor; } else { self.nodes[parent].left = cursor; } self.nodes[cursor].right = value; self.nodes[value].parent = cursor; self.nodes[value].count = getNodeCount(self, self.nodes[value].left) + getNodeCount(self, self.nodes[value].right); self.nodes[cursor].count = getNodeCount(self, self.nodes[cursor].left) + getNodeCount(self, self.nodes[cursor].right); } function insertFixup(Tree storage self, uint value) private { uint cursor; while (value != self.root && self.nodes[self.nodes[value].parent].red) { uint valueParent = self.nodes[value].parent; if (valueParent == self.nodes[self.nodes[valueParent].parent].left) { cursor = self.nodes[self.nodes[valueParent].parent].right; if (self.nodes[cursor].red) { self.nodes[valueParent].red = false; self.nodes[cursor].red = false; self.nodes[self.nodes[valueParent].parent].red = true; value = self.nodes[valueParent].parent; } else { if (value == self.nodes[valueParent].right) { value = valueParent; rotateLeft(self, value); } valueParent = self.nodes[value].parent; self.nodes[valueParent].red = false; self.nodes[self.nodes[valueParent].parent].red = true; rotateRight(self, self.nodes[valueParent].parent); } } else { cursor = self.nodes[self.nodes[valueParent].parent].left; if (self.nodes[cursor].red) { self.nodes[valueParent].red = false; self.nodes[cursor].red = false; self.nodes[self.nodes[valueParent].parent].red = true; value = self.nodes[valueParent].parent; } else { if (value == self.nodes[valueParent].left) { value = valueParent; rotateRight(self, value); } valueParent = self.nodes[value].parent; self.nodes[valueParent].red = false; self.nodes[self.nodes[valueParent].parent].red = true; rotateLeft(self, self.nodes[valueParent].parent); } } } self.nodes[self.root].red = false; } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; import "@openzeppelin/contracts/utils/math/SafeCast.sol"; interface Token { function balanceOf(address owner) external view returns (uint balance); } interface Token1155 { function balanceOf(address owner, uint256 id) external view returns (uint balance); } library CryptoCocksWhitelistingLib { uint8 private constant MAX_PERC_ROYALTIES = 20; /** * Whitelisted community contract */ struct ListContract { bool erc1155; // true if contract implements IERC11555 otherwise IERC20/IERC721 uint8 id; // unique identifier of a ListContract instance uint8 percRoyal; // percentage royal fee for each contract uint16 maxSupply; // max NFTs for whitelisted owners uint16 minBalance; // min balance needed on whitelisted contracts uint16 tracker; // tracking number of minted NFTs per whitelisted contract uint128 balance; // tracking accumulated royalty fee uint256 erc1155Id; // erc1155 token type id address cc; // community contract addresses address wallet; // community wallet addresses } struct Set { // storage of ListContract instances ListContract[] _values; // position of a ListContract in the `values` array, plus 1 because index 0 // means a ListContract is not in the set. mapping(uint8 => uint8) _indexes; } struct Whitelist { uint8 usedRoyal; // available royal for community wallets (in percentage points) Set lists; } /** * @dev Add a ListContract to the set. O(1). * * Returns true if the ListContract was added to the set, that is if it was not * already present. */ function add(Whitelist storage self, ListContract memory lc) private returns (bool) { if (!contains(self, lc.id)) { self.lists._values.push(lc); self.lists._indexes[lc.id] = SafeCast.toUint8(self.lists._values.length); return true; } else { return false; } } /** * @dev Removes a ListContract by id. O(1). * * Returns true if the ListContract was removed from the set, that is if it was * present. */ function remove(Whitelist storage self, uint8 lcId) private returns (bool) { // We read and store the value's index to prevent multiple reads from the same storage slot uint8 listContractIndex = self.lists._indexes[lcId]; if (listContractIndex != 0) { // To delete an element from the _values array in O(1), we swap the element to delete with the last one in // the array, and then remove the last element (sometimes called as 'swap and pop'). // This modifies the order of the array. uint8 toDeleteIndex = listContractIndex - 1; uint8 lastIndex = SafeCast.toUint8(self.lists._values.length - 1); if (lastIndex != toDeleteIndex) { ListContract storage lastListContract = self.lists._values[lastIndex]; // Move the last ListContract to the index where the value to delete is self.lists._values[toDeleteIndex] = lastListContract; // Update the index for the moved ListContract self.lists._indexes[lastListContract.id] = listContractIndex; // Replace lastListContract's index to listContractIndex } // Delete the slot where the moved ListContract was stored self.lists._values.pop(); // Delete the index for the deleted slot delete self.lists._indexes[lcId]; return true; } else { return false; } } /** * @dev Returns true if the ListContract with an identifier is already in the set. O(1). */ function contains(Whitelist storage self, uint8 id) private view returns (bool) { return self.lists._indexes[id] != 0; } /** * @dev Returns the number of ListContract instances on the set. O(1). */ function length(Whitelist storage self) private view returns (uint8) { return SafeCast.toUint8(self.lists._values.length); } /** * @dev Returns the ListContract stored at position `index` in the set. O(1). * * Note that there are no guarantees on the ordering of instances inside the * array, and it may change when more values are added or removed. * * Requirements: * - `index` must be strictly less than {length}. */ function at(Whitelist storage self, uint8 index) private view returns (ListContract storage) { return self.lists._values[index]; } /** * Check token balance of address on an ERC721, ERC20 or ERC1155 contract */ function queryBalance(Whitelist storage self, uint8 listIndex, address addressToQuery) public view returns (uint) { ListContract storage lc = at(self, listIndex); // slither-disable-next-line calls-loop return lc.erc1155 ? Token1155(lc.cc).balanceOf(addressToQuery, lc.erc1155Id) : Token(lc.cc).balanceOf(addressToQuery); } function increaseSupply(Whitelist storage self, uint8 idx) external { ListContract storage lc = at(self, idx); lc.tracker += 1; } function depositRoyalties(Whitelist storage self, uint128 value) external { for (uint8 idx = 0; (idx < length(self)); idx++) { ListContract storage lc = at(self, idx); lc.balance += uint128((value * lc.percRoyal) / 100); } } function checkListed(Whitelist storage self, address account) external view returns (bool, uint8) { for (uint8 i = 0; (i < length(self)); i++) { ListContract storage lc = at(self, i); if ((queryBalance(self, i, account) >= lc.minBalance) && (lc.maxSupply > lc.tracker)) { return (true, i); } } return (false, 0); } /** * Add contract address to whitelisting with maxSupply * Allows token holders to mint NFTs before the Public Sale start */ function addContract( Whitelist storage self, uint8 id, bool erc1155, address cc, address payable wallet, uint16 maxSupply, uint16 minBalance, uint8 percRoyal, uint erc1155Id ) public { require((MAX_PERC_ROYALTIES - self.usedRoyal) >= percRoyal, "FEE_TOO_HIGH"); add(self, ListContract(erc1155, id, percRoyal, maxSupply, minBalance, 0, 0, erc1155Id, cc, wallet)); self.usedRoyal += percRoyal; } function getListContract(Whitelist storage self, uint8 lcId) public view returns (ListContract storage lc) { if (contains(self, lcId)) { uint8 idx = self.lists._indexes[lcId] - 1; return at(self, idx); } revert("LC_NOT_FOUND"); } function removeContract(Whitelist storage self, uint8 lcId) public { ListContract storage lc = getListContract(self, lcId); self.usedRoyal -= lc.percRoyal; remove(self, lcId); } function popRoyalties(Whitelist storage self, address wallet) external returns(uint128 balance) { for (uint8 i = 0; (i < length(self)); i++) { ListContract storage lc = at(self, i); if (lc.wallet == wallet) { uint128 lcBalance = lc.balance; lc.balance = 0; return lcBalance; } } revert("NO_COMMUNITY_WALLET"); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.7; library CryptoCocksLib { function getCid(uint id) external pure returns (string memory cid) { string memory batch; if (id <= 2000) { batch = "bafybeiesbbihtfdj3kqbah5642p7drsb6hrzwzksezbgb2t2ojjwgh2k5m"; } else if (id <= 4000) { batch = "bafybeifclnruolpdcsouhmzhnardvpzroxk6qouc53drw4vh2f3zdoouya"; } else if (id <= 6000) { batch = "bafybeihbeszvaoc3exx6ji77g74nyuqmoz2scdykudna3qd6xzgygn36ra"; } else if (id <= 8000) { batch = "bafybeidl3uswhq65hnfvgj6bfahbvdb57y7cxiaelgct6q7raweubcms6u"; } else { batch = "bafybeifx2hrh6mhbpcivo4z53l76uqwc6fth4nf4qah6aow7e62lcka3d4"; } return string(abi.encodePacked("ipfs://", batch, "/")); } }
// 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/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/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 // OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
{ "optimizer": { "enabled": false, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "libraries": { "contracts/CryptoCocksLib.sol": { "CryptoCocksLib": "0xf31e24aed8eb6dd2218683b0bce29ed3387b16b9" }, "contracts/CryptoCocksWhitelistingLib.sol": { "CryptoCocksWhitelistingLib": "0x00bb7246cd1dc5282d960efb37ac685ee0d42309" }, "contracts/OrderStatisticsTreeLib.sol": { "OrderStatisticsTreeLib": "0x0a78bb5c3f3bf99f78c2d440f2c10712ce413109" } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"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":"uint16","name":"id","type":"uint16"},{"indexed":false,"internalType":"uint256","name":"balance","type":"uint256"}],"name":"Mint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"_value","type":"string"},{"indexed":true,"internalType":"uint256","name":"_id","type":"uint256"}],"name":"PermanentURI","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"uint8","name":"id","type":"uint8"},{"internalType":"bool","name":"erc1155","type":"bool"},{"internalType":"address","name":"cc","type":"address"},{"internalType":"address payable","name":"wallet","type":"address"},{"internalType":"uint16","name":"maxSupply","type":"uint16"},{"internalType":"uint16","name":"minBalance","type":"uint16"},{"internalType":"uint8","name":"percRoyal","type":"uint8"},{"internalType":"uint256","name":"erc1155Id","type":"uint256"}],"name":"addWhiteListing","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"bal","outputs":[{"internalType":"uint128","name":"team","type":"uint128"},{"internalType":"uint128","name":"donation","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"status","type":"bool"},{"internalType":"uint8","name":"percFee","type":"uint8"},{"internalType":"uint128","name":"minFee","type":"uint128"}],"name":"changeFeeSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"newStatus","type":"bool"}],"name":"changePublicSaleStatus","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"enabled","type":"bool"}],"name":"changeWhitelistingSettings","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"donationWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"lcId","type":"uint8"}],"name":"getListContract","outputs":[{"components":[{"internalType":"bool","name":"erc1155","type":"bool"},{"internalType":"uint8","name":"id","type":"uint8"},{"internalType":"uint8","name":"percRoyal","type":"uint8"},{"internalType":"uint16","name":"maxSupply","type":"uint16"},{"internalType":"uint16","name":"minBalance","type":"uint16"},{"internalType":"uint16","name":"tracker","type":"uint16"},{"internalType":"uint128","name":"balance","type":"uint128"},{"internalType":"uint256","name":"erc1155Id","type":"uint256"},{"internalType":"address","name":"cc","type":"address"},{"internalType":"address","name":"wallet","type":"address"}],"internalType":"struct CryptoCocksWhitelistingLib.ListContract","name":"lc","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initMint","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":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"listIndex","type":"uint8"},{"internalType":"address","name":"addressToQuery","type":"address"}],"name":"queryBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint8","name":"lcId","type":"uint8"}],"name":"removeWhitelisting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"set","outputs":[{"internalType":"bool","name":"publicSaleStatus","type":"bool"},{"internalType":"bool","name":"freeMinting","type":"bool"},{"internalType":"bool","name":"initMint","type":"bool"},{"internalType":"bool","name":"isWhitelistingEnabled","type":"bool"},{"internalType":"uint8","name":"percFee","type":"uint8"},{"internalType":"uint128","name":"minFee","type":"uint128"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"teamWallet","outputs":[{"internalType":"address payable","name":"","type":"address"}],"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":"transferRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b506040518060400160405280600b81526020017f43727970746f436f636b730000000000000000000000000000000000000000008152506040518060400160405280600281526020017f434300000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200009692919062000449565b508060019080519060200190620000af92919062000449565b505050620000d2620000c66200037b60201b60201c565b6200038360201b60201c565b6040518060c00160405280600015158152602001600115158152602001600115158152602001600115158152602001606460ff16815260200166470de4df8200006fffffffffffffffffffffffffffffffff16815250600f60008201518160000160006101000a81548160ff02191690831515021790555060208201518160000160016101000a81548160ff02191690831515021790555060408201518160000160026101000a81548160ff02191690831515021790555060608201518160000160036101000a81548160ff02191690831515021790555060808201518160000160046101000a81548160ff021916908360ff16021790555060a08201518160000160056101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550905050604051806040016040528060006fffffffffffffffffffffffffffffffff16815260200160006fffffffffffffffffffffffffffffffff16815250601060008201518160000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555060208201518160000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550905050735b1f57449dd479e787fdf201a59d06d3cb84f5dc601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073b1019eb5e90ad29c2fce82aab712325a1a3d5924601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506200055e565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200045790620004f9565b90600052602060002090601f0160209004810192826200047b5760008555620004c7565b82601f106200049657805160ff1916838001178555620004c7565b82800160010185558215620004c7579182015b82811115620004c6578251825591602001919060010190620004a9565b5b509050620004d69190620004da565b5090565b5b80821115620004f5576000816000905550600101620004db565b5090565b600060028204905060018216806200051257607f821691505b602082108114156200052957620005286200052f565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6157f8806200056e6000396000f3fe6080604052600436106101d85760003560e01c8063715018a611610102578063b8e010de11610095578063e0737f7a11610064578063e0737f7a1461068d578063e7b94df4146106a4578063e985e9c5146106cf578063f2fde38b1461070c576101d8565b8063b8e010de146105ce578063bc813356146105fe578063c5836f1d14610627578063c87b56dd14610650576101d8565b80639fc18902116100d15780639fc189021461052a578063a22cb46514610553578063a81cfad91461057c578063b88d4fde146105a5576101d8565b8063715018a6146104a657806381f2fbb6146104bd5780638da5cb5b146104d457806395d89b41146104ff576101d8565b806323b872dd1161017a578063599270441161014957806359927044146103c457806361ffe80c146103ef5780636352211e1461042c57806370a0823114610469576101d8565b806323b872dd1461031d5780633d79d1c81461034657806342842e0e14610372578063586892191461039b576101d8565b8063095ea7b3116101b6578063095ea7b3146102825780630bbc2840146102ab5780631249c58b146102e857806318160ddd146102f2576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff91906139c3565b610735565b6040516102119190614436565b60405180910390f35b34801561022657600080fd5b5061022f610817565b60405161023c91906144b2565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190613ac0565b6108a9565b60405161027991906143b4565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a491906138c3565b61092e565b005b3480156102b757600080fd5b506102d260048036038101906102cd9190613b1a565b610a46565b6040516102df9190614854565b60405180910390f35b6102f0610ca2565b005b3480156102fe57600080fd5b506103076113f5565b6040516103149190614a2a565b60405180910390f35b34801561032957600080fd5b50610344600480360381019061033f91906137ad565b611439565b005b34801561035257600080fd5b5061035b611499565b6040516103699291906149e6565b60405180910390f35b34801561037e57600080fd5b50610399600480360381019061039491906137ad565b6114e3565b005b3480156103a757600080fd5b506103c260048036038101906103bd9190613903565b611503565b005b3480156103d057600080fd5b506103d961159f565b6040516103e691906143cf565b60405180910390f35b3480156103fb57600080fd5b5061041660048036038101906104119190613b74565b6115c5565b6040516104239190614a2a565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e9190613ac0565b61165d565b60405161046091906143b4565b60405180910390f35b34801561047557600080fd5b50610490600480360381019061048b9190613740565b61170f565b60405161049d9190614a2a565b60405180910390f35b3480156104b257600080fd5b506104bb6117c7565b005b3480156104c957600080fd5b506104d261184f565b005b3480156104e057600080fd5b506104e96118f8565b6040516104f691906143b4565b60405180910390f35b34801561050b57600080fd5b50610514611922565b60405161052191906144b2565b60405180910390f35b34801561053657600080fd5b50610551600480360381019061054c9190613b1a565b6119b4565b005b34801561055f57600080fd5b5061057a60048036038101906105759190613883565b611a9f565b005b34801561058857600080fd5b506105a3600480360381019061059e9190613903565b611ab5565b005b3480156105b157600080fd5b506105cc60048036038101906105c79190613800565b611b51565b005b3480156105da57600080fd5b506105e3611bb3565b6040516105f596959493929190614451565b60405180910390f35b34801561060a57600080fd5b5061062560048036038101906106209190613970565b611c3a565b005b34801561063357600080fd5b5061064e60048036038101906106499190613bb4565b611d80565b005b34801561065c57600080fd5b5061067760048036038101906106729190613ac0565b611e80565b60405161068491906144b2565b60405180910390f35b34801561069957600080fd5b506106a2611f3e565b005b3480156106b057600080fd5b506106b96120b2565b6040516106c691906143cf565b60405180910390f35b3480156106db57600080fd5b506106f660048036038101906106f1919061376d565b6120d8565b6040516107039190614436565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e9190613740565b61216c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610810575061080f82612264565b5b9050919050565b60606000805461082690614d7e565b80601f016020809104026020016040519081016040528092919081815260200182805461085290614d7e565b801561089f5780601f106108745761010080835404028352916020019161089f565b820191906000526020600020905b81548152906001019060200180831161088257829003601f168201915b5050505050905090565b60006108b4826122ce565b6108f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ea90614734565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109398261165d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a1906147b4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109c961233a565b73ffffffffffffffffffffffffffffffffffffffff1614806109f857506109f7816109f261233a565b6120d8565b5b610a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2e90614674565b60405180910390fd5b610a418383612342565b505050565b610a4e6133f2565b600c7300bb7246cd1dc5282d960efb37ac685ee0d42309633c1c98729091846040518363ffffffff1660e01b8152600401610a8a9291906148f9565b60206040518083038186803b158015610aa257600080fd5b505af4158015610ab6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ada9190613a66565b604051806101400160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900461ffff1661ffff1661ffff1681526020016000820160059054906101000a900461ffff1661ffff1661ffff1681526020016000820160079054906101000a900461ffff1661ffff1661ffff1681526020016000820160099054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000601f610cb060086123fb565b610cba9190614b60565b90506000349050600080600f60000160039054906101000a900460ff16610ce357600080610d6f565b600c7300bb7246cd1dc5282d960efb37ac685ee0d423096305a3d4949091336040518363ffffffff1660e01b8152600401610d1f9291906148a7565b604080518083038186803b158015610d3657600080fd5b505af4158015610d4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6e9190613930565b5b91509150600f60000160009054906101000a900460ff1680610d8e5750815b610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc490614834565b60405180910390fd5b61271061ffff168461ffff161115610e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1190614594565b60405180910390fd5b6000610e253361170f565b14610e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5c90614814565b60405180910390fd5b6000833373ffffffffffffffffffffffffffffffffffffffff1631610e8a9190614b60565b9050600f60000160019054906101000a900460ff16610fbe57600f60000160059054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16600f60000160049054906101000a900460ff1660ff1682610ef89190614bb6565b10610f2357600f60000160049054906101000a900460ff1660ff1681610f1e9190614bb6565b610f58565b600f60000160059054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff165b841015610f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9190614554565b60405180910390fd5b600f60000160049054906101000a900460ff1660ff1684610fbb9190614be7565b90505b610fcc338661ffff16612409565b611063856009730a78bb5c3f3bf99f78c2d440f2c10712ce41310963704b15ab909189866040518463ffffffff1660e01b815260040161100e93929190614870565b60206040518083038186803b15801561102657600080fd5b505af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e9190613b47565b612427565b61106d60086124b3565b8461ffff167f670db5e74f1a636e188c98b7ee19f17b34343eac15b638250cca686522505967826040516110a19190614a2a565b60405180910390a26110be6002856110b99190614bb6565b6124c9565b601060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166110ed9190614b1a565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506111446064601e866111359190614be7565b61113f9190614bb6565b6124c9565b601060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff166111739190614b1a565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550600c7300bb7246cd1dc5282d960efb37ac685ee0d4230963e617c65690916111d0876124c9565b6040518363ffffffff1660e01b81526004016111ed9291906148d0565b60006040518083038186803b15801561120557600080fd5b505af4158015611219573d6000803e3d6000fd5b50505050821561129057600c7300bb7246cd1dc5282d960efb37ac685ee0d42309633c9c1f7c9091846040518363ffffffff1660e01b815260040161125f9291906148f9565b60006040518083038186803b15801561127757600080fd5b505af415801561128b573d6000803e3d6000fd5b505050505b600060328661129f9190614e2a565b61ffff1614156113ee576000601060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000601060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000601060000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506000601060000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506113bf601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612528565b6113eb601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612528565b50505b5050505050565b6000600f60000160029054906101000a900460ff1661142957601e61141a60086123fb565b6114249190614b60565b611434565b61143360086123fb565b5b905090565b61144a61144461233a565b8261261c565b611489576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611480906147f4565b60405180910390fd5b6114948383836126fa565b505050565b60108060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a90046fffffffffffffffffffffffffffffffff16905082565b6114fe83838360405180602001604052806000815250611b51565b505050565b61150b61233a565b73ffffffffffffffffffffffffffffffffffffffff166115296118f8565b73ffffffffffffffffffffffffffffffffffffffff161461157f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157690614754565b60405180910390fd5b80600f60000160006101000a81548160ff02191690831515021790555050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600c7300bb7246cd1dc5282d960efb37ac685ee0d423096313bcb361909185856040518463ffffffff1660e01b815260040161160593929190614922565b60206040518083038186803b15801561161d57600080fd5b505af4158015611631573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116559190613aed565b905092915050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fd906146b4565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790614694565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117cf61233a565b73ffffffffffffffffffffffffffffffffffffffff166117ed6118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183a90614754565b60405180910390fd5b61184d6000612956565b565b6118f633600c7300bb7246cd1dc5282d960efb37ac685ee0d4230963efacd9b29091336040518363ffffffff1660e01b815260040161188f9291906148a7565b60206040518083038186803b1580156118a757600080fd5b505af41580156118bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118df9190613a93565b6fffffffffffffffffffffffffffffffff16612528565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461193190614d7e565b80601f016020809104026020016040519081016040528092919081815260200182805461195d90614d7e565b80156119aa5780601f1061197f576101008083540402835291602001916119aa565b820191906000526020600020905b81548152906001019060200180831161198d57829003601f168201915b5050505050905090565b6119bc61233a565b73ffffffffffffffffffffffffffffffffffffffff166119da6118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2790614754565b60405180910390fd5b600c7300bb7246cd1dc5282d960efb37ac685ee0d42309635827350a9091836040518363ffffffff1660e01b8152600401611a6c9291906148f9565b60006040518083038186803b158015611a8457600080fd5b505af4158015611a98573d6000803e3d6000fd5b5050505050565b611ab1611aaa61233a565b8383612a1c565b5050565b611abd61233a565b73ffffffffffffffffffffffffffffffffffffffff16611adb6118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2890614754565b60405180910390fd5b80600f60000160036101000a81548160ff02191690831515021790555050565b611b62611b5c61233a565b8361261c565b611ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b98906147f4565b60405180910390fd5b611bad84848484612b89565b50505050565b600f8060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900460ff16908060000160039054906101000a900460ff16908060000160049054906101000a900460ff16908060000160059054906101000a90046fffffffffffffffffffffffffffffffff16905086565b611c4261233a565b73ffffffffffffffffffffffffffffffffffffffff16611c606118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cad90614754565b60405180910390fd5b8280611cc5575060008260ff16115b611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb906147d4565b60405180910390fd5b82600f60000160016101000a81548160ff02191690831515021790555081600f60000160046101000a81548160ff021916908360ff16021790555080600f60000160056101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550505050565b611d8861233a565b73ffffffffffffffffffffffffffffffffffffffff16611da66118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df390614754565b60405180910390fd5b600c7300bb7246cd1dc5282d960efb37ac685ee0d4230963dc76102190918a8a8a8a8a8a8a8a6040518a63ffffffff1660e01b8152600401611e4699989796959493929190614959565b60006040518083038186803b158015611e5e57600080fd5b505af4158015611e72573d6000803e3d6000fd5b505050505050505050505050565b606073f31e24aed8eb6dd2218683b0bce29ed3387b16b9633beaa6ab836040518263ffffffff1660e01b8152600401611eb99190614a0f565b60006040518083038186803b158015611ed157600080fd5b505af4158015611ee5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611f0e9190613a1d565b611f1783612be5565b604051602001611f28929190614341565b6040516020818303038152906040529050919050565b611f4661233a565b73ffffffffffffffffffffffffffffffffffffffff16611f646118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb190614754565b60405180910390fd5b600f60000160029054906101000a900460ff1661200c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612003906144d4565b60405180910390fd5b60005b601e8110156120af57612032336001836120299190614b60565b61ffff16612409565b60006120656009831161204657600b612060565b6001600a846120559190614e5b565b61205f9190614b60565b5b612d37565b905061207d6001836120779190614b60565b82612427565b6000600f60000160026101000a81548160ff0219169083151502179055505080806120a790614de1565b91505061200f565b50565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61217461233a565b73ffffffffffffffffffffffffffffffffffffffff166121926118f8565b73ffffffffffffffffffffffffffffffffffffffff16146121e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121df90614754565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224f90614514565b60405180910390fd5b61226181612956565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123b58361165d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b612423828260405180602001604052806000815250612d87565b5050565b60006124358260ff16612de2565b6124428461ffff16612de2565b604051602001612453929190614365565b60405160208183030381529060405290506124728361ffff1682612f43565b8261ffff167fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207826040516124a691906144b2565b60405180910390a2505050565b6001816000016000828254019250508190555050565b60006fffffffffffffffffffffffffffffffff8016821115612520576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612517906145f4565b60405180910390fd5b819050919050565b8047101561256b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256290614634565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516125919061439f565b60006040518083038185875af1925050503d80600081146125ce576040519150601f19603f3d011682016040523d82523d6000602084013e6125d3565b606091505b5050905080612617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260e90614614565b60405180910390fd5b505050565b6000612627826122ce565b612666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265d90614654565b60405180910390fd5b60006126718361165d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806126e057508373ffffffffffffffffffffffffffffffffffffffff166126c8846108a9565b73ffffffffffffffffffffffffffffffffffffffff16145b806126f157506126f081856120d8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661271a8261165d565b73ffffffffffffffffffffffffffffffffffffffff1614612770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276790614774565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d7906145b4565b60405180910390fd5b6127eb838383612fb7565b6127f6600082612342565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128469190614c41565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461289d9190614b60565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a82906145d4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b7c9190614436565b60405180910390a3505050565b612b948484846126fa565b612ba084848484612fbc565b612bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd6906144f4565b60405180910390fd5b50505050565b6060612bf0826122ce565b612c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2690614714565b60405180910390fd5b6000600660008481526020019081526020016000208054612c4f90614d7e565b80601f0160208091040260200160405190810160405280929190818152602001828054612c7b90614d7e565b8015612cc85780601f10612c9d57610100808354040283529160200191612cc8565b820191906000526020600020905b815481529060010190602001808311612cab57829003601f168201915b505050505090506000612cd9613153565b9050600081511415612cef578192505050612d32565b600082511115612d24578082604051602001612d0c929190614341565b60405160208183030381529060405292505050612d32565b612d2d8461316a565b925050505b919050565b600060ff8016821115612d7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7690614534565b60405180910390fd5b819050919050565b612d918383613211565b612d9e6000848484612fbc565b612ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd4906144f4565b60405180910390fd5b505050565b60606000821415612e2a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f3e565b600082905060005b60008214612e5c578080612e4590614de1565b915050600a82612e559190614bb6565b9150612e32565b60008167ffffffffffffffff811115612e7857612e77614f48565b5b6040519080825280601f01601f191660200182016040528015612eaa5781602001600182028036833780820191505090505b5090505b60008514612f3757600182612ec39190614c41565b9150600a85612ed29190614e5b565b6030612ede9190614b60565b60f81b818381518110612ef457612ef3614f19565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f309190614bb6565b9450612eae565b8093505050505b919050565b612f4c826122ce565b612f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f82906146d4565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190612fb2929190613497565b505050565b505050565b6000612fdd8473ffffffffffffffffffffffffffffffffffffffff166133df565b15613146578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261300661233a565b8786866040518563ffffffff1660e01b815260040161302894939291906143ea565b602060405180830381600087803b15801561304257600080fd5b505af192505050801561307357506040513d601f19601f8201168201806040525081019061307091906139f0565b60015b6130f6573d80600081146130a3576040519150601f19603f3d011682016040523d82523d6000602084013e6130a8565b606091505b506000815114156130ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e5906144f4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061314b565b600190505b949350505050565b606060405180602001604052806000815250905090565b6060613175826122ce565b6131b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ab90614794565b60405180910390fd5b60006131be613153565b905060008151116131de5760405180602001604052806000815250613209565b806131e884612de2565b6040516020016131f9929190614341565b6040516020818303038152906040525b915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613281576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613278906146f4565b60405180910390fd5b61328a816122ce565b156132ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c190614574565b60405180910390fd5b6132d660008383612fb7565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133269190614b60565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b604051806101400160405280600015158152602001600060ff168152602001600060ff168152602001600061ffff168152602001600061ffff168152602001600061ffff16815260200160006fffffffffffffffffffffffffffffffff16815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b8280546134a390614d7e565b90600052602060002090601f0160209004810192826134c5576000855561350c565b82601f106134de57805160ff191683800117855561350c565b8280016001018555821561350c579182015b8281111561350b5782518255916020019190600101906134f0565b5b509050613519919061351d565b5090565b5b8082111561353657600081600090555060010161351e565b5090565b600061354d61354884614a6a565b614a45565b90508281526020810184848401111561356957613568614f7c565b5b613574848285614d3c565b509392505050565b600061358f61358a84614a9b565b614a45565b9050828152602081018484840111156135ab576135aa614f7c565b5b6135b6848285614d4b565b509392505050565b6000813590506135cd816156f3565b92915050565b6000813590506135e28161570a565b92915050565b6000813590506135f781615721565b92915050565b60008151905061360c81615721565b92915050565b60008135905061362181615738565b92915050565b60008151905061363681615738565b92915050565b600082601f83011261365157613650614f77565b5b813561366184826020860161353a565b91505092915050565b600082601f83011261367f5761367e614f77565b5b815161368f84826020860161357c565b91505092915050565b6000815190506136a78161574f565b92915050565b6000813590506136bc81615766565b92915050565b6000815190506136d181615766565b92915050565b6000813590506136e68161577d565b92915050565b6000813590506136fb81615794565b92915050565b60008151905061371081615794565b92915050565b600081359050613725816157ab565b92915050565b60008151905061373a816157ab565b92915050565b60006020828403121561375657613755614f86565b5b6000613764848285016135be565b91505092915050565b6000806040838503121561378457613783614f86565b5b6000613792858286016135be565b92505060206137a3858286016135be565b9150509250929050565b6000806000606084860312156137c6576137c5614f86565b5b60006137d4868287016135be565b93505060206137e5868287016135be565b92505060406137f6868287016136ec565b9150509250925092565b6000806000806080858703121561381a57613819614f86565b5b6000613828878288016135be565b9450506020613839878288016135be565b935050604061384a878288016136ec565b925050606085013567ffffffffffffffff81111561386b5761386a614f81565b5b6138778782880161363c565b91505092959194509250565b6000806040838503121561389a57613899614f86565b5b60006138a8858286016135be565b92505060206138b9858286016135e8565b9150509250929050565b600080604083850312156138da576138d9614f86565b5b60006138e8858286016135be565b92505060206138f9858286016136ec565b9150509250929050565b60006020828403121561391957613918614f86565b5b6000613927848285016135e8565b91505092915050565b6000806040838503121561394757613946614f86565b5b6000613955858286016135fd565b92505060206139668582860161372b565b9150509250929050565b60008060006060848603121561398957613988614f86565b5b6000613997868287016135e8565b93505060206139a886828701613716565b92505060406139b9868287016136ad565b9150509250925092565b6000602082840312156139d9576139d8614f86565b5b60006139e784828501613612565b91505092915050565b600060208284031215613a0657613a05614f86565b5b6000613a1484828501613627565b91505092915050565b600060208284031215613a3357613a32614f86565b5b600082015167ffffffffffffffff811115613a5157613a50614f81565b5b613a5d8482850161366a565b91505092915050565b600060208284031215613a7c57613a7b614f86565b5b6000613a8a84828501613698565b91505092915050565b600060208284031215613aa957613aa8614f86565b5b6000613ab7848285016136c2565b91505092915050565b600060208284031215613ad657613ad5614f86565b5b6000613ae4848285016136ec565b91505092915050565b600060208284031215613b0357613b02614f86565b5b6000613b1184828501613701565b91505092915050565b600060208284031215613b3057613b2f614f86565b5b6000613b3e84828501613716565b91505092915050565b600060208284031215613b5d57613b5c614f86565b5b6000613b6b8482850161372b565b91505092915050565b60008060408385031215613b8b57613b8a614f86565b5b6000613b9985828601613716565b9250506020613baa858286016135be565b9150509250929050565b600080600080600080600080610100898b031215613bd557613bd4614f86565b5b6000613be38b828c01613716565b9850506020613bf48b828c016135e8565b9750506040613c058b828c016135be565b9650506060613c168b828c016135d3565b9550506080613c278b828c016136d7565b94505060a0613c388b828c016136d7565b93505060c0613c498b828c01613716565b92505060e0613c5a8b828c016136ec565b9150509295985092959890939650565b613c7381614c87565b82525050565b613c8281614c87565b82525050565b613c9181614c75565b82525050565b613ca081614c75565b82525050565b613caf81614c75565b82525050565b613cbe81614c99565b82525050565b613ccd81614c99565b82525050565b613cdc81614c99565b82525050565b6000613ced82614acc565b613cf78185614ae2565b9350613d07818560208601614d4b565b613d1081614f8b565b840191505092915050565b6000613d2682614ad7565b613d308185614afe565b9350613d40818560208601614d4b565b613d4981614f8b565b840191505092915050565b6000613d5f82614ad7565b613d698185614b0f565b9350613d79818560208601614d4b565b80840191505092915050565b6000613d92600983614afe565b9150613d9d82614f9c565b602082019050919050565b6000613db5603283614afe565b9150613dc082614fc5565b604082019050919050565b6000613dd8602683614afe565b9150613de382615014565b604082019050919050565b6000613dfb602583614afe565b9150613e0682615063565b604082019050919050565b6000613e1e601283614afe565b9150613e29826150b2565b602082019050919050565b6000613e41601c83614afe565b9150613e4c826150db565b602082019050919050565b6000613e64601483614afe565b9150613e6f82615104565b602082019050919050565b6000613e87602483614afe565b9150613e928261512d565b604082019050919050565b6000613eaa601983614afe565b9150613eb58261517c565b602082019050919050565b6000613ecd602783614afe565b9150613ed8826151a5565b604082019050919050565b6000613ef0603a83614afe565b9150613efb826151f4565b604082019050919050565b6000613f13601d83614afe565b9150613f1e82615243565b602082019050919050565b6000613f36602c83614afe565b9150613f418261526c565b604082019050919050565b6000613f59603883614afe565b9150613f64826152bb565b604082019050919050565b6000613f7c602a83614afe565b9150613f878261530a565b604082019050919050565b6000613f9f602983614afe565b9150613faa82615359565b604082019050919050565b6000613fc2602e83614afe565b9150613fcd826153a8565b604082019050919050565b6000613fe5602083614afe565b9150613ff0826153f7565b602082019050919050565b6000614008603183614afe565b915061401382615420565b604082019050919050565b600061402b602c83614afe565b91506140368261546f565b604082019050919050565b600061404e600583614b0f565b9150614059826154be565b600582019050919050565b6000614071602083614afe565b915061407c826154e7565b602082019050919050565b6000614094602983614afe565b915061409f82615510565b604082019050919050565b60006140b7602f83614afe565b91506140c28261555f565b604082019050919050565b60006140da602183614afe565b91506140e5826155ae565b604082019050919050565b60006140fd600e83614afe565b9150614108826155fd565b602082019050919050565b6000614120600083614af3565b915061412b82615626565b600082019050919050565b6000614143603183614afe565b915061414e82615629565b604082019050919050565b6000614166600183614b0f565b915061417182615678565b600182019050919050565b6000614189600c83614afe565b9150614194826156a1565b602082019050919050565b60006141ac600483614afe565b91506141b7826156ca565b602082019050919050565b610140820160008201516141d96000850182613cb5565b5060208201516141ec6020850182614314565b5060408201516141ff6040850182614314565b50606082015161421260608501826142c9565b50608082015161422560808501826142c9565b5060a082015161423860a08501826142c9565b5060c082015161424b60c085018261429c565b5060e082015161425e60e08501826142e7565b50610100820151614273610100850182613c88565b50610120820151614288610120850182613c88565b50505050565b8082525050565b8082525050565b6142a581614cdb565b82525050565b6142b481614cdb565b82525050565b6142c381614cdb565b82525050565b6142d281614cf7565b82525050565b6142e181614cf7565b82525050565b6142f081614d25565b82525050565b6142ff81614d25565b82525050565b61430e81614d25565b82525050565b61431d81614d2f565b82525050565b61432c81614d2f565b82525050565b61433b81614d2f565b82525050565b600061434d8285613d54565b91506143598284613d54565b91508190509392505050565b60006143718285613d54565b915061437c82614159565b91506143888284613d54565b915061439382614041565b91508190509392505050565b60006143aa82614113565b9150819050919050565b60006020820190506143c96000830184613c97565b92915050565b60006020820190506143e46000830184613c6a565b92915050565b60006080820190506143ff6000830187613c97565b61440c6020830186613c97565b61441960408301856142f6565b818103606083015261442b8184613ce2565b905095945050505050565b600060208201905061444b6000830184613cc4565b92915050565b600060c0820190506144666000830189613cc4565b6144736020830188613cc4565b6144806040830187613cc4565b61448d6060830186613cc4565b61449a6080830185614323565b6144a760a08301846142ab565b979650505050505050565b600060208201905081810360008301526144cc8184613d1b565b905092915050565b600060208201905081810360008301526144ed81613d85565b9050919050565b6000602082019050818103600083015261450d81613da8565b9050919050565b6000602082019050818103600083015261452d81613dcb565b9050919050565b6000602082019050818103600083015261454d81613dee565b9050919050565b6000602082019050818103600083015261456d81613e11565b9050919050565b6000602082019050818103600083015261458d81613e34565b9050919050565b600060208201905081810360008301526145ad81613e57565b9050919050565b600060208201905081810360008301526145cd81613e7a565b9050919050565b600060208201905081810360008301526145ed81613e9d565b9050919050565b6000602082019050818103600083015261460d81613ec0565b9050919050565b6000602082019050818103600083015261462d81613ee3565b9050919050565b6000602082019050818103600083015261464d81613f06565b9050919050565b6000602082019050818103600083015261466d81613f29565b9050919050565b6000602082019050818103600083015261468d81613f4c565b9050919050565b600060208201905081810360008301526146ad81613f6f565b9050919050565b600060208201905081810360008301526146cd81613f92565b9050919050565b600060208201905081810360008301526146ed81613fb5565b9050919050565b6000602082019050818103600083015261470d81613fd8565b9050919050565b6000602082019050818103600083015261472d81613ffb565b9050919050565b6000602082019050818103600083015261474d8161401e565b9050919050565b6000602082019050818103600083015261476d81614064565b9050919050565b6000602082019050818103600083015261478d81614087565b9050919050565b600060208201905081810360008301526147ad816140aa565b9050919050565b600060208201905081810360008301526147cd816140cd565b9050919050565b600060208201905081810360008301526147ed816140f0565b9050919050565b6000602082019050818103600083015261480d81614136565b9050919050565b6000602082019050818103600083015261482d8161417c565b9050919050565b6000602082019050818103600083015261484d8161419f565b9050919050565b60006101408201905061486a60008301846141c2565b92915050565b6000606082019050614885600083018661428e565b61489260208301856142d8565b61489f6040830184614305565b949350505050565b60006040820190506148bc6000830185614295565b6148c96020830184613ca6565b9392505050565b60006040820190506148e56000830185614295565b6148f260208301846142ba565b9392505050565b600060408201905061490e6000830185614295565b61491b6020830184614332565b9392505050565b60006060820190506149376000830186614295565b6149446020830185614332565b6149516040830184613ca6565b949350505050565b60006101208201905061496f600083018c614295565b61497c602083018b614332565b614989604083018a613cd3565b6149966060830189613ca6565b6149a36080830188613c79565b6149b060a08301876142d8565b6149bd60c08301866142d8565b6149ca60e0830185614332565b6149d8610100830184614305565b9a9950505050505050505050565b60006040820190506149fb60008301856142ab565b614a0860208301846142ab565b9392505050565b6000602082019050614a246000830184614305565b92915050565b6000602082019050614a3f60008301846142f6565b92915050565b6000614a4f614a60565b9050614a5b8282614db0565b919050565b6000604051905090565b600067ffffffffffffffff821115614a8557614a84614f48565b5b614a8e82614f8b565b9050602081019050919050565b600067ffffffffffffffff821115614ab657614ab5614f48565b5b614abf82614f8b565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b2582614cdb565b9150614b3083614cdb565b9250826fffffffffffffffffffffffffffffffff03821115614b5557614b54614e8c565b5b828201905092915050565b6000614b6b82614d25565b9150614b7683614d25565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bab57614baa614e8c565b5b828201905092915050565b6000614bc182614d25565b9150614bcc83614d25565b925082614bdc57614bdb614ebb565b5b828204905092915050565b6000614bf282614d25565b9150614bfd83614d25565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c3657614c35614e8c565b5b828202905092915050565b6000614c4c82614d25565b9150614c5783614d25565b925082821015614c6a57614c69614e8c565b5b828203905092915050565b6000614c8082614d05565b9050919050565b6000614c9282614d05565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614d69578082015181840152602081019050614d4e565b83811115614d78576000848401525b50505050565b60006002820490506001821680614d9657607f821691505b60208210811415614daa57614da9614eea565b5b50919050565b614db982614f8b565b810181811067ffffffffffffffff82111715614dd857614dd7614f48565b5b80604052505050565b6000614dec82614d25565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e1f57614e1e614e8c565b5b600182019050919050565b6000614e3582614cf7565b9150614e4083614cf7565b925082614e5057614e4f614ebb565b5b828206905092915050565b6000614e6682614d25565b9150614e7183614d25565b925082614e8157614e80614ebb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f4e4c595f4f4e43450000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203860008201527f2062697473000000000000000000000000000000000000000000000000000000602082015250565b7f494e53554646494349454e545f46554e44530000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f544f54414c5f535550504c595f52454143484544000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203160008201527f3238206269747300000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4449564944455f42595f5a45524f000000000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5f00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4f4e4c595f4f4e455f4e46540000000000000000000000000000000000000000600082015250565b7f4c4f434b00000000000000000000000000000000000000000000000000000000600082015250565b6156fc81614c75565b811461570757600080fd5b50565b61571381614c87565b811461571e57600080fd5b50565b61572a81614c99565b811461573557600080fd5b50565b61574181614ca5565b811461574c57600080fd5b50565b61575881614cd1565b811461576357600080fd5b50565b61576f81614cdb565b811461577a57600080fd5b50565b61578681614cf7565b811461579157600080fd5b50565b61579d81614d25565b81146157a857600080fd5b50565b6157b481614d2f565b81146157bf57600080fd5b5056fea2646970667358221220d97169e25afc56d9f252dc490a14735203a4c43917f7c74e71b59eab97ed903e64736f6c63430008070033
Deployed Bytecode
0x6080604052600436106101d85760003560e01c8063715018a611610102578063b8e010de11610095578063e0737f7a11610064578063e0737f7a1461068d578063e7b94df4146106a4578063e985e9c5146106cf578063f2fde38b1461070c576101d8565b8063b8e010de146105ce578063bc813356146105fe578063c5836f1d14610627578063c87b56dd14610650576101d8565b80639fc18902116100d15780639fc189021461052a578063a22cb46514610553578063a81cfad91461057c578063b88d4fde146105a5576101d8565b8063715018a6146104a657806381f2fbb6146104bd5780638da5cb5b146104d457806395d89b41146104ff576101d8565b806323b872dd1161017a578063599270441161014957806359927044146103c457806361ffe80c146103ef5780636352211e1461042c57806370a0823114610469576101d8565b806323b872dd1461031d5780633d79d1c81461034657806342842e0e14610372578063586892191461039b576101d8565b8063095ea7b3116101b6578063095ea7b3146102825780630bbc2840146102ab5780631249c58b146102e857806318160ddd146102f2576101d8565b806301ffc9a7146101dd57806306fdde031461021a578063081812fc14610245575b600080fd5b3480156101e957600080fd5b5061020460048036038101906101ff91906139c3565b610735565b6040516102119190614436565b60405180910390f35b34801561022657600080fd5b5061022f610817565b60405161023c91906144b2565b60405180910390f35b34801561025157600080fd5b5061026c60048036038101906102679190613ac0565b6108a9565b60405161027991906143b4565b60405180910390f35b34801561028e57600080fd5b506102a960048036038101906102a491906138c3565b61092e565b005b3480156102b757600080fd5b506102d260048036038101906102cd9190613b1a565b610a46565b6040516102df9190614854565b60405180910390f35b6102f0610ca2565b005b3480156102fe57600080fd5b506103076113f5565b6040516103149190614a2a565b60405180910390f35b34801561032957600080fd5b50610344600480360381019061033f91906137ad565b611439565b005b34801561035257600080fd5b5061035b611499565b6040516103699291906149e6565b60405180910390f35b34801561037e57600080fd5b50610399600480360381019061039491906137ad565b6114e3565b005b3480156103a757600080fd5b506103c260048036038101906103bd9190613903565b611503565b005b3480156103d057600080fd5b506103d961159f565b6040516103e691906143cf565b60405180910390f35b3480156103fb57600080fd5b5061041660048036038101906104119190613b74565b6115c5565b6040516104239190614a2a565b60405180910390f35b34801561043857600080fd5b50610453600480360381019061044e9190613ac0565b61165d565b60405161046091906143b4565b60405180910390f35b34801561047557600080fd5b50610490600480360381019061048b9190613740565b61170f565b60405161049d9190614a2a565b60405180910390f35b3480156104b257600080fd5b506104bb6117c7565b005b3480156104c957600080fd5b506104d261184f565b005b3480156104e057600080fd5b506104e96118f8565b6040516104f691906143b4565b60405180910390f35b34801561050b57600080fd5b50610514611922565b60405161052191906144b2565b60405180910390f35b34801561053657600080fd5b50610551600480360381019061054c9190613b1a565b6119b4565b005b34801561055f57600080fd5b5061057a60048036038101906105759190613883565b611a9f565b005b34801561058857600080fd5b506105a3600480360381019061059e9190613903565b611ab5565b005b3480156105b157600080fd5b506105cc60048036038101906105c79190613800565b611b51565b005b3480156105da57600080fd5b506105e3611bb3565b6040516105f596959493929190614451565b60405180910390f35b34801561060a57600080fd5b5061062560048036038101906106209190613970565b611c3a565b005b34801561063357600080fd5b5061064e60048036038101906106499190613bb4565b611d80565b005b34801561065c57600080fd5b5061067760048036038101906106729190613ac0565b611e80565b60405161068491906144b2565b60405180910390f35b34801561069957600080fd5b506106a2611f3e565b005b3480156106b057600080fd5b506106b96120b2565b6040516106c691906143cf565b60405180910390f35b3480156106db57600080fd5b506106f660048036038101906106f1919061376d565b6120d8565b6040516107039190614436565b60405180910390f35b34801561071857600080fd5b50610733600480360381019061072e9190613740565b61216c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061080057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80610810575061080f82612264565b5b9050919050565b60606000805461082690614d7e565b80601f016020809104026020016040519081016040528092919081815260200182805461085290614d7e565b801561089f5780601f106108745761010080835404028352916020019161089f565b820191906000526020600020905b81548152906001019060200180831161088257829003601f168201915b5050505050905090565b60006108b4826122ce565b6108f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ea90614734565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109398261165d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156109aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109a1906147b4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166109c961233a565b73ffffffffffffffffffffffffffffffffffffffff1614806109f857506109f7816109f261233a565b6120d8565b5b610a37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a2e90614674565b60405180910390fd5b610a418383612342565b505050565b610a4e6133f2565b600c7300bb7246cd1dc5282d960efb37ac685ee0d42309633c1c98729091846040518363ffffffff1660e01b8152600401610a8a9291906148f9565b60206040518083038186803b158015610aa257600080fd5b505af4158015610ab6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ada9190613a66565b604051806101400160405290816000820160009054906101000a900460ff161515151581526020016000820160019054906101000a900460ff1660ff1660ff1681526020016000820160029054906101000a900460ff1660ff1660ff1681526020016000820160039054906101000a900461ffff1661ffff1661ffff1681526020016000820160059054906101000a900461ffff1661ffff1661ffff1681526020016000820160079054906101000a900461ffff1661ffff1661ffff1681526020016000820160099054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff168152602001600182015481526020016002820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016003820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815250509050919050565b6000601f610cb060086123fb565b610cba9190614b60565b90506000349050600080600f60000160039054906101000a900460ff16610ce357600080610d6f565b600c7300bb7246cd1dc5282d960efb37ac685ee0d423096305a3d4949091336040518363ffffffff1660e01b8152600401610d1f9291906148a7565b604080518083038186803b158015610d3657600080fd5b505af4158015610d4a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d6e9190613930565b5b91509150600f60000160009054906101000a900460ff1680610d8e5750815b610dcd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dc490614834565b60405180910390fd5b61271061ffff168461ffff161115610e1a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e1190614594565b60405180910390fd5b6000610e253361170f565b14610e65576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e5c90614814565b60405180910390fd5b6000833373ffffffffffffffffffffffffffffffffffffffff1631610e8a9190614b60565b9050600f60000160019054906101000a900460ff16610fbe57600f60000160059054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16600f60000160049054906101000a900460ff1660ff1682610ef89190614bb6565b10610f2357600f60000160049054906101000a900460ff1660ff1681610f1e9190614bb6565b610f58565b600f60000160059054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff165b841015610f9a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9190614554565b60405180910390fd5b600f60000160049054906101000a900460ff1660ff1684610fbb9190614be7565b90505b610fcc338661ffff16612409565b611063856009730a78bb5c3f3bf99f78c2d440f2c10712ce41310963704b15ab909189866040518463ffffffff1660e01b815260040161100e93929190614870565b60206040518083038186803b15801561102657600080fd5b505af415801561103a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105e9190613b47565b612427565b61106d60086124b3565b8461ffff167f670db5e74f1a636e188c98b7ee19f17b34343eac15b638250cca686522505967826040516110a19190614a2a565b60405180910390a26110be6002856110b99190614bb6565b6124c9565b601060000160008282829054906101000a90046fffffffffffffffffffffffffffffffff166110ed9190614b1a565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506111446064601e866111359190614be7565b61113f9190614bb6565b6124c9565b601060000160108282829054906101000a90046fffffffffffffffffffffffffffffffff166111739190614b1a565b92506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550600c7300bb7246cd1dc5282d960efb37ac685ee0d4230963e617c65690916111d0876124c9565b6040518363ffffffff1660e01b81526004016111ed9291906148d0565b60006040518083038186803b15801561120557600080fd5b505af4158015611219573d6000803e3d6000fd5b50505050821561129057600c7300bb7246cd1dc5282d960efb37ac685ee0d42309633c9c1f7c9091846040518363ffffffff1660e01b815260040161125f9291906148f9565b60006040518083038186803b15801561127757600080fd5b505af415801561128b573d6000803e3d6000fd5b505050505b600060328661129f9190614e2a565b61ffff1614156113ee576000601060000160009054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000601060000160109054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1690506000601060000160006101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506000601060000160106101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff1602179055506113bf601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612528565b6113eb601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1682612528565b50505b5050505050565b6000600f60000160029054906101000a900460ff1661142957601e61141a60086123fb565b6114249190614b60565b611434565b61143360086123fb565b5b905090565b61144a61144461233a565b8261261c565b611489576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611480906147f4565b60405180910390fd5b6114948383836126fa565b505050565b60108060000160009054906101000a90046fffffffffffffffffffffffffffffffff16908060000160109054906101000a90046fffffffffffffffffffffffffffffffff16905082565b6114fe83838360405180602001604052806000815250611b51565b505050565b61150b61233a565b73ffffffffffffffffffffffffffffffffffffffff166115296118f8565b73ffffffffffffffffffffffffffffffffffffffff161461157f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161157690614754565b60405180910390fd5b80600f60000160006101000a81548160ff02191690831515021790555050565b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600c7300bb7246cd1dc5282d960efb37ac685ee0d423096313bcb361909185856040518463ffffffff1660e01b815260040161160593929190614922565b60206040518083038186803b15801561161d57600080fd5b505af4158015611631573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906116559190613aed565b905092915050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611706576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116fd906146b4565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611780576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177790614694565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6117cf61233a565b73ffffffffffffffffffffffffffffffffffffffff166117ed6118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611843576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161183a90614754565b60405180910390fd5b61184d6000612956565b565b6118f633600c7300bb7246cd1dc5282d960efb37ac685ee0d4230963efacd9b29091336040518363ffffffff1660e01b815260040161188f9291906148a7565b60206040518083038186803b1580156118a757600080fd5b505af41580156118bb573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906118df9190613a93565b6fffffffffffffffffffffffffffffffff16612528565b565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461193190614d7e565b80601f016020809104026020016040519081016040528092919081815260200182805461195d90614d7e565b80156119aa5780601f1061197f576101008083540402835291602001916119aa565b820191906000526020600020905b81548152906001019060200180831161198d57829003601f168201915b5050505050905090565b6119bc61233a565b73ffffffffffffffffffffffffffffffffffffffff166119da6118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611a30576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a2790614754565b60405180910390fd5b600c7300bb7246cd1dc5282d960efb37ac685ee0d42309635827350a9091836040518363ffffffff1660e01b8152600401611a6c9291906148f9565b60006040518083038186803b158015611a8457600080fd5b505af4158015611a98573d6000803e3d6000fd5b5050505050565b611ab1611aaa61233a565b8383612a1c565b5050565b611abd61233a565b73ffffffffffffffffffffffffffffffffffffffff16611adb6118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611b31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2890614754565b60405180910390fd5b80600f60000160036101000a81548160ff02191690831515021790555050565b611b62611b5c61233a565b8361261c565b611ba1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b98906147f4565b60405180910390fd5b611bad84848484612b89565b50505050565b600f8060000160009054906101000a900460ff16908060000160019054906101000a900460ff16908060000160029054906101000a900460ff16908060000160039054906101000a900460ff16908060000160049054906101000a900460ff16908060000160059054906101000a90046fffffffffffffffffffffffffffffffff16905086565b611c4261233a565b73ffffffffffffffffffffffffffffffffffffffff16611c606118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611cb6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cad90614754565b60405180910390fd5b8280611cc5575060008260ff16115b611d04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cfb906147d4565b60405180910390fd5b82600f60000160016101000a81548160ff02191690831515021790555081600f60000160046101000a81548160ff021916908360ff16021790555080600f60000160056101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550505050565b611d8861233a565b73ffffffffffffffffffffffffffffffffffffffff16611da66118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611dfc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611df390614754565b60405180910390fd5b600c7300bb7246cd1dc5282d960efb37ac685ee0d4230963dc76102190918a8a8a8a8a8a8a8a6040518a63ffffffff1660e01b8152600401611e4699989796959493929190614959565b60006040518083038186803b158015611e5e57600080fd5b505af4158015611e72573d6000803e3d6000fd5b505050505050505050505050565b606073f31e24aed8eb6dd2218683b0bce29ed3387b16b9633beaa6ab836040518263ffffffff1660e01b8152600401611eb99190614a0f565b60006040518083038186803b158015611ed157600080fd5b505af4158015611ee5573d6000803e3d6000fd5b505050506040513d6000823e3d601f19601f82011682018060405250810190611f0e9190613a1d565b611f1783612be5565b604051602001611f28929190614341565b6040516020818303038152906040529050919050565b611f4661233a565b73ffffffffffffffffffffffffffffffffffffffff16611f646118f8565b73ffffffffffffffffffffffffffffffffffffffff1614611fba576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb190614754565b60405180910390fd5b600f60000160029054906101000a900460ff1661200c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612003906144d4565b60405180910390fd5b60005b601e8110156120af57612032336001836120299190614b60565b61ffff16612409565b60006120656009831161204657600b612060565b6001600a846120559190614e5b565b61205f9190614b60565b5b612d37565b905061207d6001836120779190614b60565b82612427565b6000600f60000160026101000a81548160ff0219169083151502179055505080806120a790614de1565b91505061200f565b50565b601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61217461233a565b73ffffffffffffffffffffffffffffffffffffffff166121926118f8565b73ffffffffffffffffffffffffffffffffffffffff16146121e8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121df90614754565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161224f90614514565b60405180910390fd5b61226181612956565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123b58361165d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600001549050919050565b612423828260405180602001604052806000815250612d87565b5050565b60006124358260ff16612de2565b6124428461ffff16612de2565b604051602001612453929190614365565b60405160208183030381529060405290506124728361ffff1682612f43565b8261ffff167fa109ba539900bf1b633f956d63c96fc89b814c7287f7aa50a9216d0b55657207826040516124a691906144b2565b60405180910390a2505050565b6001816000016000828254019250508190555050565b60006fffffffffffffffffffffffffffffffff8016821115612520576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612517906145f4565b60405180910390fd5b819050919050565b8047101561256b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256290614634565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516125919061439f565b60006040518083038185875af1925050503d80600081146125ce576040519150601f19603f3d011682016040523d82523d6000602084013e6125d3565b606091505b5050905080612617576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161260e90614614565b60405180910390fd5b505050565b6000612627826122ce565b612666576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161265d90614654565b60405180910390fd5b60006126718361165d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806126e057508373ffffffffffffffffffffffffffffffffffffffff166126c8846108a9565b73ffffffffffffffffffffffffffffffffffffffff16145b806126f157506126f081856120d8565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661271a8261165d565b73ffffffffffffffffffffffffffffffffffffffff1614612770576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161276790614774565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156127e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d7906145b4565b60405180910390fd5b6127eb838383612fb7565b6127f6600082612342565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546128469190614c41565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461289d9190614b60565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612a8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a82906145d4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612b7c9190614436565b60405180910390a3505050565b612b948484846126fa565b612ba084848484612fbc565b612bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612bd6906144f4565b60405180910390fd5b50505050565b6060612bf0826122ce565b612c2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c2690614714565b60405180910390fd5b6000600660008481526020019081526020016000208054612c4f90614d7e565b80601f0160208091040260200160405190810160405280929190818152602001828054612c7b90614d7e565b8015612cc85780601f10612c9d57610100808354040283529160200191612cc8565b820191906000526020600020905b815481529060010190602001808311612cab57829003601f168201915b505050505090506000612cd9613153565b9050600081511415612cef578192505050612d32565b600082511115612d24578082604051602001612d0c929190614341565b60405160208183030381529060405292505050612d32565b612d2d8461316a565b925050505b919050565b600060ff8016821115612d7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d7690614534565b60405180910390fd5b819050919050565b612d918383613211565b612d9e6000848484612fbc565b612ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612dd4906144f4565b60405180910390fd5b505050565b60606000821415612e2a576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612f3e565b600082905060005b60008214612e5c578080612e4590614de1565b915050600a82612e559190614bb6565b9150612e32565b60008167ffffffffffffffff811115612e7857612e77614f48565b5b6040519080825280601f01601f191660200182016040528015612eaa5781602001600182028036833780820191505090505b5090505b60008514612f3757600182612ec39190614c41565b9150600a85612ed29190614e5b565b6030612ede9190614b60565b60f81b818381518110612ef457612ef3614f19565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612f309190614bb6565b9450612eae565b8093505050505b919050565b612f4c826122ce565b612f8b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f82906146d4565b60405180910390fd5b80600660008481526020019081526020016000209080519060200190612fb2929190613497565b505050565b505050565b6000612fdd8473ffffffffffffffffffffffffffffffffffffffff166133df565b15613146578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261300661233a565b8786866040518563ffffffff1660e01b815260040161302894939291906143ea565b602060405180830381600087803b15801561304257600080fd5b505af192505050801561307357506040513d601f19601f8201168201806040525081019061307091906139f0565b60015b6130f6573d80600081146130a3576040519150601f19603f3d011682016040523d82523d6000602084013e6130a8565b606091505b506000815114156130ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016130e5906144f4565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061314b565b600190505b949350505050565b606060405180602001604052806000815250905090565b6060613175826122ce565b6131b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016131ab90614794565b60405180910390fd5b60006131be613153565b905060008151116131de5760405180602001604052806000815250613209565b806131e884612de2565b6040516020016131f9929190614341565b6040516020818303038152906040525b915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613281576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613278906146f4565b60405180910390fd5b61328a816122ce565b156132ca576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132c190614574565b60405180910390fd5b6132d660008383612fb7565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546133269190614b60565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080823b905060008111915050919050565b604051806101400160405280600015158152602001600060ff168152602001600060ff168152602001600061ffff168152602001600061ffff168152602001600061ffff16815260200160006fffffffffffffffffffffffffffffffff16815260200160008152602001600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff1681525090565b8280546134a390614d7e565b90600052602060002090601f0160209004810192826134c5576000855561350c565b82601f106134de57805160ff191683800117855561350c565b8280016001018555821561350c579182015b8281111561350b5782518255916020019190600101906134f0565b5b509050613519919061351d565b5090565b5b8082111561353657600081600090555060010161351e565b5090565b600061354d61354884614a6a565b614a45565b90508281526020810184848401111561356957613568614f7c565b5b613574848285614d3c565b509392505050565b600061358f61358a84614a9b565b614a45565b9050828152602081018484840111156135ab576135aa614f7c565b5b6135b6848285614d4b565b509392505050565b6000813590506135cd816156f3565b92915050565b6000813590506135e28161570a565b92915050565b6000813590506135f781615721565b92915050565b60008151905061360c81615721565b92915050565b60008135905061362181615738565b92915050565b60008151905061363681615738565b92915050565b600082601f83011261365157613650614f77565b5b813561366184826020860161353a565b91505092915050565b600082601f83011261367f5761367e614f77565b5b815161368f84826020860161357c565b91505092915050565b6000815190506136a78161574f565b92915050565b6000813590506136bc81615766565b92915050565b6000815190506136d181615766565b92915050565b6000813590506136e68161577d565b92915050565b6000813590506136fb81615794565b92915050565b60008151905061371081615794565b92915050565b600081359050613725816157ab565b92915050565b60008151905061373a816157ab565b92915050565b60006020828403121561375657613755614f86565b5b6000613764848285016135be565b91505092915050565b6000806040838503121561378457613783614f86565b5b6000613792858286016135be565b92505060206137a3858286016135be565b9150509250929050565b6000806000606084860312156137c6576137c5614f86565b5b60006137d4868287016135be565b93505060206137e5868287016135be565b92505060406137f6868287016136ec565b9150509250925092565b6000806000806080858703121561381a57613819614f86565b5b6000613828878288016135be565b9450506020613839878288016135be565b935050604061384a878288016136ec565b925050606085013567ffffffffffffffff81111561386b5761386a614f81565b5b6138778782880161363c565b91505092959194509250565b6000806040838503121561389a57613899614f86565b5b60006138a8858286016135be565b92505060206138b9858286016135e8565b9150509250929050565b600080604083850312156138da576138d9614f86565b5b60006138e8858286016135be565b92505060206138f9858286016136ec565b9150509250929050565b60006020828403121561391957613918614f86565b5b6000613927848285016135e8565b91505092915050565b6000806040838503121561394757613946614f86565b5b6000613955858286016135fd565b92505060206139668582860161372b565b9150509250929050565b60008060006060848603121561398957613988614f86565b5b6000613997868287016135e8565b93505060206139a886828701613716565b92505060406139b9868287016136ad565b9150509250925092565b6000602082840312156139d9576139d8614f86565b5b60006139e784828501613612565b91505092915050565b600060208284031215613a0657613a05614f86565b5b6000613a1484828501613627565b91505092915050565b600060208284031215613a3357613a32614f86565b5b600082015167ffffffffffffffff811115613a5157613a50614f81565b5b613a5d8482850161366a565b91505092915050565b600060208284031215613a7c57613a7b614f86565b5b6000613a8a84828501613698565b91505092915050565b600060208284031215613aa957613aa8614f86565b5b6000613ab7848285016136c2565b91505092915050565b600060208284031215613ad657613ad5614f86565b5b6000613ae4848285016136ec565b91505092915050565b600060208284031215613b0357613b02614f86565b5b6000613b1184828501613701565b91505092915050565b600060208284031215613b3057613b2f614f86565b5b6000613b3e84828501613716565b91505092915050565b600060208284031215613b5d57613b5c614f86565b5b6000613b6b8482850161372b565b91505092915050565b60008060408385031215613b8b57613b8a614f86565b5b6000613b9985828601613716565b9250506020613baa858286016135be565b9150509250929050565b600080600080600080600080610100898b031215613bd557613bd4614f86565b5b6000613be38b828c01613716565b9850506020613bf48b828c016135e8565b9750506040613c058b828c016135be565b9650506060613c168b828c016135d3565b9550506080613c278b828c016136d7565b94505060a0613c388b828c016136d7565b93505060c0613c498b828c01613716565b92505060e0613c5a8b828c016136ec565b9150509295985092959890939650565b613c7381614c87565b82525050565b613c8281614c87565b82525050565b613c9181614c75565b82525050565b613ca081614c75565b82525050565b613caf81614c75565b82525050565b613cbe81614c99565b82525050565b613ccd81614c99565b82525050565b613cdc81614c99565b82525050565b6000613ced82614acc565b613cf78185614ae2565b9350613d07818560208601614d4b565b613d1081614f8b565b840191505092915050565b6000613d2682614ad7565b613d308185614afe565b9350613d40818560208601614d4b565b613d4981614f8b565b840191505092915050565b6000613d5f82614ad7565b613d698185614b0f565b9350613d79818560208601614d4b565b80840191505092915050565b6000613d92600983614afe565b9150613d9d82614f9c565b602082019050919050565b6000613db5603283614afe565b9150613dc082614fc5565b604082019050919050565b6000613dd8602683614afe565b9150613de382615014565b604082019050919050565b6000613dfb602583614afe565b9150613e0682615063565b604082019050919050565b6000613e1e601283614afe565b9150613e29826150b2565b602082019050919050565b6000613e41601c83614afe565b9150613e4c826150db565b602082019050919050565b6000613e64601483614afe565b9150613e6f82615104565b602082019050919050565b6000613e87602483614afe565b9150613e928261512d565b604082019050919050565b6000613eaa601983614afe565b9150613eb58261517c565b602082019050919050565b6000613ecd602783614afe565b9150613ed8826151a5565b604082019050919050565b6000613ef0603a83614afe565b9150613efb826151f4565b604082019050919050565b6000613f13601d83614afe565b9150613f1e82615243565b602082019050919050565b6000613f36602c83614afe565b9150613f418261526c565b604082019050919050565b6000613f59603883614afe565b9150613f64826152bb565b604082019050919050565b6000613f7c602a83614afe565b9150613f878261530a565b604082019050919050565b6000613f9f602983614afe565b9150613faa82615359565b604082019050919050565b6000613fc2602e83614afe565b9150613fcd826153a8565b604082019050919050565b6000613fe5602083614afe565b9150613ff0826153f7565b602082019050919050565b6000614008603183614afe565b915061401382615420565b604082019050919050565b600061402b602c83614afe565b91506140368261546f565b604082019050919050565b600061404e600583614b0f565b9150614059826154be565b600582019050919050565b6000614071602083614afe565b915061407c826154e7565b602082019050919050565b6000614094602983614afe565b915061409f82615510565b604082019050919050565b60006140b7602f83614afe565b91506140c28261555f565b604082019050919050565b60006140da602183614afe565b91506140e5826155ae565b604082019050919050565b60006140fd600e83614afe565b9150614108826155fd565b602082019050919050565b6000614120600083614af3565b915061412b82615626565b600082019050919050565b6000614143603183614afe565b915061414e82615629565b604082019050919050565b6000614166600183614b0f565b915061417182615678565b600182019050919050565b6000614189600c83614afe565b9150614194826156a1565b602082019050919050565b60006141ac600483614afe565b91506141b7826156ca565b602082019050919050565b610140820160008201516141d96000850182613cb5565b5060208201516141ec6020850182614314565b5060408201516141ff6040850182614314565b50606082015161421260608501826142c9565b50608082015161422560808501826142c9565b5060a082015161423860a08501826142c9565b5060c082015161424b60c085018261429c565b5060e082015161425e60e08501826142e7565b50610100820151614273610100850182613c88565b50610120820151614288610120850182613c88565b50505050565b8082525050565b8082525050565b6142a581614cdb565b82525050565b6142b481614cdb565b82525050565b6142c381614cdb565b82525050565b6142d281614cf7565b82525050565b6142e181614cf7565b82525050565b6142f081614d25565b82525050565b6142ff81614d25565b82525050565b61430e81614d25565b82525050565b61431d81614d2f565b82525050565b61432c81614d2f565b82525050565b61433b81614d2f565b82525050565b600061434d8285613d54565b91506143598284613d54565b91508190509392505050565b60006143718285613d54565b915061437c82614159565b91506143888284613d54565b915061439382614041565b91508190509392505050565b60006143aa82614113565b9150819050919050565b60006020820190506143c96000830184613c97565b92915050565b60006020820190506143e46000830184613c6a565b92915050565b60006080820190506143ff6000830187613c97565b61440c6020830186613c97565b61441960408301856142f6565b818103606083015261442b8184613ce2565b905095945050505050565b600060208201905061444b6000830184613cc4565b92915050565b600060c0820190506144666000830189613cc4565b6144736020830188613cc4565b6144806040830187613cc4565b61448d6060830186613cc4565b61449a6080830185614323565b6144a760a08301846142ab565b979650505050505050565b600060208201905081810360008301526144cc8184613d1b565b905092915050565b600060208201905081810360008301526144ed81613d85565b9050919050565b6000602082019050818103600083015261450d81613da8565b9050919050565b6000602082019050818103600083015261452d81613dcb565b9050919050565b6000602082019050818103600083015261454d81613dee565b9050919050565b6000602082019050818103600083015261456d81613e11565b9050919050565b6000602082019050818103600083015261458d81613e34565b9050919050565b600060208201905081810360008301526145ad81613e57565b9050919050565b600060208201905081810360008301526145cd81613e7a565b9050919050565b600060208201905081810360008301526145ed81613e9d565b9050919050565b6000602082019050818103600083015261460d81613ec0565b9050919050565b6000602082019050818103600083015261462d81613ee3565b9050919050565b6000602082019050818103600083015261464d81613f06565b9050919050565b6000602082019050818103600083015261466d81613f29565b9050919050565b6000602082019050818103600083015261468d81613f4c565b9050919050565b600060208201905081810360008301526146ad81613f6f565b9050919050565b600060208201905081810360008301526146cd81613f92565b9050919050565b600060208201905081810360008301526146ed81613fb5565b9050919050565b6000602082019050818103600083015261470d81613fd8565b9050919050565b6000602082019050818103600083015261472d81613ffb565b9050919050565b6000602082019050818103600083015261474d8161401e565b9050919050565b6000602082019050818103600083015261476d81614064565b9050919050565b6000602082019050818103600083015261478d81614087565b9050919050565b600060208201905081810360008301526147ad816140aa565b9050919050565b600060208201905081810360008301526147cd816140cd565b9050919050565b600060208201905081810360008301526147ed816140f0565b9050919050565b6000602082019050818103600083015261480d81614136565b9050919050565b6000602082019050818103600083015261482d8161417c565b9050919050565b6000602082019050818103600083015261484d8161419f565b9050919050565b60006101408201905061486a60008301846141c2565b92915050565b6000606082019050614885600083018661428e565b61489260208301856142d8565b61489f6040830184614305565b949350505050565b60006040820190506148bc6000830185614295565b6148c96020830184613ca6565b9392505050565b60006040820190506148e56000830185614295565b6148f260208301846142ba565b9392505050565b600060408201905061490e6000830185614295565b61491b6020830184614332565b9392505050565b60006060820190506149376000830186614295565b6149446020830185614332565b6149516040830184613ca6565b949350505050565b60006101208201905061496f600083018c614295565b61497c602083018b614332565b614989604083018a613cd3565b6149966060830189613ca6565b6149a36080830188613c79565b6149b060a08301876142d8565b6149bd60c08301866142d8565b6149ca60e0830185614332565b6149d8610100830184614305565b9a9950505050505050505050565b60006040820190506149fb60008301856142ab565b614a0860208301846142ab565b9392505050565b6000602082019050614a246000830184614305565b92915050565b6000602082019050614a3f60008301846142f6565b92915050565b6000614a4f614a60565b9050614a5b8282614db0565b919050565b6000604051905090565b600067ffffffffffffffff821115614a8557614a84614f48565b5b614a8e82614f8b565b9050602081019050919050565b600067ffffffffffffffff821115614ab657614ab5614f48565b5b614abf82614f8b565b9050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000614b2582614cdb565b9150614b3083614cdb565b9250826fffffffffffffffffffffffffffffffff03821115614b5557614b54614e8c565b5b828201905092915050565b6000614b6b82614d25565b9150614b7683614d25565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614bab57614baa614e8c565b5b828201905092915050565b6000614bc182614d25565b9150614bcc83614d25565b925082614bdc57614bdb614ebb565b5b828204905092915050565b6000614bf282614d25565b9150614bfd83614d25565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614c3657614c35614e8c565b5b828202905092915050565b6000614c4c82614d25565b9150614c5783614d25565b925082821015614c6a57614c69614e8c565b5b828203905092915050565b6000614c8082614d05565b9050919050565b6000614c9282614d05565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6000819050919050565b60006fffffffffffffffffffffffffffffffff82169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b600060ff82169050919050565b82818337600083830152505050565b60005b83811015614d69578082015181840152602081019050614d4e565b83811115614d78576000848401525b50505050565b60006002820490506001821680614d9657607f821691505b60208210811415614daa57614da9614eea565b5b50919050565b614db982614f8b565b810181811067ffffffffffffffff82111715614dd857614dd7614f48565b5b80604052505050565b6000614dec82614d25565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614e1f57614e1e614e8c565b5b600182019050919050565b6000614e3582614cf7565b9150614e4083614cf7565b925082614e5057614e4f614ebb565b5b828206905092915050565b6000614e6682614d25565b9150614e7183614d25565b925082614e8157614e80614ebb565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4f4e4c595f4f4e43450000000000000000000000000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203860008201527f2062697473000000000000000000000000000000000000000000000000000000602082015250565b7f494e53554646494349454e545f46554e44530000000000000000000000000000600082015250565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b7f544f54414c5f535550504c595f52454143484544000000000000000000000000600082015250565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b7f53616665436173743a2076616c756520646f65736e27742066697420696e203160008201527f3238206269747300000000000000000000000000000000000000000000000000602082015250565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b7f4449564944455f42595f5a45524f000000000000000000000000000000000000600082015250565b50565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b7f5f00000000000000000000000000000000000000000000000000000000000000600082015250565b7f4f4e4c595f4f4e455f4e46540000000000000000000000000000000000000000600082015250565b7f4c4f434b00000000000000000000000000000000000000000000000000000000600082015250565b6156fc81614c75565b811461570757600080fd5b50565b61571381614c87565b811461571e57600080fd5b50565b61572a81614c99565b811461573557600080fd5b50565b61574181614ca5565b811461574c57600080fd5b50565b61575881614cd1565b811461576357600080fd5b50565b61576f81614cdb565b811461577a57600080fd5b50565b61578681614cf7565b811461579157600080fd5b50565b61579d81614d25565b81146157a857600080fd5b50565b6157b481614d2f565b81146157bf57600080fd5b5056fea2646970667358221220d97169e25afc56d9f252dc490a14735203a4c43917f7c74e71b59eab97ed903e64736f6c63430008070033
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.