Feature Tip: Add private address tag to any address under My Name Tag !
More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 24 from a total of 24 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 13986913 | 1090 days ago | IN | 0 ETH | 0.00898799 | ||||
Set Approval For... | 13977295 | 1092 days ago | IN | 0 ETH | 0.01500038 | ||||
Mint Multiple To... | 13595524 | 1152 days ago | IN | 0.06 ETH | 0.01358032 | ||||
Mint Multiple To... | 13595382 | 1152 days ago | IN | 0.12 ETH | 0.05289091 | ||||
Set Approval For... | 13595094 | 1152 days ago | IN | 0 ETH | 0.00681574 | ||||
Mint Multiple To... | 13594945 | 1152 days ago | IN | 0.06 ETH | 0.02084664 | ||||
Set Approval For... | 13594700 | 1152 days ago | IN | 0 ETH | 0.00666603 | ||||
Mint Multiple To... | 13594656 | 1152 days ago | IN | 0.06 ETH | 0.03011592 | ||||
Mint Multiple To... | 13594151 | 1152 days ago | IN | 0.06 ETH | 0.02955587 | ||||
Set Approval For... | 13593750 | 1152 days ago | IN | 0 ETH | 0.00717143 | ||||
Mint Multiple To... | 13593735 | 1152 days ago | IN | 0.06 ETH | 0.02269731 | ||||
Mint Multiple To... | 13592871 | 1152 days ago | IN | 0.06 ETH | 0.02757698 | ||||
Mint Multiple To... | 13592825 | 1152 days ago | IN | 0.06 ETH | 0.02899253 | ||||
Mint Multiple To... | 13592637 | 1152 days ago | IN | 0.06 ETH | 0.02427814 | ||||
Mint Multiple To... | 13592635 | 1152 days ago | IN | 0.06 ETH | 0.02148909 | ||||
Mint Multiple To... | 13592618 | 1152 days ago | IN | 0.06 ETH | 0.0257337 | ||||
Mint Multiple To... | 13592606 | 1152 days ago | IN | 0.06 ETH | 0.02176638 | ||||
Mint Multiple To... | 13592553 | 1152 days ago | IN | 0.06 ETH | 0.03098339 | ||||
Mint Multiple To... | 13592347 | 1152 days ago | IN | 0.18 ETH | 0.05923442 | ||||
Mint Multiple To... | 13592253 | 1152 days ago | IN | 0.06 ETH | 0.02377895 | ||||
Mint Multiple To... | 13592196 | 1152 days ago | IN | 0.6 ETH | 0.2539353 | ||||
Mint Multiple To... | 13592181 | 1152 days ago | IN | 0.6 ETH | 0.26609132 | ||||
Mint Multiple To... | 13592134 | 1152 days ago | IN | 0.06 ETH | 0.02489571 | ||||
Mint Multiple To... | 13592092 | 1152 days ago | IN | 0.18 ETH | 0.06620776 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Contract Name:
DooflesToken
Compiler Version
v0.8.10+commit.fc410830
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/finance/PaymentSplitter.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; contract DooflesToken is ERC721, ERC721URIStorage, ERC721Enumerable, Ownable, Pausable, PaymentSplitter, ReentrancyGuard { using SafeMath for uint256; uint256 public constant TOKEN_LIMIT = 10000; uint internal nonce = 0; uint[TOKEN_LIMIT] internal indices; uint256 private _tokenPrice; uint256 private _maxTokensAtOnce = 50; string public baseURIExtended = "https://doofles-api.herokuapp.com/metadata/"; uint256[] private _teamShares = [33, 33, 34]; address[] private _team = [ 0xCE81fdDfdEF44EA5d56944c9CCF2D0EA0f7B604C, 0xDAD375f9B26C33bFD780C7a184C2c3290A8EFd6e, 0xfb311e0a12eAE8b95B41225A996e42974F0B66bA ]; constructor() PaymentSplitter(_team, _teamShares) ERC721("lesDood", "FDOODLE") { setTokenPrice(60000000000000000); } function _baseURI() internal override view returns (string memory) { return baseURIExtended; } function setBaseURI(string memory _newURI) public onlyOwner { baseURIExtended = _newURI; } function getTokenPrice() public view returns(uint256) { return _tokenPrice; } function setTokenPrice(uint256 _price) public onlyOwner { _tokenPrice = _price; } function togglePaused() public onlyOwner { if (paused()) { _unpause(); } else { _pause(); } } function _newTokenIndex() internal returns (uint256) { uint256 totalSize = TOKEN_LIMIT - totalSupply(); uint256 index = uint(keccak256(abi.encodePacked(nonce, msg.sender, block.difficulty, block.timestamp))) % totalSize; uint256 value = 0; if (indices[index] != 0) { value = indices[index]; } else { value = index; } if (indices[totalSize-1] == 0) { indices[index] = totalSize-1; } else { indices[index] = indices[totalSize-1]; } nonce++; return value.add(1); } function _mintRandom(address _to) private { uint _tokenID = _newTokenIndex(); _safeMint(_to, _tokenID); } function devMint(uint256 _amount) public payable nonReentrant onlyOwner { require(totalSupply().add(_amount) <= TOKEN_LIMIT, "Exceeds max supply of tokens"); for(uint256 i = 0; i < _amount; i++) { _mintRandom(msg.sender); } } function mintMultipleTokens(uint256 _amount) public payable nonReentrant whenNotPaused { require(totalSupply().add(_amount) <= TOKEN_LIMIT, "Exceeds max supply of tokens"); require(_amount <= _maxTokensAtOnce, "Too many tokens"); require(getTokenPrice().mul(_amount) == msg.value, "Insufficient funds"); for(uint256 i = 0; i < _amount; i++) { _mintRandom(msg.sender); } } function _beforeTokenTransfer(address from, address to, uint256 tokenId) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function tokenURI(uint256 tokenId) public view virtual override(ERC721, ERC721URIStorage) returns (string memory) { return string(super.tokenURI(tokenId)); } function _burn(uint256 tokenId) internal virtual override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the substraction of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b > a) return (false, 0); return (true, a - b); } } /** * @dev Returns the multiplication of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522 if (a == 0) return (true, 0); uint256 c = a * b; if (c / a != b) return (false, 0); return (true, c); } } /** * @dev Returns the division of two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a / b); } } /** * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag. * * _Available since v3.4._ */ function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { if (b == 0) return (false, 0); return (true, a % b); } } /** * @dev Returns the addition of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `+` operator. * * Requirements: * * - Addition cannot overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { return a + b; } /** * @dev Returns the subtraction of two unsigned integers, reverting on * overflow (when the result is negative). * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { return a - b; } /** * @dev Returns the multiplication of two unsigned integers, reverting on * overflow. * * Counterpart to Solidity's `*` operator. * * Requirements: * * - Multiplication cannot overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { return a * b; } /** * @dev Returns the integer division of two unsigned integers, reverting on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. * * Requirements: * * - The divisor cannot be zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { return a / b; } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting when dividing by zero. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { return a % b; } /** * @dev Returns the subtraction of two unsigned integers, reverting with custom message on * overflow (when the result is negative). * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {trySub}. * * Counterpart to Solidity's `-` operator. * * Requirements: * * - Subtraction cannot overflow. */ function sub( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b <= a, errorMessage); return a - b; } } /** * @dev Returns the integer division of two unsigned integers, reverting with custom message on * division by zero. The result is rounded towards zero. * * Counterpart to Solidity's `/` operator. Note: this function uses a * `revert` opcode (which leaves remaining gas untouched) while Solidity * uses an invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function div( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a / b; } } /** * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo), * reverting with custom message when dividing by zero. * * CAUTION: This function is deprecated because it requires allocating memory for the error * message unnecessarily. For custom revert reasons use {tryMod}. * * Counterpart to Solidity's `%` operator. This function uses a `revert` * opcode (which leaves remaining gas untouched) while Solidity uses an * invalid opcode to revert (consuming all remaining gas). * * Requirements: * * - The divisor cannot be zero. */ function mod( uint256 a, uint256 b, string memory errorMessage ) internal pure returns (uint256) { unchecked { require(b > 0, errorMessage); return a % b; } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../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 pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and make it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Address.sol"; import "../utils/Context.sol"; import "../utils/math/SafeMath.sol"; /** * @title PaymentSplitter * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware * that the Ether will be split in this way, since it is handled transparently by the contract. * * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim * an amount proportional to the percentage of total shares they were assigned. * * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release} * function. */ contract PaymentSplitter is Context { event PayeeAdded(address account, uint256 shares); event PaymentReleased(address to, uint256 amount); event PaymentReceived(address from, uint256 amount); uint256 private _totalShares; uint256 private _totalReleased; mapping(address => uint256) private _shares; mapping(address => uint256) private _released; address[] private _payees; /** * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at * the matching position in the `shares` array. * * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no * duplicates in `payees`. */ constructor(address[] memory payees, uint256[] memory shares_) payable { require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch"); require(payees.length > 0, "PaymentSplitter: no payees"); for (uint256 i = 0; i < payees.length; i++) { _addPayee(payees[i], shares_[i]); } } /** * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the * reliability of the events, and not the actual splitting of Ether. * * To learn more about this see the Solidity documentation for * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback * functions]. */ receive() external payable virtual { emit PaymentReceived(_msgSender(), msg.value); } /** * @dev Getter for the total shares held by payees. */ function totalShares() public view returns (uint256) { return _totalShares; } /** * @dev Getter for the total amount of Ether already released. */ function totalReleased() public view returns (uint256) { return _totalReleased; } /** * @dev Getter for the amount of shares held by an account. */ function shares(address account) public view returns (uint256) { return _shares[account]; } /** * @dev Getter for the amount of Ether already released to a payee. */ function released(address account) public view returns (uint256) { return _released[account]; } /** * @dev Getter for the address of the payee number `index`. */ function payee(uint256 index) public view returns (address) { return _payees[index]; } /** * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the * total shares and their previous withdrawals. */ function release(address payable account) public virtual { require(_shares[account] > 0, "PaymentSplitter: account has no shares"); uint256 totalReceived = address(this).balance + _totalReleased; uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account]; require(payment != 0, "PaymentSplitter: account is not due payment"); _released[account] = _released[account] + payment; _totalReleased = _totalReleased + payment; Address.sendValue(account, payment); emit PaymentReleased(account, payment); } /** * @dev Add a new payee to the contract. * @param account The address of the payee to add. * @param shares_ The number of shares owned by the payee. */ function _addPayee(address account, uint256 shares_) private { require(account != address(0), "PaymentSplitter: account is the zero address"); require(shares_ > 0, "PaymentSplitter: shares are 0"); require(_shares[account] == 0, "PaymentSplitter: account already has shares"); _payees.push(account); _shares[account] = shares_; _totalShares = _totalShares + shares_; emit PayeeAdded(account, shares_); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"TOKEN_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURIExtended","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"devMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getTokenPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mintMultipleTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_price","type":"uint256"}],"name":"setTokenPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"togglePaused","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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"},{"stateMutability":"payable","type":"receive"}]
Contract Creation Code
608060405260006012556032612724556040518060600160405280602b815260200162005e0b602b913961272590805190602001906200004192919062000825565b506040518060600160405280602160ff168152602001602160ff168152602001602260ff168152506127269060036200007c929190620008b6565b50604051806060016040528073ce81fddfdef44ea5d56944c9ccf2d0ea0f7b604c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173dad375f9b26c33bfd780c7a184c2c3290a8efd6e73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173fb311e0a12eae8b95b41225a996e42974f0b66ba73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506127279060036200016b9291906200090d565b503480156200017957600080fd5b50612727805480602002602001604051908101604052809291908181526020018280548015620001ff57602002820191906000526020600020905b8160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019060010190808311620001b4575b50505050506127268054806020026020016040519081016040528092919081815260200182805480156200025357602002820191906000526020600020905b8154815260200190600101908083116200023e575b50505050506040518060400160405280600781526020017f6c6573446f6f64000000000000000000000000000000000000000000000000008152506040518060400160405280600781526020017f46444f4f444c45000000000000000000000000000000000000000000000000008152508160009080519060200190620002dc92919062000825565b508060019080519060200190620002f592919062000825565b505050620003186200030c6200045960201b60201c565b6200046160201b60201c565b6000600b60146101000a81548160ff02191690831515021790555080518251146200037a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003719062000a42565b60405180910390fd5b6000825111620003c1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003b89062000ab4565b60405180910390fd5b60005b825181101562000430576200041a838281518110620003e857620003e762000ad6565b5b602002602001015183838151811062000406576200040562000ad6565b5b60200260200101516200052760201b60201c565b8080620004279062000b3e565b915050620003c4565b50505060016011819055506200045366d529ae9e8600006200076160201b60201c565b62000ee5565b600033905090565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200059a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005919062000c02565b60405180910390fd5b60008111620005e0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005d79062000c74565b60405180910390fd5b6000600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541462000665576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200065c9062000d0c565b60405180910390fd5b6010829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600e60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600c546200071c919062000d2e565b600c819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200075592919062000de1565b60405180910390a15050565b620007716200045960201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000797620007fb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1614620007f0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620007e79062000e5e565b60405180910390fd5b806127238190555050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620008339062000eaf565b90600052602060002090601f016020900481019282620008575760008555620008a3565b82601f106200087257805160ff1916838001178555620008a3565b82800160010185558215620008a3579182015b82811115620008a257825182559160200191906001019062000885565b5b509050620008b291906200099c565b5090565b828054828255906000526020600020908101928215620008fa579160200282015b82811115620008f9578251829060ff16905591602001919060010190620008d7565b5b5090506200090991906200099c565b5090565b82805482825590600052602060002090810192821562000989579160200282015b82811115620009885782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906200092e565b5b5090506200099891906200099c565b5090565b5b80821115620009b75760008160009055506001016200099d565b5090565b600082825260208201905092915050565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b600062000a2a603283620009bb565b915062000a3782620009cc565b604082019050919050565b6000602082019050818103600083015262000a5d8162000a1b565b9050919050565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b600062000a9c601a83620009bb565b915062000aa98262000a64565b602082019050919050565b6000602082019050818103600083015262000acf8162000a8d565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b600062000b4b8262000b34565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000b815762000b8062000b05565b5b600182019050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b600062000bea602c83620009bb565b915062000bf78262000b8c565b604082019050919050565b6000602082019050818103600083015262000c1d8162000bdb565b9050919050565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b600062000c5c601d83620009bb565b915062000c698262000c24565b602082019050919050565b6000602082019050818103600083015262000c8f8162000c4d565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b600062000cf4602b83620009bb565b915062000d018262000c96565b604082019050919050565b6000602082019050818103600083015262000d278162000ce5565b9050919050565b600062000d3b8262000b34565b915062000d488362000b34565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000d805762000d7f62000b05565b5b828201905092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600062000db88262000d8b565b9050919050565b62000dca8162000dab565b82525050565b62000ddb8162000b34565b82525050565b600060408201905062000df8600083018562000dbf565b62000e07602083018462000dd0565b9392505050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000e46602083620009bb565b915062000e538262000e0e565b602082019050919050565b6000602082019050818103600083015262000e798162000e37565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000ec857607f821691505b6020821081141562000edf5762000ede62000e80565b5b50919050565b614f168062000ef56000396000f3fe6080604052600436106101fd5760003560e01c80636352211e1161010d578063a22cb465116100a0578063e1dffcb91161006f578063e1dffcb914610795578063e33b7de3146107b1578063e4d3d448146107dc578063e985e9c514610807578063f2fde38b1461084457610244565b8063a22cb465146106c9578063b88d4fde146106f2578063c87b56dd1461071b578063ce7c2ac21461075857610244565b80638b83209b116100dc5780638b83209b146105f95780638da5cb5b1461063657806395d89b41146106615780639852595c1461068c57610244565b80636352211e1461053f5780636a61e5fc1461057c57806370a08231146105a5578063715018a6146105e257610244565b80632f745c591161019057806342842e0e1161015f57806342842e0e1461045a5780634b94f50e146104835780634f6ccce7146104ae57806355f804b3146104eb5780635c975abb1461051457610244565b80632f745c59146103bf57806336566f06146103fc578063375a069a146104135780633a98ef391461042f57610244565b8063095ea7b3116101cc578063095ea7b31461031957806318160ddd14610342578063191655871461036d57806323b872dd1461039657610244565b806301ffc9a714610249578063031bd4c41461028657806306fdde03146102b1578063081812fc146102dc57610244565b36610244577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061022b61086d565b3460405161023a92919061339d565b60405180910390a1005b600080fd5b34801561025557600080fd5b50610270600480360381019061026b9190613432565b610875565b60405161027d919061347a565b60405180910390f35b34801561029257600080fd5b5061029b610887565b6040516102a89190613495565b60405180910390f35b3480156102bd57600080fd5b506102c661088d565b6040516102d39190613549565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe9190613597565b61091f565b60405161031091906135c4565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b919061360b565b6109a4565b005b34801561034e57600080fd5b50610357610abc565b6040516103649190613495565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f9190613689565b610ac9565b005b3480156103a257600080fd5b506103bd60048036038101906103b891906136b6565b610d31565b005b3480156103cb57600080fd5b506103e660048036038101906103e1919061360b565b610d91565b6040516103f39190613495565b60405180910390f35b34801561040857600080fd5b50610411610e36565b005b61042d60048036038101906104289190613597565b610ed7565b005b34801561043b57600080fd5b50610444611032565b6040516104519190613495565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c91906136b6565b61103c565b005b34801561048f57600080fd5b5061049861105c565b6040516104a59190613495565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d09190613597565b611067565b6040516104e29190613495565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d919061383e565b6110d8565b005b34801561052057600080fd5b5061052961116f565b604051610536919061347a565b60405180910390f35b34801561054b57600080fd5b5061056660048036038101906105619190613597565b611186565b60405161057391906135c4565b60405180910390f35b34801561058857600080fd5b506105a3600480360381019061059e9190613597565b611238565b005b3480156105b157600080fd5b506105cc60048036038101906105c79190613887565b6112bf565b6040516105d99190613495565b60405180910390f35b3480156105ee57600080fd5b506105f7611377565b005b34801561060557600080fd5b50610620600480360381019061061b9190613597565b6113ff565b60405161062d91906135c4565b60405180910390f35b34801561064257600080fd5b5061064b611447565b60405161065891906135c4565b60405180910390f35b34801561066d57600080fd5b50610676611471565b6040516106839190613549565b60405180910390f35b34801561069857600080fd5b506106b360048036038101906106ae9190613887565b611503565b6040516106c09190613495565b60405180910390f35b3480156106d557600080fd5b506106f060048036038101906106eb91906138e0565b61154c565b005b3480156106fe57600080fd5b50610719600480360381019061071491906139c1565b6116cd565b005b34801561072757600080fd5b50610742600480360381019061073d9190613597565b61172f565b60405161074f9190613549565b60405180910390f35b34801561076457600080fd5b5061077f600480360381019061077a9190613887565b611741565b60405161078c9190613495565b60405180910390f35b6107af60048036038101906107aa9190613597565b61178a565b005b3480156107bd57600080fd5b506107c6611952565b6040516107d39190613495565b60405180910390f35b3480156107e857600080fd5b506107f161195c565b6040516107fe9190613549565b60405180910390f35b34801561081357600080fd5b5061082e60048036038101906108299190613a44565b6119eb565b60405161083b919061347a565b60405180910390f35b34801561085057600080fd5b5061086b60048036038101906108669190613887565b611a7f565b005b600033905090565b600061088082611b77565b9050919050565b61271081565b60606000805461089c90613ab3565b80601f01602080910402602001604051908101604052809291908181526020018280546108c890613ab3565b80156109155780601f106108ea57610100808354040283529160200191610915565b820191906000526020600020905b8154815290600101906020018083116108f857829003601f168201915b5050505050905090565b600061092a82611bf1565b610969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096090613b57565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109af82611186565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1790613be9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a3f61086d565b73ffffffffffffffffffffffffffffffffffffffff161480610a6e5750610a6d81610a6861086d565b6119eb565b5b610aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa490613c7b565b60405180910390fd5b610ab78383611c5d565b505050565b6000600980549050905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4290613d0d565b60405180910390fd5b6000600d5447610b5b9190613d5c565b90506000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c54600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610bed9190613db2565b610bf79190613e3b565b610c019190613e6c565b90506000811415610c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3e90613f12565b60405180910390fd5b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c929190613d5c565b600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600d54610ce39190613d5c565b600d81905550610cf38382611d16565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610d24929190613f91565b60405180910390a1505050565b610d42610d3c61086d565b82611e0a565b610d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d789061402c565b60405180910390fd5b610d8c838383611ee8565b505050565b6000610d9c836112bf565b8210610ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd4906140be565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e3e61086d565b73ffffffffffffffffffffffffffffffffffffffff16610e5c611447565b73ffffffffffffffffffffffffffffffffffffffff1614610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea99061412a565b60405180910390fd5b610eba61116f565b15610ecc57610ec7612144565b610ed5565b610ed46121e6565b5b565b60026011541415610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1490614196565b60405180910390fd5b6002601181905550610f2d61086d565b73ffffffffffffffffffffffffffffffffffffffff16610f4b611447565b73ffffffffffffffffffffffffffffffffffffffff1614610fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f989061412a565b60405180910390fd5b612710610fbe82610fb0610abc565b61228990919063ffffffff16565b1115610fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff690614202565b60405180910390fd5b60005b81811015611026576110133361229f565b808061101e90614222565b915050611002565b50600160118190555050565b6000600c54905090565b611057838383604051806020016040528060008152506116cd565b505050565b600061272354905090565b6000611071610abc565b82106110b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a9906142dd565b60405180910390fd5b600982815481106110c6576110c56142fd565b5b90600052602060002001549050919050565b6110e061086d565b73ffffffffffffffffffffffffffffffffffffffff166110fe611447565b73ffffffffffffffffffffffffffffffffffffffff1614611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114b9061412a565b60405180910390fd5b80612725908051906020019061116b9291906132a0565b5050565b6000600b60149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561122f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112269061439e565b60405180910390fd5b80915050919050565b61124061086d565b73ffffffffffffffffffffffffffffffffffffffff1661125e611447565b73ffffffffffffffffffffffffffffffffffffffff16146112b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ab9061412a565b60405180910390fd5b806127238190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790614430565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61137f61086d565b73ffffffffffffffffffffffffffffffffffffffff1661139d611447565b73ffffffffffffffffffffffffffffffffffffffff16146113f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ea9061412a565b60405180910390fd5b6113fd60006122b9565b565b600060108281548110611415576114146142fd565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461148090613ab3565b80601f01602080910402602001604051908101604052809291908181526020018280546114ac90613ab3565b80156114f95780601f106114ce576101008083540402835291602001916114f9565b820191906000526020600020905b8154815290600101906020018083116114dc57829003601f168201915b5050505050905090565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61155461086d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b99061449c565b60405180910390fd5b80600560006115cf61086d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661167c61086d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116c1919061347a565b60405180910390a35050565b6116de6116d861086d565b83611e0a565b61171d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117149061402c565b60405180910390fd5b6117298484848461237f565b50505050565b606061173a826123db565b9050919050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600260115414156117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c790614196565b60405180910390fd5b60026011819055506117e061116f565b15611820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181790614508565b60405180910390fd5b61271061183d8261182f610abc565b61228990919063ffffffff16565b111561187e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187590614202565b60405180910390fd5b612724548111156118c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bb90614574565b60405180910390fd5b346118df826118d161105c565b61252d90919063ffffffff16565b1461191f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611916906145e0565b60405180910390fd5b60005b81811015611946576119333361229f565b808061193e90614222565b915050611922565b50600160118190555050565b6000600d54905090565b612725805461196a90613ab3565b80601f016020809104026020016040519081016040528092919081815260200182805461199690613ab3565b80156119e35780601f106119b8576101008083540402835291602001916119e3565b820191906000526020600020905b8154815290600101906020018083116119c657829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a8761086d565b73ffffffffffffffffffffffffffffffffffffffff16611aa5611447565b73ffffffffffffffffffffffffffffffffffffffff1614611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af29061412a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6290614672565b60405180910390fd5b611b74816122b9565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bea5750611be982612543565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611cd083611186565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80471015611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d50906146de565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611d7f9061472f565b60006040518083038185875af1925050503d8060008114611dbc576040519150601f19603f3d011682016040523d82523d6000602084013e611dc1565b606091505b5050905080611e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfc906147b6565b60405180910390fd5b505050565b6000611e1582611bf1565b611e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4b90614848565b60405180910390fd5b6000611e5f83611186565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ece57508373ffffffffffffffffffffffffffffffffffffffff16611eb68461091f565b73ffffffffffffffffffffffffffffffffffffffff16145b80611edf5750611ede81856119eb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f0882611186565b73ffffffffffffffffffffffffffffffffffffffff1614611f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f55906148da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc59061496c565b60405180910390fd5b611fd9838383612625565b611fe4600082611c5d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120349190613e6c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461208b9190613d5c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61214c61116f565b61218b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612182906149d8565b60405180910390fd5b6000600b60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6121cf61086d565b6040516121dc91906135c4565b60405180910390a1565b6121ee61116f565b1561222e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222590614508565b60405180910390fd5b6001600b60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861227261086d565b60405161227f91906135c4565b60405180910390a1565b600081836122979190613d5c565b905092915050565b60006122a9612635565b90506122b5828261279a565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61238a848484611ee8565b612396848484846127b8565b6123d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cc90614a6a565b60405180910390fd5b50505050565b60606123e682611bf1565b612425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241c90614afc565b60405180910390fd5b600060066000848152602001908152602001600020805461244590613ab3565b80601f016020809104026020016040519081016040528092919081815260200182805461247190613ab3565b80156124be5780601f10612493576101008083540402835291602001916124be565b820191906000526020600020905b8154815290600101906020018083116124a157829003601f168201915b5050505050905060006124cf612940565b90506000815114156124e5578192505050612528565b60008251111561251a578082604051602001612502929190614b58565b60405160208183030381529060405292505050612528565b612523846129d3565b925050505b919050565b6000818361253b9190613db2565b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061260e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061261e575061261d82612a7a565b5b9050919050565b612630838383612ae4565b505050565b600080612640610abc565b61271061264d9190613e6c565b905060008160125433444260405160200161266b9493929190614be5565b6040516020818303038152906040528051906020012060001c61268e9190614c33565b905060008060138361271081106126a8576126a76142fd565b5b0154146126cd5760138261271081106126c4576126c36142fd565b5b015490506126d1565b8190505b600060136001856126e29190613e6c565b61271081106126f4576126f36142fd565b5b01541415612728576001836127099190613e6c565b601383612710811061271e5761271d6142fd565b5b0181905550612766565b60136001846127379190613e6c565b6127108110612749576127486142fd565b5b015460138361271081106127605761275f6142fd565b5b01819055505b6012600081548092919061277990614222565b919050555061279260018261228990919063ffffffff16565b935050505090565b6127b4828260405180602001604052806000815250612bf8565b5050565b60006127d98473ffffffffffffffffffffffffffffffffffffffff16612c53565b15612933578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261280261086d565b8786866040518563ffffffff1660e01b81526004016128249493929190614cb9565b6020604051808303816000875af192505050801561286057506040513d601f19601f8201168201806040525081019061285d9190614d1a565b60015b6128e3573d8060008114612890576040519150601f19603f3d011682016040523d82523d6000602084013e612895565b606091505b506000815114156128db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d290614a6a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612938565b600190505b949350505050565b6060612725805461295090613ab3565b80601f016020809104026020016040519081016040528092919081815260200182805461297c90613ab3565b80156129c95780601f1061299e576101008083540402835291602001916129c9565b820191906000526020600020905b8154815290600101906020018083116129ac57829003601f168201915b5050505050905090565b60606129de82611bf1565b612a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1490614db9565b60405180910390fd5b6000612a27612940565b90506000815111612a475760405180602001604052806000815250612a72565b80612a5184612c66565b604051602001612a62929190614b58565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612aef838383612dc7565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b3257612b2d81612dcc565b612b71565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b7057612b6f8382612e15565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bb457612baf81612f82565b612bf3565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612bf257612bf18282613053565b5b5b505050565b612c0283836130d2565b612c0f60008484846127b8565b612c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4590614a6a565b60405180910390fd5b505050565b600080823b905060008111915050919050565b60606000821415612cae576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612dc2565b600082905060005b60008214612ce0578080612cc990614222565b915050600a82612cd99190613e3b565b9150612cb6565b60008167ffffffffffffffff811115612cfc57612cfb613713565b5b6040519080825280601f01601f191660200182016040528015612d2e5781602001600182028036833780820191505090505b5090505b60008514612dbb57600182612d479190613e6c565b9150600a85612d569190614c33565b6030612d629190613d5c565b60f81b818381518110612d7857612d776142fd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612db49190613e3b565b9450612d32565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e22846112bf565b612e2c9190613e6c565b9050600060086000848152602001908152602001600020549050818114612f11576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612f969190613e6c565b90506000600a6000848152602001908152602001600020549050600060098381548110612fc657612fc56142fd565b5b906000526020600020015490508060098381548110612fe857612fe76142fd565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061303757613036614dd9565b5b6001900381819060005260206000200160009055905550505050565b600061305e836112bf565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313990614e54565b60405180910390fd5b61314b81611bf1565b1561318b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318290614ec0565b60405180910390fd5b61319760008383612625565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131e79190613d5c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546132ac90613ab3565b90600052602060002090601f0160209004810192826132ce5760008555613315565b82601f106132e757805160ff1916838001178555613315565b82800160010185558215613315579182015b828111156133145782518255916020019190600101906132f9565b5b5090506133229190613326565b5090565b5b8082111561333f576000816000905550600101613327565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061336e82613343565b9050919050565b61337e81613363565b82525050565b6000819050919050565b61339781613384565b82525050565b60006040820190506133b26000830185613375565b6133bf602083018461338e565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61340f816133da565b811461341a57600080fd5b50565b60008135905061342c81613406565b92915050565b600060208284031215613448576134476133d0565b5b60006134568482850161341d565b91505092915050565b60008115159050919050565b6134748161345f565b82525050565b600060208201905061348f600083018461346b565b92915050565b60006020820190506134aa600083018461338e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134ea5780820151818401526020810190506134cf565b838111156134f9576000848401525b50505050565b6000601f19601f8301169050919050565b600061351b826134b0565b61352581856134bb565b93506135358185602086016134cc565b61353e816134ff565b840191505092915050565b600060208201905081810360008301526135638184613510565b905092915050565b61357481613384565b811461357f57600080fd5b50565b6000813590506135918161356b565b92915050565b6000602082840312156135ad576135ac6133d0565b5b60006135bb84828501613582565b91505092915050565b60006020820190506135d96000830184613375565b92915050565b6135e881613363565b81146135f357600080fd5b50565b600081359050613605816135df565b92915050565b60008060408385031215613622576136216133d0565b5b6000613630858286016135f6565b925050602061364185828601613582565b9150509250929050565b600061365682613343565b9050919050565b6136668161364b565b811461367157600080fd5b50565b6000813590506136838161365d565b92915050565b60006020828403121561369f5761369e6133d0565b5b60006136ad84828501613674565b91505092915050565b6000806000606084860312156136cf576136ce6133d0565b5b60006136dd868287016135f6565b93505060206136ee868287016135f6565b92505060406136ff86828701613582565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61374b826134ff565b810181811067ffffffffffffffff8211171561376a57613769613713565b5b80604052505050565b600061377d6133c6565b90506137898282613742565b919050565b600067ffffffffffffffff8211156137a9576137a8613713565b5b6137b2826134ff565b9050602081019050919050565b82818337600083830152505050565b60006137e16137dc8461378e565b613773565b9050828152602081018484840111156137fd576137fc61370e565b5b6138088482856137bf565b509392505050565b600082601f83011261382557613824613709565b5b81356138358482602086016137ce565b91505092915050565b600060208284031215613854576138536133d0565b5b600082013567ffffffffffffffff811115613872576138716133d5565b5b61387e84828501613810565b91505092915050565b60006020828403121561389d5761389c6133d0565b5b60006138ab848285016135f6565b91505092915050565b6138bd8161345f565b81146138c857600080fd5b50565b6000813590506138da816138b4565b92915050565b600080604083850312156138f7576138f66133d0565b5b6000613905858286016135f6565b9250506020613916858286016138cb565b9150509250929050565b600067ffffffffffffffff82111561393b5761393a613713565b5b613944826134ff565b9050602081019050919050565b600061396461395f84613920565b613773565b9050828152602081018484840111156139805761397f61370e565b5b61398b8482856137bf565b509392505050565b600082601f8301126139a8576139a7613709565b5b81356139b8848260208601613951565b91505092915050565b600080600080608085870312156139db576139da6133d0565b5b60006139e9878288016135f6565b94505060206139fa878288016135f6565b9350506040613a0b87828801613582565b925050606085013567ffffffffffffffff811115613a2c57613a2b6133d5565b5b613a3887828801613993565b91505092959194509250565b60008060408385031215613a5b57613a5a6133d0565b5b6000613a69858286016135f6565b9250506020613a7a858286016135f6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613acb57607f821691505b60208210811415613adf57613ade613a84565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613b41602c836134bb565b9150613b4c82613ae5565b604082019050919050565b60006020820190508181036000830152613b7081613b34565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bd36021836134bb565b9150613bde82613b77565b604082019050919050565b60006020820190508181036000830152613c0281613bc6565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613c656038836134bb565b9150613c7082613c09565b604082019050919050565b60006020820190508181036000830152613c9481613c58565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000613cf76026836134bb565b9150613d0282613c9b565b604082019050919050565b60006020820190508181036000830152613d2681613cea565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d6782613384565b9150613d7283613384565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613da757613da6613d2d565b5b828201905092915050565b6000613dbd82613384565b9150613dc883613384565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e0157613e00613d2d565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e4682613384565b9150613e5183613384565b925082613e6157613e60613e0c565b5b828204905092915050565b6000613e7782613384565b9150613e8283613384565b925082821015613e9557613e94613d2d565b5b828203905092915050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000613efc602b836134bb565b9150613f0782613ea0565b604082019050919050565b60006020820190508181036000830152613f2b81613eef565b9050919050565b6000819050919050565b6000613f57613f52613f4d84613343565b613f32565b613343565b9050919050565b6000613f6982613f3c565b9050919050565b6000613f7b82613f5e565b9050919050565b613f8b81613f70565b82525050565b6000604082019050613fa66000830185613f82565b613fb3602083018461338e565b9392505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006140166031836134bb565b915061402182613fba565b604082019050919050565b6000602082019050818103600083015261404581614009565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006140a8602b836134bb565b91506140b38261404c565b604082019050919050565b600060208201905081810360008301526140d78161409b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141146020836134bb565b915061411f826140de565b602082019050919050565b6000602082019050818103600083015261414381614107565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614180601f836134bb565b915061418b8261414a565b602082019050919050565b600060208201905081810360008301526141af81614173565b9050919050565b7f45786365656473206d617820737570706c79206f6620746f6b656e7300000000600082015250565b60006141ec601c836134bb565b91506141f7826141b6565b602082019050919050565b6000602082019050818103600083015261421b816141df565b9050919050565b600061422d82613384565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142605761425f613d2d565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006142c7602c836134bb565b91506142d28261426b565b604082019050919050565b600060208201905081810360008301526142f6816142ba565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006143886029836134bb565b91506143938261432c565b604082019050919050565b600060208201905081810360008301526143b78161437b565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061441a602a836134bb565b9150614425826143be565b604082019050919050565b600060208201905081810360008301526144498161440d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006144866019836134bb565b915061449182614450565b602082019050919050565b600060208201905081810360008301526144b581614479565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006144f26010836134bb565b91506144fd826144bc565b602082019050919050565b60006020820190508181036000830152614521816144e5565b9050919050565b7f546f6f206d616e7920746f6b656e730000000000000000000000000000000000600082015250565b600061455e600f836134bb565b915061456982614528565b602082019050919050565b6000602082019050818103600083015261458d81614551565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006145ca6012836134bb565b91506145d582614594565b602082019050919050565b600060208201905081810360008301526145f9816145bd565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061465c6026836134bb565b915061466782614600565b604082019050919050565b6000602082019050818103600083015261468b8161464f565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006146c8601d836134bb565b91506146d382614692565b602082019050919050565b600060208201905081810360008301526146f7816146bb565b9050919050565b600081905092915050565b50565b60006147196000836146fe565b915061472482614709565b600082019050919050565b600061473a8261470c565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006147a0603a836134bb565b91506147ab82614744565b604082019050919050565b600060208201905081810360008301526147cf81614793565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614832602c836134bb565b915061483d826147d6565b604082019050919050565b6000602082019050818103600083015261486181614825565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006148c46029836134bb565b91506148cf82614868565b604082019050919050565b600060208201905081810360008301526148f3816148b7565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006149566024836134bb565b9150614961826148fa565b604082019050919050565b6000602082019050818103600083015261498581614949565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006149c26014836134bb565b91506149cd8261498c565b602082019050919050565b600060208201905081810360008301526149f1816149b5565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614a546032836134bb565b9150614a5f826149f8565b604082019050919050565b60006020820190508181036000830152614a8381614a47565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000614ae66031836134bb565b9150614af182614a8a565b604082019050919050565b60006020820190508181036000830152614b1581614ad9565b9050919050565b600081905092915050565b6000614b32826134b0565b614b3c8185614b1c565b9350614b4c8185602086016134cc565b80840191505092915050565b6000614b648285614b27565b9150614b708284614b27565b91508190509392505050565b6000819050919050565b614b97614b9282613384565b614b7c565b82525050565b60008160601b9050919050565b6000614bb582614b9d565b9050919050565b6000614bc782614baa565b9050919050565b614bdf614bda82613363565b614bbc565b82525050565b6000614bf18287614b86565b602082019150614c018286614bce565b601482019150614c118285614b86565b602082019150614c218284614b86565b60208201915081905095945050505050565b6000614c3e82613384565b9150614c4983613384565b925082614c5957614c58613e0c565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614c8b82614c64565b614c958185614c6f565b9350614ca58185602086016134cc565b614cae816134ff565b840191505092915050565b6000608082019050614cce6000830187613375565b614cdb6020830186613375565b614ce8604083018561338e565b8181036060830152614cfa8184614c80565b905095945050505050565b600081519050614d1481613406565b92915050565b600060208284031215614d3057614d2f6133d0565b5b6000614d3e84828501614d05565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614da3602f836134bb565b9150614dae82614d47565b604082019050919050565b60006020820190508181036000830152614dd281614d96565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e3e6020836134bb565b9150614e4982614e08565b602082019050919050565b60006020820190508181036000830152614e6d81614e31565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614eaa601c836134bb565b9150614eb582614e74565b602082019050919050565b60006020820190508181036000830152614ed981614e9d565b905091905056fea264697066735822122043ee3cf8d29dcc2f71f3cc818d59600eb951117ed38a8f41c9077331e0a2c02564736f6c634300080a003368747470733a2f2f646f6f666c65732d6170692e6865726f6b756170702e636f6d2f6d657461646174612f
Deployed Bytecode
0x6080604052600436106101fd5760003560e01c80636352211e1161010d578063a22cb465116100a0578063e1dffcb91161006f578063e1dffcb914610795578063e33b7de3146107b1578063e4d3d448146107dc578063e985e9c514610807578063f2fde38b1461084457610244565b8063a22cb465146106c9578063b88d4fde146106f2578063c87b56dd1461071b578063ce7c2ac21461075857610244565b80638b83209b116100dc5780638b83209b146105f95780638da5cb5b1461063657806395d89b41146106615780639852595c1461068c57610244565b80636352211e1461053f5780636a61e5fc1461057c57806370a08231146105a5578063715018a6146105e257610244565b80632f745c591161019057806342842e0e1161015f57806342842e0e1461045a5780634b94f50e146104835780634f6ccce7146104ae57806355f804b3146104eb5780635c975abb1461051457610244565b80632f745c59146103bf57806336566f06146103fc578063375a069a146104135780633a98ef391461042f57610244565b8063095ea7b3116101cc578063095ea7b31461031957806318160ddd14610342578063191655871461036d57806323b872dd1461039657610244565b806301ffc9a714610249578063031bd4c41461028657806306fdde03146102b1578063081812fc146102dc57610244565b36610244577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be77061022b61086d565b3460405161023a92919061339d565b60405180910390a1005b600080fd5b34801561025557600080fd5b50610270600480360381019061026b9190613432565b610875565b60405161027d919061347a565b60405180910390f35b34801561029257600080fd5b5061029b610887565b6040516102a89190613495565b60405180910390f35b3480156102bd57600080fd5b506102c661088d565b6040516102d39190613549565b60405180910390f35b3480156102e857600080fd5b5061030360048036038101906102fe9190613597565b61091f565b60405161031091906135c4565b60405180910390f35b34801561032557600080fd5b50610340600480360381019061033b919061360b565b6109a4565b005b34801561034e57600080fd5b50610357610abc565b6040516103649190613495565b60405180910390f35b34801561037957600080fd5b50610394600480360381019061038f9190613689565b610ac9565b005b3480156103a257600080fd5b506103bd60048036038101906103b891906136b6565b610d31565b005b3480156103cb57600080fd5b506103e660048036038101906103e1919061360b565b610d91565b6040516103f39190613495565b60405180910390f35b34801561040857600080fd5b50610411610e36565b005b61042d60048036038101906104289190613597565b610ed7565b005b34801561043b57600080fd5b50610444611032565b6040516104519190613495565b60405180910390f35b34801561046657600080fd5b50610481600480360381019061047c91906136b6565b61103c565b005b34801561048f57600080fd5b5061049861105c565b6040516104a59190613495565b60405180910390f35b3480156104ba57600080fd5b506104d560048036038101906104d09190613597565b611067565b6040516104e29190613495565b60405180910390f35b3480156104f757600080fd5b50610512600480360381019061050d919061383e565b6110d8565b005b34801561052057600080fd5b5061052961116f565b604051610536919061347a565b60405180910390f35b34801561054b57600080fd5b5061056660048036038101906105619190613597565b611186565b60405161057391906135c4565b60405180910390f35b34801561058857600080fd5b506105a3600480360381019061059e9190613597565b611238565b005b3480156105b157600080fd5b506105cc60048036038101906105c79190613887565b6112bf565b6040516105d99190613495565b60405180910390f35b3480156105ee57600080fd5b506105f7611377565b005b34801561060557600080fd5b50610620600480360381019061061b9190613597565b6113ff565b60405161062d91906135c4565b60405180910390f35b34801561064257600080fd5b5061064b611447565b60405161065891906135c4565b60405180910390f35b34801561066d57600080fd5b50610676611471565b6040516106839190613549565b60405180910390f35b34801561069857600080fd5b506106b360048036038101906106ae9190613887565b611503565b6040516106c09190613495565b60405180910390f35b3480156106d557600080fd5b506106f060048036038101906106eb91906138e0565b61154c565b005b3480156106fe57600080fd5b50610719600480360381019061071491906139c1565b6116cd565b005b34801561072757600080fd5b50610742600480360381019061073d9190613597565b61172f565b60405161074f9190613549565b60405180910390f35b34801561076457600080fd5b5061077f600480360381019061077a9190613887565b611741565b60405161078c9190613495565b60405180910390f35b6107af60048036038101906107aa9190613597565b61178a565b005b3480156107bd57600080fd5b506107c6611952565b6040516107d39190613495565b60405180910390f35b3480156107e857600080fd5b506107f161195c565b6040516107fe9190613549565b60405180910390f35b34801561081357600080fd5b5061082e60048036038101906108299190613a44565b6119eb565b60405161083b919061347a565b60405180910390f35b34801561085057600080fd5b5061086b60048036038101906108669190613887565b611a7f565b005b600033905090565b600061088082611b77565b9050919050565b61271081565b60606000805461089c90613ab3565b80601f01602080910402602001604051908101604052809291908181526020018280546108c890613ab3565b80156109155780601f106108ea57610100808354040283529160200191610915565b820191906000526020600020905b8154815290600101906020018083116108f857829003601f168201915b5050505050905090565b600061092a82611bf1565b610969576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161096090613b57565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109af82611186565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610a20576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a1790613be9565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a3f61086d565b73ffffffffffffffffffffffffffffffffffffffff161480610a6e5750610a6d81610a6861086d565b6119eb565b5b610aad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610aa490613c7b565b60405180910390fd5b610ab78383611c5d565b505050565b6000600980549050905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610b4b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b4290613d0d565b60405180910390fd5b6000600d5447610b5b9190613d5c565b90506000600f60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600c54600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610bed9190613db2565b610bf79190613e3b565b610c019190613e6c565b90506000811415610c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3e90613f12565b60405180910390fd5b80600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610c929190613d5c565b600f60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600d54610ce39190613d5c565b600d81905550610cf38382611d16565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051610d24929190613f91565b60405180910390a1505050565b610d42610d3c61086d565b82611e0a565b610d81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d789061402c565b60405180910390fd5b610d8c838383611ee8565b505050565b6000610d9c836112bf565b8210610ddd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dd4906140be565b60405180910390fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610e3e61086d565b73ffffffffffffffffffffffffffffffffffffffff16610e5c611447565b73ffffffffffffffffffffffffffffffffffffffff1614610eb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea99061412a565b60405180910390fd5b610eba61116f565b15610ecc57610ec7612144565b610ed5565b610ed46121e6565b5b565b60026011541415610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1490614196565b60405180910390fd5b6002601181905550610f2d61086d565b73ffffffffffffffffffffffffffffffffffffffff16610f4b611447565b73ffffffffffffffffffffffffffffffffffffffff1614610fa1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f989061412a565b60405180910390fd5b612710610fbe82610fb0610abc565b61228990919063ffffffff16565b1115610fff576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ff690614202565b60405180910390fd5b60005b81811015611026576110133361229f565b808061101e90614222565b915050611002565b50600160118190555050565b6000600c54905090565b611057838383604051806020016040528060008152506116cd565b505050565b600061272354905090565b6000611071610abc565b82106110b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a9906142dd565b60405180910390fd5b600982815481106110c6576110c56142fd565b5b90600052602060002001549050919050565b6110e061086d565b73ffffffffffffffffffffffffffffffffffffffff166110fe611447565b73ffffffffffffffffffffffffffffffffffffffff1614611154576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161114b9061412a565b60405180910390fd5b80612725908051906020019061116b9291906132a0565b5050565b6000600b60149054906101000a900460ff16905090565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561122f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112269061439e565b60405180910390fd5b80915050919050565b61124061086d565b73ffffffffffffffffffffffffffffffffffffffff1661125e611447565b73ffffffffffffffffffffffffffffffffffffffff16146112b4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112ab9061412a565b60405180910390fd5b806127238190555050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611330576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132790614430565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61137f61086d565b73ffffffffffffffffffffffffffffffffffffffff1661139d611447565b73ffffffffffffffffffffffffffffffffffffffff16146113f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113ea9061412a565b60405180910390fd5b6113fd60006122b9565b565b600060108281548110611415576114146142fd565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606001805461148090613ab3565b80601f01602080910402602001604051908101604052809291908181526020018280546114ac90613ab3565b80156114f95780601f106114ce576101008083540402835291602001916114f9565b820191906000526020600020905b8154815290600101906020018083116114dc57829003601f168201915b5050505050905090565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61155461086d565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115b99061449c565b60405180910390fd5b80600560006115cf61086d565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661167c61086d565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516116c1919061347a565b60405180910390a35050565b6116de6116d861086d565b83611e0a565b61171d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117149061402c565b60405180910390fd5b6117298484848461237f565b50505050565b606061173a826123db565b9050919050565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600260115414156117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c790614196565b60405180910390fd5b60026011819055506117e061116f565b15611820576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181790614508565b60405180910390fd5b61271061183d8261182f610abc565b61228990919063ffffffff16565b111561187e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161187590614202565b60405180910390fd5b612724548111156118c4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118bb90614574565b60405180910390fd5b346118df826118d161105c565b61252d90919063ffffffff16565b1461191f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611916906145e0565b60405180910390fd5b60005b81811015611946576119333361229f565b808061193e90614222565b915050611922565b50600160118190555050565b6000600d54905090565b612725805461196a90613ab3565b80601f016020809104026020016040519081016040528092919081815260200182805461199690613ab3565b80156119e35780601f106119b8576101008083540402835291602001916119e3565b820191906000526020600020905b8154815290600101906020018083116119c657829003601f168201915b505050505081565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611a8761086d565b73ffffffffffffffffffffffffffffffffffffffff16611aa5611447565b73ffffffffffffffffffffffffffffffffffffffff1614611afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af29061412a565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611b6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b6290614672565b60405180910390fd5b611b74816122b9565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611bea5750611be982612543565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611cd083611186565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b80471015611d59576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d50906146de565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff1682604051611d7f9061472f565b60006040518083038185875af1925050503d8060008114611dbc576040519150601f19603f3d011682016040523d82523d6000602084013e611dc1565b606091505b5050905080611e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfc906147b6565b60405180910390fd5b505050565b6000611e1582611bf1565b611e54576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e4b90614848565b60405180910390fd5b6000611e5f83611186565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611ece57508373ffffffffffffffffffffffffffffffffffffffff16611eb68461091f565b73ffffffffffffffffffffffffffffffffffffffff16145b80611edf5750611ede81856119eb565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611f0882611186565b73ffffffffffffffffffffffffffffffffffffffff1614611f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f55906148da565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611fce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fc59061496c565b60405180910390fd5b611fd9838383612625565b611fe4600082611c5d565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120349190613e6c565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461208b9190613d5c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b61214c61116f565b61218b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612182906149d8565b60405180910390fd5b6000600b60146101000a81548160ff0219169083151502179055507f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa6121cf61086d565b6040516121dc91906135c4565b60405180910390a1565b6121ee61116f565b1561222e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161222590614508565b60405180910390fd5b6001600b60146101000a81548160ff0219169083151502179055507f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861227261086d565b60405161227f91906135c4565b60405180910390a1565b600081836122979190613d5c565b905092915050565b60006122a9612635565b90506122b5828261279a565b5050565b6000600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b61238a848484611ee8565b612396848484846127b8565b6123d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016123cc90614a6a565b60405180910390fd5b50505050565b60606123e682611bf1565b612425576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161241c90614afc565b60405180910390fd5b600060066000848152602001908152602001600020805461244590613ab3565b80601f016020809104026020016040519081016040528092919081815260200182805461247190613ab3565b80156124be5780601f10612493576101008083540402835291602001916124be565b820191906000526020600020905b8154815290600101906020018083116124a157829003601f168201915b5050505050905060006124cf612940565b90506000815114156124e5578192505050612528565b60008251111561251a578082604051602001612502929190614b58565b60405160208183030381529060405292505050612528565b612523846129d3565b925050505b919050565b6000818361253b9190613db2565b905092915050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061260e57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061261e575061261d82612a7a565b5b9050919050565b612630838383612ae4565b505050565b600080612640610abc565b61271061264d9190613e6c565b905060008160125433444260405160200161266b9493929190614be5565b6040516020818303038152906040528051906020012060001c61268e9190614c33565b905060008060138361271081106126a8576126a76142fd565b5b0154146126cd5760138261271081106126c4576126c36142fd565b5b015490506126d1565b8190505b600060136001856126e29190613e6c565b61271081106126f4576126f36142fd565b5b01541415612728576001836127099190613e6c565b601383612710811061271e5761271d6142fd565b5b0181905550612766565b60136001846127379190613e6c565b6127108110612749576127486142fd565b5b015460138361271081106127605761275f6142fd565b5b01819055505b6012600081548092919061277990614222565b919050555061279260018261228990919063ffffffff16565b935050505090565b6127b4828260405180602001604052806000815250612bf8565b5050565b60006127d98473ffffffffffffffffffffffffffffffffffffffff16612c53565b15612933578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261280261086d565b8786866040518563ffffffff1660e01b81526004016128249493929190614cb9565b6020604051808303816000875af192505050801561286057506040513d601f19601f8201168201806040525081019061285d9190614d1a565b60015b6128e3573d8060008114612890576040519150601f19603f3d011682016040523d82523d6000602084013e612895565b606091505b506000815114156128db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128d290614a6a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612938565b600190505b949350505050565b6060612725805461295090613ab3565b80601f016020809104026020016040519081016040528092919081815260200182805461297c90613ab3565b80156129c95780601f1061299e576101008083540402835291602001916129c9565b820191906000526020600020905b8154815290600101906020018083116129ac57829003601f168201915b5050505050905090565b60606129de82611bf1565b612a1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a1490614db9565b60405180910390fd5b6000612a27612940565b90506000815111612a475760405180602001604052806000815250612a72565b80612a5184612c66565b604051602001612a62929190614b58565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612aef838383612dc7565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612b3257612b2d81612dcc565b612b71565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612b7057612b6f8382612e15565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612bb457612baf81612f82565b612bf3565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612bf257612bf18282613053565b5b5b505050565b612c0283836130d2565b612c0f60008484846127b8565b612c4e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c4590614a6a565b60405180910390fd5b505050565b600080823b905060008111915050919050565b60606000821415612cae576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612dc2565b600082905060005b60008214612ce0578080612cc990614222565b915050600a82612cd99190613e3b565b9150612cb6565b60008167ffffffffffffffff811115612cfc57612cfb613713565b5b6040519080825280601f01601f191660200182016040528015612d2e5781602001600182028036833780820191505090505b5090505b60008514612dbb57600182612d479190613e6c565b9150600a85612d569190614c33565b6030612d629190613d5c565b60f81b818381518110612d7857612d776142fd565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612db49190613e3b565b9450612d32565b8093505050505b919050565b505050565b600980549050600a600083815260200190815260200160002081905550600981908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001612e22846112bf565b612e2c9190613e6c565b9050600060086000848152602001908152602001600020549050818114612f11576000600760008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600760008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816008600083815260200190815260200160002081905550505b6008600084815260200190815260200160002060009055600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600980549050612f969190613e6c565b90506000600a6000848152602001908152602001600020549050600060098381548110612fc657612fc56142fd565b5b906000526020600020015490508060098381548110612fe857612fe76142fd565b5b906000526020600020018190555081600a600083815260200190815260200160002081905550600a600085815260200190815260200160002060009055600980548061303757613036614dd9565b5b6001900381819060005260206000200160009055905550505050565b600061305e836112bf565b905081600760008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806008600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613142576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161313990614e54565b60405180910390fd5b61314b81611bf1565b1561318b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161318290614ec0565b60405180910390fd5b61319760008383612625565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546131e79190613d5c565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546132ac90613ab3565b90600052602060002090601f0160209004810192826132ce5760008555613315565b82601f106132e757805160ff1916838001178555613315565b82800160010185558215613315579182015b828111156133145782518255916020019190600101906132f9565b5b5090506133229190613326565b5090565b5b8082111561333f576000816000905550600101613327565b5090565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061336e82613343565b9050919050565b61337e81613363565b82525050565b6000819050919050565b61339781613384565b82525050565b60006040820190506133b26000830185613375565b6133bf602083018461338e565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61340f816133da565b811461341a57600080fd5b50565b60008135905061342c81613406565b92915050565b600060208284031215613448576134476133d0565b5b60006134568482850161341d565b91505092915050565b60008115159050919050565b6134748161345f565b82525050565b600060208201905061348f600083018461346b565b92915050565b60006020820190506134aa600083018461338e565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156134ea5780820151818401526020810190506134cf565b838111156134f9576000848401525b50505050565b6000601f19601f8301169050919050565b600061351b826134b0565b61352581856134bb565b93506135358185602086016134cc565b61353e816134ff565b840191505092915050565b600060208201905081810360008301526135638184613510565b905092915050565b61357481613384565b811461357f57600080fd5b50565b6000813590506135918161356b565b92915050565b6000602082840312156135ad576135ac6133d0565b5b60006135bb84828501613582565b91505092915050565b60006020820190506135d96000830184613375565b92915050565b6135e881613363565b81146135f357600080fd5b50565b600081359050613605816135df565b92915050565b60008060408385031215613622576136216133d0565b5b6000613630858286016135f6565b925050602061364185828601613582565b9150509250929050565b600061365682613343565b9050919050565b6136668161364b565b811461367157600080fd5b50565b6000813590506136838161365d565b92915050565b60006020828403121561369f5761369e6133d0565b5b60006136ad84828501613674565b91505092915050565b6000806000606084860312156136cf576136ce6133d0565b5b60006136dd868287016135f6565b93505060206136ee868287016135f6565b92505060406136ff86828701613582565b9150509250925092565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61374b826134ff565b810181811067ffffffffffffffff8211171561376a57613769613713565b5b80604052505050565b600061377d6133c6565b90506137898282613742565b919050565b600067ffffffffffffffff8211156137a9576137a8613713565b5b6137b2826134ff565b9050602081019050919050565b82818337600083830152505050565b60006137e16137dc8461378e565b613773565b9050828152602081018484840111156137fd576137fc61370e565b5b6138088482856137bf565b509392505050565b600082601f83011261382557613824613709565b5b81356138358482602086016137ce565b91505092915050565b600060208284031215613854576138536133d0565b5b600082013567ffffffffffffffff811115613872576138716133d5565b5b61387e84828501613810565b91505092915050565b60006020828403121561389d5761389c6133d0565b5b60006138ab848285016135f6565b91505092915050565b6138bd8161345f565b81146138c857600080fd5b50565b6000813590506138da816138b4565b92915050565b600080604083850312156138f7576138f66133d0565b5b6000613905858286016135f6565b9250506020613916858286016138cb565b9150509250929050565b600067ffffffffffffffff82111561393b5761393a613713565b5b613944826134ff565b9050602081019050919050565b600061396461395f84613920565b613773565b9050828152602081018484840111156139805761397f61370e565b5b61398b8482856137bf565b509392505050565b600082601f8301126139a8576139a7613709565b5b81356139b8848260208601613951565b91505092915050565b600080600080608085870312156139db576139da6133d0565b5b60006139e9878288016135f6565b94505060206139fa878288016135f6565b9350506040613a0b87828801613582565b925050606085013567ffffffffffffffff811115613a2c57613a2b6133d5565b5b613a3887828801613993565b91505092959194509250565b60008060408385031215613a5b57613a5a6133d0565b5b6000613a69858286016135f6565b9250506020613a7a858286016135f6565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613acb57607f821691505b60208210811415613adf57613ade613a84565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613b41602c836134bb565b9150613b4c82613ae5565b604082019050919050565b60006020820190508181036000830152613b7081613b34565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000613bd36021836134bb565b9150613bde82613b77565b604082019050919050565b60006020820190508181036000830152613c0281613bc6565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000613c656038836134bb565b9150613c7082613c09565b604082019050919050565b60006020820190508181036000830152613c9481613c58565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000613cf76026836134bb565b9150613d0282613c9b565b604082019050919050565b60006020820190508181036000830152613d2681613cea565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613d6782613384565b9150613d7283613384565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613da757613da6613d2d565b5b828201905092915050565b6000613dbd82613384565b9150613dc883613384565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613e0157613e00613d2d565b5b828202905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613e4682613384565b9150613e5183613384565b925082613e6157613e60613e0c565b5b828204905092915050565b6000613e7782613384565b9150613e8283613384565b925082821015613e9557613e94613d2d565b5b828203905092915050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b6000613efc602b836134bb565b9150613f0782613ea0565b604082019050919050565b60006020820190508181036000830152613f2b81613eef565b9050919050565b6000819050919050565b6000613f57613f52613f4d84613343565b613f32565b613343565b9050919050565b6000613f6982613f3c565b9050919050565b6000613f7b82613f5e565b9050919050565b613f8b81613f70565b82525050565b6000604082019050613fa66000830185613f82565b613fb3602083018461338e565b9392505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006140166031836134bb565b915061402182613fba565b604082019050919050565b6000602082019050818103600083015261404581614009565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006140a8602b836134bb565b91506140b38261404c565b604082019050919050565b600060208201905081810360008301526140d78161409b565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141146020836134bb565b915061411f826140de565b602082019050919050565b6000602082019050818103600083015261414381614107565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614180601f836134bb565b915061418b8261414a565b602082019050919050565b600060208201905081810360008301526141af81614173565b9050919050565b7f45786365656473206d617820737570706c79206f6620746f6b656e7300000000600082015250565b60006141ec601c836134bb565b91506141f7826141b6565b602082019050919050565b6000602082019050818103600083015261421b816141df565b9050919050565b600061422d82613384565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156142605761425f613d2d565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b60006142c7602c836134bb565b91506142d28261426b565b604082019050919050565b600060208201905081810360008301526142f6816142ba565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b60006143886029836134bb565b91506143938261432c565b604082019050919050565b600060208201905081810360008301526143b78161437b565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600061441a602a836134bb565b9150614425826143be565b604082019050919050565b600060208201905081810360008301526144498161440d565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006144866019836134bb565b915061449182614450565b602082019050919050565b600060208201905081810360008301526144b581614479565b9050919050565b7f5061757361626c653a2070617573656400000000000000000000000000000000600082015250565b60006144f26010836134bb565b91506144fd826144bc565b602082019050919050565b60006020820190508181036000830152614521816144e5565b9050919050565b7f546f6f206d616e7920746f6b656e730000000000000000000000000000000000600082015250565b600061455e600f836134bb565b915061456982614528565b602082019050919050565b6000602082019050818103600083015261458d81614551565b9050919050565b7f496e73756666696369656e742066756e64730000000000000000000000000000600082015250565b60006145ca6012836134bb565b91506145d582614594565b602082019050919050565b600060208201905081810360008301526145f9816145bd565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061465c6026836134bb565b915061466782614600565b604082019050919050565b6000602082019050818103600083015261468b8161464f565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006146c8601d836134bb565b91506146d382614692565b602082019050919050565b600060208201905081810360008301526146f7816146bb565b9050919050565b600081905092915050565b50565b60006147196000836146fe565b915061472482614709565b600082019050919050565b600061473a8261470c565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006147a0603a836134bb565b91506147ab82614744565b604082019050919050565b600060208201905081810360008301526147cf81614793565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614832602c836134bb565b915061483d826147d6565b604082019050919050565b6000602082019050818103600083015261486181614825565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006148c46029836134bb565b91506148cf82614868565b604082019050919050565b600060208201905081810360008301526148f3816148b7565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b60006149566024836134bb565b9150614961826148fa565b604082019050919050565b6000602082019050818103600083015261498581614949565b9050919050565b7f5061757361626c653a206e6f7420706175736564000000000000000000000000600082015250565b60006149c26014836134bb565b91506149cd8261498c565b602082019050919050565b600060208201905081810360008301526149f1816149b5565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614a546032836134bb565b9150614a5f826149f8565b604082019050919050565b60006020820190508181036000830152614a8381614a47565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000614ae66031836134bb565b9150614af182614a8a565b604082019050919050565b60006020820190508181036000830152614b1581614ad9565b9050919050565b600081905092915050565b6000614b32826134b0565b614b3c8185614b1c565b9350614b4c8185602086016134cc565b80840191505092915050565b6000614b648285614b27565b9150614b708284614b27565b91508190509392505050565b6000819050919050565b614b97614b9282613384565b614b7c565b82525050565b60008160601b9050919050565b6000614bb582614b9d565b9050919050565b6000614bc782614baa565b9050919050565b614bdf614bda82613363565b614bbc565b82525050565b6000614bf18287614b86565b602082019150614c018286614bce565b601482019150614c118285614b86565b602082019150614c218284614b86565b60208201915081905095945050505050565b6000614c3e82613384565b9150614c4983613384565b925082614c5957614c58613e0c565b5b828206905092915050565b600081519050919050565b600082825260208201905092915050565b6000614c8b82614c64565b614c958185614c6f565b9350614ca58185602086016134cc565b614cae816134ff565b840191505092915050565b6000608082019050614cce6000830187613375565b614cdb6020830186613375565b614ce8604083018561338e565b8181036060830152614cfa8184614c80565b905095945050505050565b600081519050614d1481613406565b92915050565b600060208284031215614d3057614d2f6133d0565b5b6000614d3e84828501614d05565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000614da3602f836134bb565b9150614dae82614d47565b604082019050919050565b60006020820190508181036000830152614dd281614d96565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000614e3e6020836134bb565b9150614e4982614e08565b602082019050919050565b60006020820190508181036000830152614e6d81614e31565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000614eaa601c836134bb565b9150614eb582614e74565b602082019050919050565b60006020820190508181036000830152614ed981614e9d565b905091905056fea264697066735822122043ee3cf8d29dcc2f71f3cc818d59600eb951117ed38a8f41c9077331e0a2c02564736f6c634300080a0033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|---|---|---|---|---|
ETH | Ether (ETH) | 100.00% | $3,670.98 | 2.46 | $9,030.61 |
Loading...
Loading
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.