Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 85 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Set Approval For... | 20265889 | 52 days ago | IN | 0 ETH | 0.00010275 | ||||
Set Approval For... | 20114741 | 73 days ago | IN | 0 ETH | 0.00011175 | ||||
Set Approval For... | 16565475 | 572 days ago | IN | 0 ETH | 0.000774 | ||||
Set Approval For... | 16221889 | 619 days ago | IN | 0 ETH | 0.00118504 | ||||
Set Approval For... | 15236219 | 763 days ago | IN | 0 ETH | 0.00048532 | ||||
Transfer From | 15176029 | 772 days ago | IN | 0 ETH | 0.00197426 | ||||
Set Approval For... | 15117928 | 781 days ago | IN | 0 ETH | 0.00052354 | ||||
Transfer From | 14625710 | 862 days ago | IN | 0 ETH | 0.00368117 | ||||
Set Approval For... | 14613937 | 864 days ago | IN | 0 ETH | 0.00110515 | ||||
Transfer From | 14613866 | 864 days ago | IN | 0 ETH | 0.00069717 | ||||
Transfer From | 14613866 | 864 days ago | IN | 0 ETH | 0.00071706 | ||||
Set Approval For... | 14613866 | 864 days ago | IN | 0 ETH | 0.00077577 | ||||
Set Approval For... | 14613866 | 864 days ago | IN | 0 ETH | 0.00077577 | ||||
Transfer From | 14613865 | 864 days ago | IN | 0 ETH | 0.00242685 | ||||
Set Approval For... | 14613863 | 864 days ago | IN | 0 ETH | 0.0013595 | ||||
Transfer From | 14149562 | 936 days ago | IN | 0 ETH | 0.00528707 | ||||
Transfer From | 14041796 | 953 days ago | IN | 0 ETH | 0.00633145 | ||||
Transfer From | 14041792 | 953 days ago | IN | 0 ETH | 0.00448317 | ||||
Transfer From | 14041787 | 953 days ago | IN | 0 ETH | 0.00748553 | ||||
Set Approval For... | 14013046 | 957 days ago | IN | 0 ETH | 0.00542539 | ||||
Withdraw All Eth | 13808354 | 989 days ago | IN | 0 ETH | 0.00266879 | ||||
Mint Resonate | 13713058 | 1004 days ago | IN | 0.05 ETH | 0.01939194 | ||||
Mint Resonate | 13623166 | 1018 days ago | IN | 0.05 ETH | 0.02467365 | ||||
Transfer From | 13623044 | 1018 days ago | IN | 0 ETH | 0.0137494 | ||||
Transfer From | 13606536 | 1021 days ago | IN | 0 ETH | 0.0118343 |
Latest 1 internal transaction
Advanced mode:
Parent Transaction Hash | Block | From | To | |||
---|---|---|---|---|---|---|
13808354 | 989 days ago | 2.3 ETH |
Loading...
Loading
Contract Name:
ResonateNFT
Compiler Version
v0.8.9+commit.e5eed63a
Optimization Enabled:
No with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // @title: Resonate // @author: Mike Fucking Tamis pragma solidity ^0.8.7; 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/utils/Strings.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/utils/math/Math.sol"; import "@openzeppelin/contracts/interfaces/IERC1271.sol"; contract ResonateNFT is ERC721, ERC721URIStorage, Ownable, ERC721Enumerable, ReentrancyGuard, IERC1271 { using Address for address payable; using SafeMath for uint256; using ECDSA for bytes32; event MintResonateSuccess( uint256 indexed _tokenId, string indexed _word, address _human ); enum MintFailure { MaxPreSaleMint, IncorrectSignature, WordTaken } bool private _publicMinting = false; mapping(address => uint256) private _presaleMintAmount; event MintResonateFail(address _human, string _word, MintFailure _reason); uint256 public constant MAX_RESONATES = 10000; uint256 public constant MAX_PURCHASE = 6; uint256 public constant MAX_PRESALE_MINT = 3; uint256 public constant RESONATE_PRICE = 5E16; bytes4 internal constant MAGICVALUE = 0x1626ba7e; mapping(string => uint256) private _wordToToken; mapping(uint256 => string) private _tokenToWord; string private _tokenUriBase; address private _signingAddress; string private _immutableIPFSBucket; constructor() ERC721("Resonate", "RST") {} function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) { super._burn(tokenId); } function _isValidSignature(bytes32 hash, bytes memory signature) internal view returns (bool) { return ECDSA.recover(hash, signature) == _signingAddress; } function isValidSignature(bytes32 hash, bytes memory signature) external view override(IERC1271) returns (bytes4 magicValue) { if (_isValidSignature(hash, signature)) { return MAGICVALUE; } return 0xffffffff; } function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal override(ERC721, ERC721Enumerable) { super._beforeTokenTransfer(from, to, tokenId); } function setPublicMinting() public onlyOwner { _publicMinting = true; } function setImmutableIPFSBucket(string memory immutableIPFSBucket_) public onlyOwner { require( bytes(_immutableIPFSBucket).length == 0, "This IPFS bucket is immutable and can only be set once." ); _immutableIPFSBucket = immutableIPFSBucket_; } function immutableIPFSBucket() public view virtual returns (string memory) { return _immutableIPFSBucket; } function setTokenURI(string memory tokenUriBase_) public onlyOwner { _tokenUriBase = tokenUriBase_; } function setSigningAddress(address signingAddress_) public onlyOwner { _signingAddress = signingAddress_; } function baseTokenURI() public view virtual returns (string memory) { return _tokenUriBase; } function tokenURI(uint256 tokenId) public view override(ERC721, ERC721URIStorage) returns (string memory) { return string(abi.encodePacked(baseTokenURI(), Strings.toString(tokenId))); } function supportsInterface(bytes4 interfaceId) public view override(ERC721, ERC721Enumerable) returns (bool) { return super.supportsInterface(interfaceId); } function prefixed(bytes32 hash) internal pure returns (bytes32) { return keccak256( abi.encodePacked("\x19Ethereum Signed Message:\n32", hash) ); } function mintHash(address human, string memory word) public pure returns (bytes32) { return prefixed(keccak256(abi.encodePacked(word, human))); } function _unsafeMintResonate(address human, string memory word) private { uint256 nextTokenId = totalSupply() + 1; _safeMint(human, nextTokenId); _wordToToken[word] = nextTokenId; _tokenToWord[nextTokenId] = word; emit MintResonateSuccess(nextTokenId, word, human); } function onlyOwnerMintResonate(address human, string[] memory words) public onlyOwner { for ( uint256 i = 0; i < Math.min(words.length, MAX_RESONATES.sub(totalSupply())); i++ ) { if (_wordToToken[words[i]] != 0) { emit MintResonateFail(human, words[i], MintFailure.WordTaken); continue; } _unsafeMintResonate(human, words[i]); } } function _mintSingleResonate( address human, string memory word, bytes memory signature ) internal virtual returns (bool) { if (_wordToToken[word] != 0) { emit MintResonateFail(human, word, MintFailure.WordTaken); return false; } if (!_isValidSignature(mintHash(human, word), signature)) { emit MintResonateFail(human, word, MintFailure.IncorrectSignature); return false; } if (!_publicMinting) { if (_presaleMintAmount[human] >= MAX_PRESALE_MINT) { emit MintResonateFail(human, word, MintFailure.MaxPreSaleMint); return false; } _presaleMintAmount[human] += 1; } _unsafeMintResonate(human, word); return true; } function getWordFromToken(uint256 index) public view virtual returns (string memory) { return _tokenToWord[index]; } function getTokenFromWord(string memory word) public view virtual returns (uint256) { return _wordToToken[word]; } function mintResonate( address payable human, string[] memory words, bytes[] memory signatures ) public payable virtual nonReentrant { uint256 payment = msg.value; require(words.length <= MAX_PURCHASE, "Purchasing more than max."); require(totalSupply() < MAX_RESONATES, "All Resonates purchased."); require( RESONATE_PRICE.mul(words.length) <= payment, "Hey, that's not the right price." ); uint256 totalPurchase = 0; for ( uint256 i = 0; i < Math.min(words.length, MAX_RESONATES.sub(totalSupply())); i++ ) { if (_mintSingleResonate(human, words[i], signatures[i])) { totalPurchase++; } } human.transfer(payment.sub(totalPurchase.mul(RESONATE_PRICE))); } function withdrawAllEth(address payable payee) public virtual onlyOwner { payee.sendValue(address(this).balance); } }
// 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 Standard math utilities missing in the Solidity language. */ library Math { /** * @dev Returns the largest of two numbers. */ function max(uint256 a, uint256 b) internal pure returns (uint256) { return a >= b ? a : b; } /** * @dev Returns the smallest of two numbers. */ function min(uint256 a, uint256 b) internal pure returns (uint256) { return a < b ? a : b; } /** * @dev Returns the average of two numbers. The result is rounded towards * zero. */ function average(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b) / 2 can overflow. return (a & b) + (a ^ b) / 2; } /** * @dev Returns the ceiling of the division of two numbers. * * This differs from standard division with `/` in that it rounds up instead * of rounding down. */ function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) { // (a + b - 1) / b can overflow on addition, so we distribute. return a / b + (a % b == 0 ? 0 : 1); } }
// 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 Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s; uint8 v; assembly { s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff) v := add(shr(255, vs), 27) } return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// 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; /** * @dev Interface of the ERC1271 standard signature validation method for * contracts as defined in https://eips.ethereum.org/EIPS/eip-1271[ERC-1271]. * * _Available since v4.1._ */ interface IERC1271 { /** * @dev Should return whether the signature provided is valid for the provided data * @param hash Hash of the data to be signed * @param signature Signature byte array associated with _data */ function isValidSignature(bytes32 hash, bytes memory signature) external view returns (bytes4 magicValue); }
// 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":false,"internalType":"address","name":"_human","type":"address"},{"indexed":false,"internalType":"string","name":"_word","type":"string"},{"indexed":false,"internalType":"enum ResonateNFT.MintFailure","name":"_reason","type":"uint8"}],"name":"MintResonateFail","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":true,"internalType":"string","name":"_word","type":"string"},{"indexed":false,"internalType":"address","name":"_human","type":"address"}],"name":"MintResonateSuccess","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"MAX_PRESALE_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_PURCHASE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESONATES","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESONATE_PRICE","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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"word","type":"string"}],"name":"getTokenFromWord","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getWordFromToken","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"immutableIPFSBucket","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"bytes32","name":"hash","type":"bytes32"},{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"isValidSignature","outputs":[{"internalType":"bytes4","name":"magicValue","type":"bytes4"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"human","type":"address"},{"internalType":"string","name":"word","type":"string"}],"name":"mintHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address payable","name":"human","type":"address"},{"internalType":"string[]","name":"words","type":"string[]"},{"internalType":"bytes[]","name":"signatures","type":"bytes[]"}],"name":"mintResonate","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"human","type":"address"},{"internalType":"string[]","name":"words","type":"string[]"}],"name":"onlyOwnerMintResonate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"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":"immutableIPFSBucket_","type":"string"}],"name":"setImmutableIPFSBucket","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPublicMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"signingAddress_","type":"address"}],"name":"setSigningAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"tokenUriBase_","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"payee","type":"address"}],"name":"withdrawAllEth","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040526000600d60006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b506040518060400160405280600881526020017f5265736f6e6174650000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f52535400000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000b1929190620001c9565b508060019080519060200190620000ca929190620001c9565b505050620000ed620000e1620000fb60201b60201c565b6200010360201b60201c565b6001600c81905550620002de565b600033905090565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620001d790620002a8565b90600052602060002090601f016020900481019282620001fb576000855562000247565b82601f106200021657805160ff191683800117855562000247565b8280016001018555821562000247579182015b828111156200024657825182559160200191906001019062000229565b5b5090506200025691906200025a565b5090565b5b80821115620002755760008160009055506001016200025b565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620002c157607f821691505b60208210811415620002d857620002d762000279565b5b50919050565b61566280620002ee6000396000f3fe60806040526004361061020f5760003560e01c80638376acfb11610118578063bd70587b116100a0578063d46d79bb1161006f578063d46d79bb146107c8578063d547cfb7146107f1578063e0df5b6f1461081c578063e985e9c514610845578063f2fde38b146108825761020f565b8063bd70587b146106fa578063c87b56dd14610737578063d0e54e7014610774578063d36fa2421461079d5761020f565b8063a22cb465116100e7578063a22cb4651461063b578063a70f1fbe14610664578063ac915c061461068f578063b0b61212146106a6578063b88d4fde146106d15761020f565b80638376acfb1461058c5780638d78fa69146105a85780638da5cb5b146105e557806395d89b41146106105761020f565b806323b872dd1161019b5780634f6ccce71161016a5780634f6ccce7146104935780636352211e146104d057806370a082311461050d5780637146bd081461054a578063715018a6146105755761020f565b806323b872dd146103db5780632f745c591461040457806331beb6051461044157806342842e0e1461046a5761020f565b8063095ea7b3116101e2578063095ea7b3146102e25780630ae22d771461030b5780631626ba7e1461034857806318160ddd146103855780631e753360146103b05761020f565b806301ffc9a71461021457806305be3f381461025157806306fdde031461027a578063081812fc146102a5575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906136d5565b6108ab565b604051610248919061371d565b60405180910390f35b34801561025d57600080fd5b506102786004803603810190610273919061387e565b6108bd565b005b34801561028657600080fd5b5061028f6109a4565b60405161029c919061394f565b60405180910390f35b3480156102b157600080fd5b506102cc60048036038101906102c791906139a7565b610a36565b6040516102d99190613a15565b60405180910390f35b3480156102ee57600080fd5b5061030960048036038101906103049190613a5c565b610abb565b005b34801561031757600080fd5b50610332600480360381019061032d919061387e565b610bd3565b60405161033f9190613aab565b60405180910390f35b34801561035457600080fd5b5061036f600480360381019061036a9190613b9d565b610bfb565b60405161037c9190613c08565b60405180910390f35b34801561039157600080fd5b5061039a610c2c565b6040516103a79190613aab565b60405180910390f35b3480156103bc57600080fd5b506103c5610c39565b6040516103d2919061394f565b60405180910390f35b3480156103e757600080fd5b5061040260048036038101906103fd9190613c23565b610ccb565b005b34801561041057600080fd5b5061042b60048036038101906104269190613a5c565b610d2b565b6040516104389190613aab565b60405180910390f35b34801561044d57600080fd5b5061046860048036038101906104639190613c76565b610dd0565b005b34801561047657600080fd5b50610491600480360381019061048c9190613c23565b610e90565b005b34801561049f57600080fd5b506104ba60048036038101906104b591906139a7565b610eb0565b6040516104c79190613aab565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f291906139a7565b610f21565b6040516105049190613a15565b60405180910390f35b34801561051957600080fd5b50610534600480360381019061052f9190613c76565b610fd3565b6040516105419190613aab565b60405180910390f35b34801561055657600080fd5b5061055f61108b565b60405161056c9190613aab565b60405180910390f35b34801561058157600080fd5b5061058a611090565b005b6105a660048036038101906105a19190613ea8565b611118565b005b3480156105b457600080fd5b506105cf60048036038101906105ca9190613f33565b611371565b6040516105dc9190613f9e565b60405180910390f35b3480156105f157600080fd5b506105fa6113ac565b6040516106079190613a15565b60405180910390f35b34801561061c57600080fd5b506106256113d6565b604051610632919061394f565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d9190613fe5565b611468565b005b34801561067057600080fd5b506106796115e9565b6040516106869190613aab565b60405180910390f35b34801561069b57600080fd5b506106a46115ee565b005b3480156106b257600080fd5b506106bb611687565b6040516106c89190613aab565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f39190614025565b61168d565b005b34801561070657600080fd5b50610721600480360381019061071c91906139a7565b6116ef565b60405161072e919061394f565b60405180910390f35b34801561074357600080fd5b5061075e600480360381019061075991906139a7565b611794565b60405161076b919061394f565b60405180910390f35b34801561078057600080fd5b5061079b600480360381019061079691906140a8565b6117ce565b005b3480156107a957600080fd5b506107b2611952565b6040516107bf9190613aab565b60405180910390f35b3480156107d457600080fd5b506107ef60048036038101906107ea9190614104565b61195d565b005b3480156107fd57600080fd5b50610806611a05565b604051610813919061394f565b60405180910390f35b34801561082857600080fd5b50610843600480360381019061083e919061387e565b611a97565b005b34801561085157600080fd5b5061086c60048036038101906108679190614131565b611b2d565b604051610879919061371d565b60405180910390f35b34801561088e57600080fd5b506108a960048036038101906108a49190613c76565b611bc1565b005b60006108b682611cb9565b9050919050565b6108c5611d33565b73ffffffffffffffffffffffffffffffffffffffff166108e36113ac565b73ffffffffffffffffffffffffffffffffffffffff1614610939576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610930906141bd565b60405180910390fd5b6000601380546109489061420c565b90501461098a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610981906142b0565b60405180910390fd5b80601390805190602001906109a09291906135c6565b5050565b6060600080546109b39061420c565b80601f01602080910402602001604051908101604052809291908181526020018280546109df9061420c565b8015610a2c5780601f10610a0157610100808354040283529160200191610a2c565b820191906000526020600020905b815481529060010190602001808311610a0f57829003601f168201915b5050505050905090565b6000610a4182611d3b565b610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7790614342565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac682610f21565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2e906143d4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b56611d33565b73ffffffffffffffffffffffffffffffffffffffff161480610b855750610b8481610b7f611d33565b611b2d565b5b610bc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbb90614466565b60405180910390fd5b610bce8383611da7565b505050565b6000600f82604051610be591906144c2565b9081526020016040518091039020549050919050565b6000610c078383611e60565b15610c1b57631626ba7e60e01b9050610c26565b63ffffffff60e01b90505b92915050565b6000600a80549050905090565b606060138054610c489061420c565b80601f0160208091040260200160405190810160405280929190818152602001828054610c749061420c565b8015610cc15780601f10610c9657610100808354040283529160200191610cc1565b820191906000526020600020905b815481529060010190602001808311610ca457829003601f168201915b5050505050905090565b610cdc610cd6611d33565b82611ec4565b610d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d129061454b565b60405180910390fd5b610d26838383611fa2565b505050565b6000610d3683610fd3565b8210610d77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6e906145dd565b60405180910390fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610dd8611d33565b73ffffffffffffffffffffffffffffffffffffffff16610df66113ac565b73ffffffffffffffffffffffffffffffffffffffff1614610e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e43906141bd565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610eab8383836040518060200160405280600081525061168d565b505050565b6000610eba610c2c565b8210610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef29061466f565b60405180910390fd5b600a8281548110610f0f57610f0e61468f565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc190614730565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103b906147c2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600681565b611098611d33565b73ffffffffffffffffffffffffffffffffffffffff166110b66113ac565b73ffffffffffffffffffffffffffffffffffffffff161461110c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611103906141bd565b60405180910390fd5b61111660006121fe565b565b6002600c54141561115e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111559061482e565b60405180910390fd5b6002600c8190555060003490506006835111156111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a79061489a565b60405180910390fd5b6127106111bb610c2c565b106111fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f290614906565b60405180910390fd5b80611217845166b1a2bc2ec500006122c490919063ffffffff16565b1115611258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124f90614972565b60405180910390fd5b6000805b611282855161127d61126c610c2c565b6127106122da90919063ffffffff16565b6122f0565b8110156112ef576112c8868683815181106112a05761129f61468f565b5b60200260200101518684815181106112bb576112ba61468f565b5b6020026020010151612309565b156112dc5781806112d8906149c1565b9250505b80806112e7906149c1565b91505061125c565b508473ffffffffffffffffffffffffffffffffffffffff166108fc61133661132766b1a2bc2ec50000856122c490919063ffffffff16565b856122da90919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611361573d6000803e3d6000fd5b5050506001600c81905550505050565b60006113a48284604051602001611389929190614a52565b604051602081830303815290604052805190602001206124df565b905092915050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546113e59061420c565b80601f01602080910402602001604051908101604052809291908181526020018280546114119061420c565b801561145e5780601f106114335761010080835404028352916020019161145e565b820191906000526020600020905b81548152906001019060200180831161144157829003601f168201915b5050505050905090565b611470611d33565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d590614ac6565b60405180910390fd5b80600560006114eb611d33565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611598611d33565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115dd919061371d565b60405180910390a35050565b600381565b6115f6611d33565b73ffffffffffffffffffffffffffffffffffffffff166116146113ac565b73ffffffffffffffffffffffffffffffffffffffff161461166a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611661906141bd565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b61271081565b61169e611698611d33565b83611ec4565b6116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d49061454b565b60405180910390fd5b6116e98484848461250f565b50505050565b606060106000838152602001908152602001600020805461170f9061420c565b80601f016020809104026020016040519081016040528092919081815260200182805461173b9061420c565b80156117885780601f1061175d57610100808354040283529160200191611788565b820191906000526020600020905b81548152906001019060200180831161176b57829003601f168201915b50505050509050919050565b606061179e611a05565b6117a78361256b565b6040516020016117b8929190614ae6565b6040516020818303038152906040529050919050565b6117d6611d33565b73ffffffffffffffffffffffffffffffffffffffff166117f46113ac565b73ffffffffffffffffffffffffffffffffffffffff161461184a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611841906141bd565b60405180910390fd5b60005b611873825161186e61185d610c2c565b6127106122da90919063ffffffff16565b6122f0565b81101561194d576000600f8383815181106118915761189061468f565b5b60200260200101516040516118a691906144c2565b90815260200160405180910390205414611915577f161b0e701504f35b5c6d796f7edadcbcd7158077cfbc939cf1f684c62570d1d3838383815181106118ef576118ee61468f565b5b6020026020010151600260405161190893929190614b81565b60405180910390a161193a565b6119398383838151811061192c5761192b61468f565b5b60200260200101516126cc565b5b8080611945906149c1565b91505061184d565b505050565b66b1a2bc2ec5000081565b611965611d33565b73ffffffffffffffffffffffffffffffffffffffff166119836113ac565b73ffffffffffffffffffffffffffffffffffffffff16146119d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d0906141bd565b60405180910390fd5b611a02478273ffffffffffffffffffffffffffffffffffffffff1661278c90919063ffffffff16565b50565b606060118054611a149061420c565b80601f0160208091040260200160405190810160405280929190818152602001828054611a409061420c565b8015611a8d5780601f10611a6257610100808354040283529160200191611a8d565b820191906000526020600020905b815481529060010190602001808311611a7057829003601f168201915b5050505050905090565b611a9f611d33565b73ffffffffffffffffffffffffffffffffffffffff16611abd6113ac565b73ffffffffffffffffffffffffffffffffffffffff1614611b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0a906141bd565b60405180910390fd5b8060119080519060200190611b299291906135c6565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bc9611d33565b73ffffffffffffffffffffffffffffffffffffffff16611be76113ac565b73ffffffffffffffffffffffffffffffffffffffff1614611c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c34906141bd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca490614c31565b60405180910390fd5b611cb6816121fe565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d2c5750611d2b82612880565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e1a83610f21565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ea58484612962565b73ffffffffffffffffffffffffffffffffffffffff1614905092915050565b6000611ecf82611d3b565b611f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0590614cc3565b60405180910390fd5b6000611f1983610f21565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f8857508373ffffffffffffffffffffffffffffffffffffffff16611f7084610a36565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f995750611f988185611b2d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fc282610f21565b73ffffffffffffffffffffffffffffffffffffffff1614612018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200f90614d55565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207f90614de7565b60405180910390fd5b612093838383612989565b61209e600082611da7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120ee9190614e07565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121459190614e3b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081836122d29190614e91565b905092915050565b600081836122e89190614e07565b905092915050565b60008183106122ff5781612301565b825b905092915050565b600080600f8460405161231c91906144c2565b90815260200160405180910390205414612375577f161b0e701504f35b5c6d796f7edadcbcd7158077cfbc939cf1f684c62570d1d38484600260405161236493929190614b81565b60405180910390a1600090506124d8565b6123886123828585611371565b83611e60565b6123d1577f161b0e701504f35b5c6d796f7edadcbcd7158077cfbc939cf1f684c62570d1d3848460016040516123c093929190614b81565b60405180910390a1600090506124d8565b600d60009054906101000a900460ff166124c9576003600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410612471577f161b0e701504f35b5c6d796f7edadcbcd7158077cfbc939cf1f684c62570d1d38484600060405161246093929190614b81565b60405180910390a1600090506124d8565b6001600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124c19190614e3b565b925050819055505b6124d384846126cc565b600190505b9392505050565b6000816040516020016124f29190614f58565b604051602081830303815290604052805190602001209050919050565b61251a848484611fa2565b61252684848484612999565b612565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255c90614ff0565b60405180910390fd5b50505050565b606060008214156125b3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126c7565b600082905060005b600082146125e55780806125ce906149c1565b915050600a826125de919061503f565b91506125bb565b60008167ffffffffffffffff81111561260157612600613753565b5b6040519080825280601f01601f1916602001820160405280156126335781602001600182028036833780820191505090505b5090505b600085146126c05760018261264c9190614e07565b9150600a8561265b9190615070565b60306126679190614e3b565b60f81b81838151811061267d5761267c61468f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126b9919061503f565b9450612637565b8093505050505b919050565b600060016126d8610c2c565b6126e29190614e3b565b90506126ee8382612b30565b80600f836040516126ff91906144c2565b908152602001604051809103902081905550816010600083815260200190815260200160002090805190602001906127389291906135c6565b508160405161274791906144c2565b6040518091039020817f2496c774baae2ae82508852d63521aa21dede806f2dbebcd962e8cfb8f1031228560405161277f9190613a15565b60405180910390a3505050565b804710156127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c6906150ed565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516127f59061513e565b60006040518083038185875af1925050503d8060008114612832576040519150601f19603f3d011682016040523d82523d6000602084013e612837565b606091505b505090508061287b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612872906151c5565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061294b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061295b575061295a82612b4e565b5b9050919050565b60008060006129718585612bb8565b9150915061297e81612c3b565b819250505092915050565b612994838383612e10565b505050565b60006129ba8473ffffffffffffffffffffffffffffffffffffffff16612f24565b15612b23578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129e3611d33565b8786866040518563ffffffff1660e01b8152600401612a05949392919061523a565b602060405180830381600087803b158015612a1f57600080fd5b505af1925050508015612a5057506040513d601f19601f82011682018060405250810190612a4d919061529b565b60015b612ad3573d8060008114612a80576040519150601f19603f3d011682016040523d82523d6000602084013e612a85565b606091505b50600081511415612acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac290614ff0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b28565b600190505b949350505050565b612b4a828260405180602001604052806000815250612f37565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080604183511415612bfa5760008060006020860151925060408601519150606086015160001a9050612bee87828585612f92565b94509450505050612c34565b604083511415612c2b576000806020850151915060408501519050612c2086838361309f565b935093505050612c34565b60006002915091505b9250929050565b60006004811115612c4f57612c4e614b0a565b5b816004811115612c6257612c61614b0a565b5b1415612c6d57612e0d565b60016004811115612c8157612c80614b0a565b5b816004811115612c9457612c93614b0a565b5b1415612cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ccc90615314565b60405180910390fd5b60026004811115612ce957612ce8614b0a565b5b816004811115612cfc57612cfb614b0a565b5b1415612d3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3490615380565b60405180910390fd5b60036004811115612d5157612d50614b0a565b5b816004811115612d6457612d63614b0a565b5b1415612da5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9c90615412565b60405180910390fd5b600480811115612db857612db7614b0a565b5b816004811115612dcb57612dca614b0a565b5b1415612e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e03906154a4565b60405180910390fd5b5b50565b612e1b8383836130ed565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e5e57612e59816130f2565b612e9d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612e9c57612e9b838261313b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ee057612edb816132a8565b612f1f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612f1e57612f1d8282613379565b5b5b505050565b600080823b905060008111915050919050565b612f4183836133f8565b612f4e6000848484612999565b612f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8490614ff0565b60405180910390fd5b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612fcd576000600391509150613096565b601b8560ff1614158015612fe55750601c8560ff1614155b15612ff7576000600491509150613096565b60006001878787876040516000815260200160405260405161301c94939291906154e0565b6020604051602081039080840390855afa15801561303e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561308d57600060019250925050613096565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506130df87828885612f92565b935093505050935093915050565b505050565b600a80549050600b600083815260200190815260200160002081905550600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161314884610fd3565b6131529190614e07565b9050600060096000848152602001908152602001600020549050818114613237576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b6009600084815260200190815260200160002060009055600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600a805490506132bc9190614e07565b90506000600b60008481526020019081526020016000205490506000600a83815481106132ec576132eb61468f565b5b9060005260206000200154905080600a838154811061330e5761330d61468f565b5b906000526020600020018190555081600b600083815260200190815260200160002081905550600b600085815260200190815260200160002060009055600a80548061335d5761335c615525565b5b6001900381819060005260206000200160009055905550505050565b600061338483610fd3565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345f906155a0565b60405180910390fd5b61347181611d3b565b156134b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134a89061560c565b60405180910390fd5b6134bd60008383612989565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461350d9190614e3b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546135d29061420c565b90600052602060002090601f0160209004810192826135f4576000855561363b565b82601f1061360d57805160ff191683800117855561363b565b8280016001018555821561363b579182015b8281111561363a57825182559160200191906001019061361f565b5b509050613648919061364c565b5090565b5b8082111561366557600081600090555060010161364d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136b28161367d565b81146136bd57600080fd5b50565b6000813590506136cf816136a9565b92915050565b6000602082840312156136eb576136ea613673565b5b60006136f9848285016136c0565b91505092915050565b60008115159050919050565b61371781613702565b82525050565b6000602082019050613732600083018461370e565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61378b82613742565b810181811067ffffffffffffffff821117156137aa576137a9613753565b5b80604052505050565b60006137bd613669565b90506137c98282613782565b919050565b600067ffffffffffffffff8211156137e9576137e8613753565b5b6137f282613742565b9050602081019050919050565b82818337600083830152505050565b600061382161381c846137ce565b6137b3565b90508281526020810184848401111561383d5761383c61373d565b5b6138488482856137ff565b509392505050565b600082601f83011261386557613864613738565b5b813561387584826020860161380e565b91505092915050565b60006020828403121561389457613893613673565b5b600082013567ffffffffffffffff8111156138b2576138b1613678565b5b6138be84828501613850565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139015780820151818401526020810190506138e6565b83811115613910576000848401525b50505050565b6000613921826138c7565b61392b81856138d2565b935061393b8185602086016138e3565b61394481613742565b840191505092915050565b600060208201905081810360008301526139698184613916565b905092915050565b6000819050919050565b61398481613971565b811461398f57600080fd5b50565b6000813590506139a18161397b565b92915050565b6000602082840312156139bd576139bc613673565b5b60006139cb84828501613992565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139ff826139d4565b9050919050565b613a0f816139f4565b82525050565b6000602082019050613a2a6000830184613a06565b92915050565b613a39816139f4565b8114613a4457600080fd5b50565b600081359050613a5681613a30565b92915050565b60008060408385031215613a7357613a72613673565b5b6000613a8185828601613a47565b9250506020613a9285828601613992565b9150509250929050565b613aa581613971565b82525050565b6000602082019050613ac06000830184613a9c565b92915050565b6000819050919050565b613ad981613ac6565b8114613ae457600080fd5b50565b600081359050613af681613ad0565b92915050565b600067ffffffffffffffff821115613b1757613b16613753565b5b613b2082613742565b9050602081019050919050565b6000613b40613b3b84613afc565b6137b3565b905082815260208101848484011115613b5c57613b5b61373d565b5b613b678482856137ff565b509392505050565b600082601f830112613b8457613b83613738565b5b8135613b94848260208601613b2d565b91505092915050565b60008060408385031215613bb457613bb3613673565b5b6000613bc285828601613ae7565b925050602083013567ffffffffffffffff811115613be357613be2613678565b5b613bef85828601613b6f565b9150509250929050565b613c028161367d565b82525050565b6000602082019050613c1d6000830184613bf9565b92915050565b600080600060608486031215613c3c57613c3b613673565b5b6000613c4a86828701613a47565b9350506020613c5b86828701613a47565b9250506040613c6c86828701613992565b9150509250925092565b600060208284031215613c8c57613c8b613673565b5b6000613c9a84828501613a47565b91505092915050565b6000613cae826139d4565b9050919050565b613cbe81613ca3565b8114613cc957600080fd5b50565b600081359050613cdb81613cb5565b92915050565b600067ffffffffffffffff821115613cfc57613cfb613753565b5b602082029050602081019050919050565b600080fd5b6000613d25613d2084613ce1565b6137b3565b90508083825260208201905060208402830185811115613d4857613d47613d0d565b5b835b81811015613d8f57803567ffffffffffffffff811115613d6d57613d6c613738565b5b808601613d7a8982613850565b85526020850194505050602081019050613d4a565b5050509392505050565b600082601f830112613dae57613dad613738565b5b8135613dbe848260208601613d12565b91505092915050565b600067ffffffffffffffff821115613de257613de1613753565b5b602082029050602081019050919050565b6000613e06613e0184613dc7565b6137b3565b90508083825260208201905060208402830185811115613e2957613e28613d0d565b5b835b81811015613e7057803567ffffffffffffffff811115613e4e57613e4d613738565b5b808601613e5b8982613b6f565b85526020850194505050602081019050613e2b565b5050509392505050565b600082601f830112613e8f57613e8e613738565b5b8135613e9f848260208601613df3565b91505092915050565b600080600060608486031215613ec157613ec0613673565b5b6000613ecf86828701613ccc565b935050602084013567ffffffffffffffff811115613ef057613eef613678565b5b613efc86828701613d99565b925050604084013567ffffffffffffffff811115613f1d57613f1c613678565b5b613f2986828701613e7a565b9150509250925092565b60008060408385031215613f4a57613f49613673565b5b6000613f5885828601613a47565b925050602083013567ffffffffffffffff811115613f7957613f78613678565b5b613f8585828601613850565b9150509250929050565b613f9881613ac6565b82525050565b6000602082019050613fb36000830184613f8f565b92915050565b613fc281613702565b8114613fcd57600080fd5b50565b600081359050613fdf81613fb9565b92915050565b60008060408385031215613ffc57613ffb613673565b5b600061400a85828601613a47565b925050602061401b85828601613fd0565b9150509250929050565b6000806000806080858703121561403f5761403e613673565b5b600061404d87828801613a47565b945050602061405e87828801613a47565b935050604061406f87828801613992565b925050606085013567ffffffffffffffff8111156140905761408f613678565b5b61409c87828801613b6f565b91505092959194509250565b600080604083850312156140bf576140be613673565b5b60006140cd85828601613a47565b925050602083013567ffffffffffffffff8111156140ee576140ed613678565b5b6140fa85828601613d99565b9150509250929050565b60006020828403121561411a57614119613673565b5b600061412884828501613ccc565b91505092915050565b6000806040838503121561414857614147613673565b5b600061415685828601613a47565b925050602061416785828601613a47565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141a76020836138d2565b91506141b282614171565b602082019050919050565b600060208201905081810360008301526141d68161419a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061422457607f821691505b60208210811415614238576142376141dd565b5b50919050565b7f546869732049504653206275636b657420697320696d6d757461626c6520616e60008201527f642063616e206f6e6c7920626520736574206f6e63652e000000000000000000602082015250565b600061429a6037836138d2565b91506142a58261423e565b604082019050919050565b600060208201905081810360008301526142c98161428d565b9050919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061432c602c836138d2565b9150614337826142d0565b604082019050919050565b6000602082019050818103600083015261435b8161431f565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006143be6021836138d2565b91506143c982614362565b604082019050919050565b600060208201905081810360008301526143ed816143b1565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006144506038836138d2565b915061445b826143f4565b604082019050919050565b6000602082019050818103600083015261447f81614443565b9050919050565b600081905092915050565b600061449c826138c7565b6144a68185614486565b93506144b68185602086016138e3565b80840191505092915050565b60006144ce8284614491565b915081905092915050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006145356031836138d2565b9150614540826144d9565b604082019050919050565b6000602082019050818103600083015261456481614528565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006145c7602b836138d2565b91506145d28261456b565b604082019050919050565b600060208201905081810360008301526145f6816145ba565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614659602c836138d2565b9150614664826145fd565b604082019050919050565b600060208201905081810360008301526146888161464c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061471a6029836138d2565b9150614725826146be565b604082019050919050565b600060208201905081810360008301526147498161470d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006147ac602a836138d2565b91506147b782614750565b604082019050919050565b600060208201905081810360008301526147db8161479f565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614818601f836138d2565b9150614823826147e2565b602082019050919050565b600060208201905081810360008301526148478161480b565b9050919050565b7f50757263686173696e67206d6f7265207468616e206d61782e00000000000000600082015250565b60006148846019836138d2565b915061488f8261484e565b602082019050919050565b600060208201905081810360008301526148b381614877565b9050919050565b7f416c6c205265736f6e61746573207075726368617365642e0000000000000000600082015250565b60006148f06018836138d2565b91506148fb826148ba565b602082019050919050565b6000602082019050818103600083015261491f816148e3565b9050919050565b7f4865792c20746861742773206e6f74207468652072696768742070726963652e600082015250565b600061495c6020836138d2565b915061496782614926565b602082019050919050565b6000602082019050818103600083015261498b8161494f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149cc82613971565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149ff576149fe614992565b5b600182019050919050565b60008160601b9050919050565b6000614a2282614a0a565b9050919050565b6000614a3482614a17565b9050919050565b614a4c614a47826139f4565b614a29565b82525050565b6000614a5e8285614491565b9150614a6a8284614a3b565b6014820191508190509392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614ab06019836138d2565b9150614abb82614a7a565b602082019050919050565b60006020820190508181036000830152614adf81614aa3565b9050919050565b6000614af28285614491565b9150614afe8284614491565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110614b4a57614b49614b0a565b5b50565b6000819050614b5b82614b39565b919050565b6000614b6b82614b4d565b9050919050565b614b7b81614b60565b82525050565b6000606082019050614b966000830186613a06565b8181036020830152614ba88185613916565b9050614bb76040830184614b72565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c1b6026836138d2565b9150614c2682614bbf565b604082019050919050565b60006020820190508181036000830152614c4a81614c0e565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614cad602c836138d2565b9150614cb882614c51565b604082019050919050565b60006020820190508181036000830152614cdc81614ca0565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614d3f6029836138d2565b9150614d4a82614ce3565b604082019050919050565b60006020820190508181036000830152614d6e81614d32565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614dd16024836138d2565b9150614ddc82614d75565b604082019050919050565b60006020820190508181036000830152614e0081614dc4565b9050919050565b6000614e1282613971565b9150614e1d83613971565b925082821015614e3057614e2f614992565b5b828203905092915050565b6000614e4682613971565b9150614e5183613971565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e8657614e85614992565b5b828201905092915050565b6000614e9c82613971565b9150614ea783613971565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ee057614edf614992565b5b828202905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614f21601c83614486565b9150614f2c82614eeb565b601c82019050919050565b6000819050919050565b614f52614f4d82613ac6565b614f37565b82525050565b6000614f6382614f14565b9150614f6f8284614f41565b60208201915081905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614fda6032836138d2565b9150614fe582614f7e565b604082019050919050565b6000602082019050818103600083015261500981614fcd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061504a82613971565b915061505583613971565b92508261506557615064615010565b5b828204905092915050565b600061507b82613971565b915061508683613971565b92508261509657615095615010565b5b828206905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006150d7601d836138d2565b91506150e2826150a1565b602082019050919050565b60006020820190508181036000830152615106816150ca565b9050919050565b600081905092915050565b50565b600061512860008361510d565b915061513382615118565b600082019050919050565b60006151498261511b565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006151af603a836138d2565b91506151ba82615153565b604082019050919050565b600060208201905081810360008301526151de816151a2565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061520c826151e5565b61521681856151f0565b93506152268185602086016138e3565b61522f81613742565b840191505092915050565b600060808201905061524f6000830187613a06565b61525c6020830186613a06565b6152696040830185613a9c565b818103606083015261527b8184615201565b905095945050505050565b600081519050615295816136a9565b92915050565b6000602082840312156152b1576152b0613673565b5b60006152bf84828501615286565b91505092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006152fe6018836138d2565b9150615309826152c8565b602082019050919050565b6000602082019050818103600083015261532d816152f1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061536a601f836138d2565b915061537582615334565b602082019050919050565b600060208201905081810360008301526153998161535d565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006153fc6022836138d2565b9150615407826153a0565b604082019050919050565b6000602082019050818103600083015261542b816153ef565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061548e6022836138d2565b915061549982615432565b604082019050919050565b600060208201905081810360008301526154bd81615481565b9050919050565b600060ff82169050919050565b6154da816154c4565b82525050565b60006080820190506154f56000830187613f8f565b61550260208301866154d1565b61550f6040830185613f8f565b61551c6060830184613f8f565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061558a6020836138d2565b915061559582615554565b602082019050919050565b600060208201905081810360008301526155b98161557d565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006155f6601c836138d2565b9150615601826155c0565b602082019050919050565b60006020820190508181036000830152615625816155e9565b905091905056fea2646970667358221220ec5e003116a665a5fd014cfd921c5ad2076ea8383caa3e59da71b7f997d5f45064736f6c63430008090033
Deployed Bytecode
0x60806040526004361061020f5760003560e01c80638376acfb11610118578063bd70587b116100a0578063d46d79bb1161006f578063d46d79bb146107c8578063d547cfb7146107f1578063e0df5b6f1461081c578063e985e9c514610845578063f2fde38b146108825761020f565b8063bd70587b146106fa578063c87b56dd14610737578063d0e54e7014610774578063d36fa2421461079d5761020f565b8063a22cb465116100e7578063a22cb4651461063b578063a70f1fbe14610664578063ac915c061461068f578063b0b61212146106a6578063b88d4fde146106d15761020f565b80638376acfb1461058c5780638d78fa69146105a85780638da5cb5b146105e557806395d89b41146106105761020f565b806323b872dd1161019b5780634f6ccce71161016a5780634f6ccce7146104935780636352211e146104d057806370a082311461050d5780637146bd081461054a578063715018a6146105755761020f565b806323b872dd146103db5780632f745c591461040457806331beb6051461044157806342842e0e1461046a5761020f565b8063095ea7b3116101e2578063095ea7b3146102e25780630ae22d771461030b5780631626ba7e1461034857806318160ddd146103855780631e753360146103b05761020f565b806301ffc9a71461021457806305be3f381461025157806306fdde031461027a578063081812fc146102a5575b600080fd5b34801561022057600080fd5b5061023b600480360381019061023691906136d5565b6108ab565b604051610248919061371d565b60405180910390f35b34801561025d57600080fd5b506102786004803603810190610273919061387e565b6108bd565b005b34801561028657600080fd5b5061028f6109a4565b60405161029c919061394f565b60405180910390f35b3480156102b157600080fd5b506102cc60048036038101906102c791906139a7565b610a36565b6040516102d99190613a15565b60405180910390f35b3480156102ee57600080fd5b5061030960048036038101906103049190613a5c565b610abb565b005b34801561031757600080fd5b50610332600480360381019061032d919061387e565b610bd3565b60405161033f9190613aab565b60405180910390f35b34801561035457600080fd5b5061036f600480360381019061036a9190613b9d565b610bfb565b60405161037c9190613c08565b60405180910390f35b34801561039157600080fd5b5061039a610c2c565b6040516103a79190613aab565b60405180910390f35b3480156103bc57600080fd5b506103c5610c39565b6040516103d2919061394f565b60405180910390f35b3480156103e757600080fd5b5061040260048036038101906103fd9190613c23565b610ccb565b005b34801561041057600080fd5b5061042b60048036038101906104269190613a5c565b610d2b565b6040516104389190613aab565b60405180910390f35b34801561044d57600080fd5b5061046860048036038101906104639190613c76565b610dd0565b005b34801561047657600080fd5b50610491600480360381019061048c9190613c23565b610e90565b005b34801561049f57600080fd5b506104ba60048036038101906104b591906139a7565b610eb0565b6040516104c79190613aab565b60405180910390f35b3480156104dc57600080fd5b506104f760048036038101906104f291906139a7565b610f21565b6040516105049190613a15565b60405180910390f35b34801561051957600080fd5b50610534600480360381019061052f9190613c76565b610fd3565b6040516105419190613aab565b60405180910390f35b34801561055657600080fd5b5061055f61108b565b60405161056c9190613aab565b60405180910390f35b34801561058157600080fd5b5061058a611090565b005b6105a660048036038101906105a19190613ea8565b611118565b005b3480156105b457600080fd5b506105cf60048036038101906105ca9190613f33565b611371565b6040516105dc9190613f9e565b60405180910390f35b3480156105f157600080fd5b506105fa6113ac565b6040516106079190613a15565b60405180910390f35b34801561061c57600080fd5b506106256113d6565b604051610632919061394f565b60405180910390f35b34801561064757600080fd5b50610662600480360381019061065d9190613fe5565b611468565b005b34801561067057600080fd5b506106796115e9565b6040516106869190613aab565b60405180910390f35b34801561069b57600080fd5b506106a46115ee565b005b3480156106b257600080fd5b506106bb611687565b6040516106c89190613aab565b60405180910390f35b3480156106dd57600080fd5b506106f860048036038101906106f39190614025565b61168d565b005b34801561070657600080fd5b50610721600480360381019061071c91906139a7565b6116ef565b60405161072e919061394f565b60405180910390f35b34801561074357600080fd5b5061075e600480360381019061075991906139a7565b611794565b60405161076b919061394f565b60405180910390f35b34801561078057600080fd5b5061079b600480360381019061079691906140a8565b6117ce565b005b3480156107a957600080fd5b506107b2611952565b6040516107bf9190613aab565b60405180910390f35b3480156107d457600080fd5b506107ef60048036038101906107ea9190614104565b61195d565b005b3480156107fd57600080fd5b50610806611a05565b604051610813919061394f565b60405180910390f35b34801561082857600080fd5b50610843600480360381019061083e919061387e565b611a97565b005b34801561085157600080fd5b5061086c60048036038101906108679190614131565b611b2d565b604051610879919061371d565b60405180910390f35b34801561088e57600080fd5b506108a960048036038101906108a49190613c76565b611bc1565b005b60006108b682611cb9565b9050919050565b6108c5611d33565b73ffffffffffffffffffffffffffffffffffffffff166108e36113ac565b73ffffffffffffffffffffffffffffffffffffffff1614610939576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610930906141bd565b60405180910390fd5b6000601380546109489061420c565b90501461098a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610981906142b0565b60405180910390fd5b80601390805190602001906109a09291906135c6565b5050565b6060600080546109b39061420c565b80601f01602080910402602001604051908101604052809291908181526020018280546109df9061420c565b8015610a2c5780601f10610a0157610100808354040283529160200191610a2c565b820191906000526020600020905b815481529060010190602001808311610a0f57829003601f168201915b5050505050905090565b6000610a4182611d3b565b610a80576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a7790614342565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610ac682610f21565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610b37576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b2e906143d4565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b56611d33565b73ffffffffffffffffffffffffffffffffffffffff161480610b855750610b8481610b7f611d33565b611b2d565b5b610bc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bbb90614466565b60405180910390fd5b610bce8383611da7565b505050565b6000600f82604051610be591906144c2565b9081526020016040518091039020549050919050565b6000610c078383611e60565b15610c1b57631626ba7e60e01b9050610c26565b63ffffffff60e01b90505b92915050565b6000600a80549050905090565b606060138054610c489061420c565b80601f0160208091040260200160405190810160405280929190818152602001828054610c749061420c565b8015610cc15780601f10610c9657610100808354040283529160200191610cc1565b820191906000526020600020905b815481529060010190602001808311610ca457829003601f168201915b5050505050905090565b610cdc610cd6611d33565b82611ec4565b610d1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d129061454b565b60405180910390fd5b610d26838383611fa2565b505050565b6000610d3683610fd3565b8210610d77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d6e906145dd565b60405180910390fd5b600860008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b610dd8611d33565b73ffffffffffffffffffffffffffffffffffffffff16610df66113ac565b73ffffffffffffffffffffffffffffffffffffffff1614610e4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e43906141bd565b60405180910390fd5b80601260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b610eab8383836040518060200160405280600081525061168d565b505050565b6000610eba610c2c565b8210610efb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef29061466f565b60405180910390fd5b600a8281548110610f0f57610f0e61468f565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610fca576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fc190614730565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611044576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161103b906147c2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600681565b611098611d33565b73ffffffffffffffffffffffffffffffffffffffff166110b66113ac565b73ffffffffffffffffffffffffffffffffffffffff161461110c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611103906141bd565b60405180910390fd5b61111660006121fe565b565b6002600c54141561115e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111559061482e565b60405180910390fd5b6002600c8190555060003490506006835111156111b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111a79061489a565b60405180910390fd5b6127106111bb610c2c565b106111fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111f290614906565b60405180910390fd5b80611217845166b1a2bc2ec500006122c490919063ffffffff16565b1115611258576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124f90614972565b60405180910390fd5b6000805b611282855161127d61126c610c2c565b6127106122da90919063ffffffff16565b6122f0565b8110156112ef576112c8868683815181106112a05761129f61468f565b5b60200260200101518684815181106112bb576112ba61468f565b5b6020026020010151612309565b156112dc5781806112d8906149c1565b9250505b80806112e7906149c1565b91505061125c565b508473ffffffffffffffffffffffffffffffffffffffff166108fc61133661132766b1a2bc2ec50000856122c490919063ffffffff16565b856122da90919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015611361573d6000803e3d6000fd5b5050506001600c81905550505050565b60006113a48284604051602001611389929190614a52565b604051602081830303815290604052805190602001206124df565b905092915050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546113e59061420c565b80601f01602080910402602001604051908101604052809291908181526020018280546114119061420c565b801561145e5780601f106114335761010080835404028352916020019161145e565b820191906000526020600020905b81548152906001019060200180831161144157829003601f168201915b5050505050905090565b611470611d33565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156114de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d590614ac6565b60405180910390fd5b80600560006114eb611d33565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611598611d33565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516115dd919061371d565b60405180910390a35050565b600381565b6115f6611d33565b73ffffffffffffffffffffffffffffffffffffffff166116146113ac565b73ffffffffffffffffffffffffffffffffffffffff161461166a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611661906141bd565b60405180910390fd5b6001600d60006101000a81548160ff021916908315150217905550565b61271081565b61169e611698611d33565b83611ec4565b6116dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116d49061454b565b60405180910390fd5b6116e98484848461250f565b50505050565b606060106000838152602001908152602001600020805461170f9061420c565b80601f016020809104026020016040519081016040528092919081815260200182805461173b9061420c565b80156117885780601f1061175d57610100808354040283529160200191611788565b820191906000526020600020905b81548152906001019060200180831161176b57829003601f168201915b50505050509050919050565b606061179e611a05565b6117a78361256b565b6040516020016117b8929190614ae6565b6040516020818303038152906040529050919050565b6117d6611d33565b73ffffffffffffffffffffffffffffffffffffffff166117f46113ac565b73ffffffffffffffffffffffffffffffffffffffff161461184a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611841906141bd565b60405180910390fd5b60005b611873825161186e61185d610c2c565b6127106122da90919063ffffffff16565b6122f0565b81101561194d576000600f8383815181106118915761189061468f565b5b60200260200101516040516118a691906144c2565b90815260200160405180910390205414611915577f161b0e701504f35b5c6d796f7edadcbcd7158077cfbc939cf1f684c62570d1d3838383815181106118ef576118ee61468f565b5b6020026020010151600260405161190893929190614b81565b60405180910390a161193a565b6119398383838151811061192c5761192b61468f565b5b60200260200101516126cc565b5b8080611945906149c1565b91505061184d565b505050565b66b1a2bc2ec5000081565b611965611d33565b73ffffffffffffffffffffffffffffffffffffffff166119836113ac565b73ffffffffffffffffffffffffffffffffffffffff16146119d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119d0906141bd565b60405180910390fd5b611a02478273ffffffffffffffffffffffffffffffffffffffff1661278c90919063ffffffff16565b50565b606060118054611a149061420c565b80601f0160208091040260200160405190810160405280929190818152602001828054611a409061420c565b8015611a8d5780601f10611a6257610100808354040283529160200191611a8d565b820191906000526020600020905b815481529060010190602001808311611a7057829003601f168201915b5050505050905090565b611a9f611d33565b73ffffffffffffffffffffffffffffffffffffffff16611abd6113ac565b73ffffffffffffffffffffffffffffffffffffffff1614611b13576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b0a906141bd565b60405180910390fd5b8060119080519060200190611b299291906135c6565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611bc9611d33565b73ffffffffffffffffffffffffffffffffffffffff16611be76113ac565b73ffffffffffffffffffffffffffffffffffffffff1614611c3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c34906141bd565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611cad576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ca490614c31565b60405180910390fd5b611cb6816121fe565b50565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d2c5750611d2b82612880565b5b9050919050565b600033905090565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16611e1a83610f21565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000601260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16611ea58484612962565b73ffffffffffffffffffffffffffffffffffffffff1614905092915050565b6000611ecf82611d3b565b611f0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f0590614cc3565b60405180910390fd5b6000611f1983610f21565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611f8857508373ffffffffffffffffffffffffffffffffffffffff16611f7084610a36565b73ffffffffffffffffffffffffffffffffffffffff16145b80611f995750611f988185611b2d565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611fc282610f21565b73ffffffffffffffffffffffffffffffffffffffff1614612018576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161200f90614d55565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207f90614de7565b60405180910390fd5b612093838383612989565b61209e600082611da7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546120ee9190614e07565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546121459190614e3b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000600760009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600760006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600081836122d29190614e91565b905092915050565b600081836122e89190614e07565b905092915050565b60008183106122ff5781612301565b825b905092915050565b600080600f8460405161231c91906144c2565b90815260200160405180910390205414612375577f161b0e701504f35b5c6d796f7edadcbcd7158077cfbc939cf1f684c62570d1d38484600260405161236493929190614b81565b60405180910390a1600090506124d8565b6123886123828585611371565b83611e60565b6123d1577f161b0e701504f35b5c6d796f7edadcbcd7158077cfbc939cf1f684c62570d1d3848460016040516123c093929190614b81565b60405180910390a1600090506124d8565b600d60009054906101000a900460ff166124c9576003600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205410612471577f161b0e701504f35b5c6d796f7edadcbcd7158077cfbc939cf1f684c62570d1d38484600060405161246093929190614b81565b60405180910390a1600090506124d8565b6001600e60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546124c19190614e3b565b925050819055505b6124d384846126cc565b600190505b9392505050565b6000816040516020016124f29190614f58565b604051602081830303815290604052805190602001209050919050565b61251a848484611fa2565b61252684848484612999565b612565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255c90614ff0565b60405180910390fd5b50505050565b606060008214156125b3576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506126c7565b600082905060005b600082146125e55780806125ce906149c1565b915050600a826125de919061503f565b91506125bb565b60008167ffffffffffffffff81111561260157612600613753565b5b6040519080825280601f01601f1916602001820160405280156126335781602001600182028036833780820191505090505b5090505b600085146126c05760018261264c9190614e07565b9150600a8561265b9190615070565b60306126679190614e3b565b60f81b81838151811061267d5761267c61468f565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856126b9919061503f565b9450612637565b8093505050505b919050565b600060016126d8610c2c565b6126e29190614e3b565b90506126ee8382612b30565b80600f836040516126ff91906144c2565b908152602001604051809103902081905550816010600083815260200190815260200160002090805190602001906127389291906135c6565b508160405161274791906144c2565b6040518091039020817f2496c774baae2ae82508852d63521aa21dede806f2dbebcd962e8cfb8f1031228560405161277f9190613a15565b60405180910390a3505050565b804710156127cf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127c6906150ed565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516127f59061513e565b60006040518083038185875af1925050503d8060008114612832576040519150601f19603f3d011682016040523d82523d6000602084013e612837565b606091505b505090508061287b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612872906151c5565b60405180910390fd5b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061294b57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061295b575061295a82612b4e565b5b9050919050565b60008060006129718585612bb8565b9150915061297e81612c3b565b819250505092915050565b612994838383612e10565b505050565b60006129ba8473ffffffffffffffffffffffffffffffffffffffff16612f24565b15612b23578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026129e3611d33565b8786866040518563ffffffff1660e01b8152600401612a05949392919061523a565b602060405180830381600087803b158015612a1f57600080fd5b505af1925050508015612a5057506040513d601f19601f82011682018060405250810190612a4d919061529b565b60015b612ad3573d8060008114612a80576040519150601f19603f3d011682016040523d82523d6000602084013e612a85565b606091505b50600081511415612acb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ac290614ff0565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050612b28565b600190505b949350505050565b612b4a828260405180602001604052806000815250612f37565b5050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600080604183511415612bfa5760008060006020860151925060408601519150606086015160001a9050612bee87828585612f92565b94509450505050612c34565b604083511415612c2b576000806020850151915060408501519050612c2086838361309f565b935093505050612c34565b60006002915091505b9250929050565b60006004811115612c4f57612c4e614b0a565b5b816004811115612c6257612c61614b0a565b5b1415612c6d57612e0d565b60016004811115612c8157612c80614b0a565b5b816004811115612c9457612c93614b0a565b5b1415612cd5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ccc90615314565b60405180910390fd5b60026004811115612ce957612ce8614b0a565b5b816004811115612cfc57612cfb614b0a565b5b1415612d3d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3490615380565b60405180910390fd5b60036004811115612d5157612d50614b0a565b5b816004811115612d6457612d63614b0a565b5b1415612da5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d9c90615412565b60405180910390fd5b600480811115612db857612db7614b0a565b5b816004811115612dcb57612dca614b0a565b5b1415612e0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e03906154a4565b60405180910390fd5b5b50565b612e1b8383836130ed565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e5e57612e59816130f2565b612e9d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614612e9c57612e9b838261313b565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ee057612edb816132a8565b612f1f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614612f1e57612f1d8282613379565b5b5b505050565b600080823b905060008111915050919050565b612f4183836133f8565b612f4e6000848484612999565b612f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f8490614ff0565b60405180910390fd5b505050565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08360001c1115612fcd576000600391509150613096565b601b8560ff1614158015612fe55750601c8560ff1614155b15612ff7576000600491509150613096565b60006001878787876040516000815260200160405260405161301c94939291906154e0565b6020604051602081039080840390855afa15801561303e573d6000803e3d6000fd5b505050602060405103519050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561308d57600060019250925050613096565b80600092509250505b94509492505050565b6000806000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff85169150601b8560ff1c0190506130df87828885612f92565b935093505050935093915050565b505050565b600a80549050600b600083815260200190815260200160002081905550600a81908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600161314884610fd3565b6131529190614e07565b9050600060096000848152602001908152602001600020549050818114613237576000600860008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600860008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816009600083815260200190815260200160002081905550505b6009600084815260200190815260200160002060009055600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600a805490506132bc9190614e07565b90506000600b60008481526020019081526020016000205490506000600a83815481106132ec576132eb61468f565b5b9060005260206000200154905080600a838154811061330e5761330d61468f565b5b906000526020600020018190555081600b600083815260200190815260200160002081905550600b600085815260200190815260200160002060009055600a80548061335d5761335c615525565b5b6001900381819060005260206000200160009055905550505050565b600061338483610fd3565b905081600860008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806009600084815260200190815260200160002081905550505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613468576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161345f906155a0565b60405180910390fd5b61347181611d3b565b156134b1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134a89061560c565b60405180910390fd5b6134bd60008383612989565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461350d9190614e3b565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b8280546135d29061420c565b90600052602060002090601f0160209004810192826135f4576000855561363b565b82601f1061360d57805160ff191683800117855561363b565b8280016001018555821561363b579182015b8281111561363a57825182559160200191906001019061361f565b5b509050613648919061364c565b5090565b5b8082111561366557600081600090555060010161364d565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6136b28161367d565b81146136bd57600080fd5b50565b6000813590506136cf816136a9565b92915050565b6000602082840312156136eb576136ea613673565b5b60006136f9848285016136c0565b91505092915050565b60008115159050919050565b61371781613702565b82525050565b6000602082019050613732600083018461370e565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61378b82613742565b810181811067ffffffffffffffff821117156137aa576137a9613753565b5b80604052505050565b60006137bd613669565b90506137c98282613782565b919050565b600067ffffffffffffffff8211156137e9576137e8613753565b5b6137f282613742565b9050602081019050919050565b82818337600083830152505050565b600061382161381c846137ce565b6137b3565b90508281526020810184848401111561383d5761383c61373d565b5b6138488482856137ff565b509392505050565b600082601f83011261386557613864613738565b5b813561387584826020860161380e565b91505092915050565b60006020828403121561389457613893613673565b5b600082013567ffffffffffffffff8111156138b2576138b1613678565b5b6138be84828501613850565b91505092915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156139015780820151818401526020810190506138e6565b83811115613910576000848401525b50505050565b6000613921826138c7565b61392b81856138d2565b935061393b8185602086016138e3565b61394481613742565b840191505092915050565b600060208201905081810360008301526139698184613916565b905092915050565b6000819050919050565b61398481613971565b811461398f57600080fd5b50565b6000813590506139a18161397b565b92915050565b6000602082840312156139bd576139bc613673565b5b60006139cb84828501613992565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006139ff826139d4565b9050919050565b613a0f816139f4565b82525050565b6000602082019050613a2a6000830184613a06565b92915050565b613a39816139f4565b8114613a4457600080fd5b50565b600081359050613a5681613a30565b92915050565b60008060408385031215613a7357613a72613673565b5b6000613a8185828601613a47565b9250506020613a9285828601613992565b9150509250929050565b613aa581613971565b82525050565b6000602082019050613ac06000830184613a9c565b92915050565b6000819050919050565b613ad981613ac6565b8114613ae457600080fd5b50565b600081359050613af681613ad0565b92915050565b600067ffffffffffffffff821115613b1757613b16613753565b5b613b2082613742565b9050602081019050919050565b6000613b40613b3b84613afc565b6137b3565b905082815260208101848484011115613b5c57613b5b61373d565b5b613b678482856137ff565b509392505050565b600082601f830112613b8457613b83613738565b5b8135613b94848260208601613b2d565b91505092915050565b60008060408385031215613bb457613bb3613673565b5b6000613bc285828601613ae7565b925050602083013567ffffffffffffffff811115613be357613be2613678565b5b613bef85828601613b6f565b9150509250929050565b613c028161367d565b82525050565b6000602082019050613c1d6000830184613bf9565b92915050565b600080600060608486031215613c3c57613c3b613673565b5b6000613c4a86828701613a47565b9350506020613c5b86828701613a47565b9250506040613c6c86828701613992565b9150509250925092565b600060208284031215613c8c57613c8b613673565b5b6000613c9a84828501613a47565b91505092915050565b6000613cae826139d4565b9050919050565b613cbe81613ca3565b8114613cc957600080fd5b50565b600081359050613cdb81613cb5565b92915050565b600067ffffffffffffffff821115613cfc57613cfb613753565b5b602082029050602081019050919050565b600080fd5b6000613d25613d2084613ce1565b6137b3565b90508083825260208201905060208402830185811115613d4857613d47613d0d565b5b835b81811015613d8f57803567ffffffffffffffff811115613d6d57613d6c613738565b5b808601613d7a8982613850565b85526020850194505050602081019050613d4a565b5050509392505050565b600082601f830112613dae57613dad613738565b5b8135613dbe848260208601613d12565b91505092915050565b600067ffffffffffffffff821115613de257613de1613753565b5b602082029050602081019050919050565b6000613e06613e0184613dc7565b6137b3565b90508083825260208201905060208402830185811115613e2957613e28613d0d565b5b835b81811015613e7057803567ffffffffffffffff811115613e4e57613e4d613738565b5b808601613e5b8982613b6f565b85526020850194505050602081019050613e2b565b5050509392505050565b600082601f830112613e8f57613e8e613738565b5b8135613e9f848260208601613df3565b91505092915050565b600080600060608486031215613ec157613ec0613673565b5b6000613ecf86828701613ccc565b935050602084013567ffffffffffffffff811115613ef057613eef613678565b5b613efc86828701613d99565b925050604084013567ffffffffffffffff811115613f1d57613f1c613678565b5b613f2986828701613e7a565b9150509250925092565b60008060408385031215613f4a57613f49613673565b5b6000613f5885828601613a47565b925050602083013567ffffffffffffffff811115613f7957613f78613678565b5b613f8585828601613850565b9150509250929050565b613f9881613ac6565b82525050565b6000602082019050613fb36000830184613f8f565b92915050565b613fc281613702565b8114613fcd57600080fd5b50565b600081359050613fdf81613fb9565b92915050565b60008060408385031215613ffc57613ffb613673565b5b600061400a85828601613a47565b925050602061401b85828601613fd0565b9150509250929050565b6000806000806080858703121561403f5761403e613673565b5b600061404d87828801613a47565b945050602061405e87828801613a47565b935050604061406f87828801613992565b925050606085013567ffffffffffffffff8111156140905761408f613678565b5b61409c87828801613b6f565b91505092959194509250565b600080604083850312156140bf576140be613673565b5b60006140cd85828601613a47565b925050602083013567ffffffffffffffff8111156140ee576140ed613678565b5b6140fa85828601613d99565b9150509250929050565b60006020828403121561411a57614119613673565b5b600061412884828501613ccc565b91505092915050565b6000806040838503121561414857614147613673565b5b600061415685828601613a47565b925050602061416785828601613a47565b9150509250929050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006141a76020836138d2565b91506141b282614171565b602082019050919050565b600060208201905081810360008301526141d68161419a565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061422457607f821691505b60208210811415614238576142376141dd565b5b50919050565b7f546869732049504653206275636b657420697320696d6d757461626c6520616e60008201527f642063616e206f6e6c7920626520736574206f6e63652e000000000000000000602082015250565b600061429a6037836138d2565b91506142a58261423e565b604082019050919050565b600060208201905081810360008301526142c98161428d565b9050919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061432c602c836138d2565b9150614337826142d0565b604082019050919050565b6000602082019050818103600083015261435b8161431f565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006143be6021836138d2565b91506143c982614362565b604082019050919050565b600060208201905081810360008301526143ed816143b1565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b60006144506038836138d2565b915061445b826143f4565b604082019050919050565b6000602082019050818103600083015261447f81614443565b9050919050565b600081905092915050565b600061449c826138c7565b6144a68185614486565b93506144b68185602086016138e3565b80840191505092915050565b60006144ce8284614491565b915081905092915050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b60006145356031836138d2565b9150614540826144d9565b604082019050919050565b6000602082019050818103600083015261456481614528565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006145c7602b836138d2565b91506145d28261456b565b604082019050919050565b600060208201905081810360008301526145f6816145ba565b9050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614659602c836138d2565b9150614664826145fd565b604082019050919050565b600060208201905081810360008301526146888161464c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061471a6029836138d2565b9150614725826146be565b604082019050919050565b600060208201905081810360008301526147498161470d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006147ac602a836138d2565b91506147b782614750565b604082019050919050565b600060208201905081810360008301526147db8161479f565b9050919050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000614818601f836138d2565b9150614823826147e2565b602082019050919050565b600060208201905081810360008301526148478161480b565b9050919050565b7f50757263686173696e67206d6f7265207468616e206d61782e00000000000000600082015250565b60006148846019836138d2565b915061488f8261484e565b602082019050919050565b600060208201905081810360008301526148b381614877565b9050919050565b7f416c6c205265736f6e61746573207075726368617365642e0000000000000000600082015250565b60006148f06018836138d2565b91506148fb826148ba565b602082019050919050565b6000602082019050818103600083015261491f816148e3565b9050919050565b7f4865792c20746861742773206e6f74207468652072696768742070726963652e600082015250565b600061495c6020836138d2565b915061496782614926565b602082019050919050565b6000602082019050818103600083015261498b8161494f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006149cc82613971565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156149ff576149fe614992565b5b600182019050919050565b60008160601b9050919050565b6000614a2282614a0a565b9050919050565b6000614a3482614a17565b9050919050565b614a4c614a47826139f4565b614a29565b82525050565b6000614a5e8285614491565b9150614a6a8284614a3b565b6014820191508190509392505050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000614ab06019836138d2565b9150614abb82614a7a565b602082019050919050565b60006020820190508181036000830152614adf81614aa3565b9050919050565b6000614af28285614491565b9150614afe8284614491565b91508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60038110614b4a57614b49614b0a565b5b50565b6000819050614b5b82614b39565b919050565b6000614b6b82614b4d565b9050919050565b614b7b81614b60565b82525050565b6000606082019050614b966000830186613a06565b8181036020830152614ba88185613916565b9050614bb76040830184614b72565b949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000614c1b6026836138d2565b9150614c2682614bbf565b604082019050919050565b60006020820190508181036000830152614c4a81614c0e565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000614cad602c836138d2565b9150614cb882614c51565b604082019050919050565b60006020820190508181036000830152614cdc81614ca0565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000614d3f6029836138d2565b9150614d4a82614ce3565b604082019050919050565b60006020820190508181036000830152614d6e81614d32565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000614dd16024836138d2565b9150614ddc82614d75565b604082019050919050565b60006020820190508181036000830152614e0081614dc4565b9050919050565b6000614e1282613971565b9150614e1d83613971565b925082821015614e3057614e2f614992565b5b828203905092915050565b6000614e4682613971565b9150614e5183613971565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614e8657614e85614992565b5b828201905092915050565b6000614e9c82613971565b9150614ea783613971565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614ee057614edf614992565b5b828202905092915050565b7f19457468657265756d205369676e6564204d6573736167653a0a333200000000600082015250565b6000614f21601c83614486565b9150614f2c82614eeb565b601c82019050919050565b6000819050919050565b614f52614f4d82613ac6565b614f37565b82525050565b6000614f6382614f14565b9150614f6f8284614f41565b60208201915081905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000614fda6032836138d2565b9150614fe582614f7e565b604082019050919050565b6000602082019050818103600083015261500981614fcd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061504a82613971565b915061505583613971565b92508261506557615064615010565b5b828204905092915050565b600061507b82613971565b915061508683613971565b92508261509657615095615010565b5b828206905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006150d7601d836138d2565b91506150e2826150a1565b602082019050919050565b60006020820190508181036000830152615106816150ca565b9050919050565b600081905092915050565b50565b600061512860008361510d565b915061513382615118565b600082019050919050565b60006151498261511b565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b60006151af603a836138d2565b91506151ba82615153565b604082019050919050565b600060208201905081810360008301526151de816151a2565b9050919050565b600081519050919050565b600082825260208201905092915050565b600061520c826151e5565b61521681856151f0565b93506152268185602086016138e3565b61522f81613742565b840191505092915050565b600060808201905061524f6000830187613a06565b61525c6020830186613a06565b6152696040830185613a9c565b818103606083015261527b8184615201565b905095945050505050565b600081519050615295816136a9565b92915050565b6000602082840312156152b1576152b0613673565b5b60006152bf84828501615286565b91505092915050565b7f45434453413a20696e76616c6964207369676e61747572650000000000000000600082015250565b60006152fe6018836138d2565b9150615309826152c8565b602082019050919050565b6000602082019050818103600083015261532d816152f1565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265206c656e67746800600082015250565b600061536a601f836138d2565b915061537582615334565b602082019050919050565b600060208201905081810360008301526153998161535d565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202773272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b60006153fc6022836138d2565b9150615407826153a0565b604082019050919050565b6000602082019050818103600083015261542b816153ef565b9050919050565b7f45434453413a20696e76616c6964207369676e6174757265202776272076616c60008201527f7565000000000000000000000000000000000000000000000000000000000000602082015250565b600061548e6022836138d2565b915061549982615432565b604082019050919050565b600060208201905081810360008301526154bd81615481565b9050919050565b600060ff82169050919050565b6154da816154c4565b82525050565b60006080820190506154f56000830187613f8f565b61550260208301866154d1565b61550f6040830185613f8f565b61551c6060830184613f8f565b95945050505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600061558a6020836138d2565b915061559582615554565b602082019050919050565b600060208201905081810360008301526155b98161557d565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b60006155f6601c836138d2565b9150615601826155c0565b602082019050919050565b60006020820190508181036000830152615625816155e9565b905091905056fea2646970667358221220ec5e003116a665a5fd014cfd921c5ad2076ea8383caa3e59da71b7f997d5f45064736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 26 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.