More Info
Private Name Tags
ContractCreator
TokenTracker
Latest 25 from a total of 177 transactions
Transaction Hash |
Method
|
Block
|
From
|
To
|
|||||
---|---|---|---|---|---|---|---|---|---|
Transfer From | 18289961 | 399 days ago | IN | 0 ETH | 0.00046685 | ||||
Set Approval For... | 16646050 | 630 days ago | IN | 0 ETH | 0.0013785 | ||||
Safe Transfer Fr... | 16289257 | 680 days ago | IN | 0 ETH | 0.00091445 | ||||
Set Approval For... | 16270514 | 682 days ago | IN | 0 ETH | 0.00058301 | ||||
Set Approval For... | 15893500 | 735 days ago | IN | 0 ETH | 0.00059746 | ||||
Transfer From | 15771291 | 752 days ago | IN | 0 ETH | 0.0008571 | ||||
Set Approval For... | 15747437 | 755 days ago | IN | 0 ETH | 0.00063639 | ||||
Set Approval For... | 15740057 | 756 days ago | IN | 0 ETH | 0.00207691 | ||||
Transfer From | 15707620 | 761 days ago | IN | 0 ETH | 0.00129291 | ||||
Whitelist Mint | 15675716 | 765 days ago | IN | 0.04 ETH | 0.00037294 | ||||
Whitelist Mint | 15675696 | 765 days ago | IN | 0.02 ETH | 0.00034275 | ||||
Whitelist Mint | 15675692 | 765 days ago | IN | 0.02 ETH | 0.00048722 | ||||
Whitelist Mint | 15675686 | 765 days ago | IN | 0.02 ETH | 0.00044136 | ||||
Whitelist Mint | 15675670 | 765 days ago | IN | 0.02 ETH | 0.00045179 | ||||
Whitelist Mint | 15675668 | 765 days ago | IN | 0.04 ETH | 0.00038009 | ||||
Whitelist Mint | 15675664 | 765 days ago | IN | 0.1 ETH | 0.00046517 | ||||
Transfer Ownersh... | 15675551 | 765 days ago | IN | 0 ETH | 0.00145454 | ||||
Set Approval For... | 15665809 | 767 days ago | IN | 0 ETH | 0.00043287 | ||||
Safe Transfer Fr... | 15648281 | 769 days ago | IN | 0 ETH | 0.00088732 | ||||
Transfer From | 15639385 | 770 days ago | IN | 0 ETH | 0.0009687 | ||||
Safe Transfer Fr... | 15582930 | 778 days ago | IN | 0 ETH | 0.00157903 | ||||
Transfer From | 15580565 | 779 days ago | IN | 0 ETH | 0.00031224 | ||||
Set Approval For... | 15574566 | 780 days ago | IN | 0 ETH | 0.00023626 | ||||
Safe Transfer Fr... | 15530041 | 786 days ago | IN | 0 ETH | 0.00076689 | ||||
Safe Transfer Fr... | 15498588 | 791 days ago | IN | 0 ETH | 0.002388 |
Loading...
Loading
Contract Name:
FishingPass
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 pragma solidity >=0.4.22 <0.9.0; import "@openzeppelin/contracts/token/ERC721/ERC721.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/math/SafeMath.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol"; contract FishingPass is ERC721, Ownable { using Strings for uint256; using SafeMath for uint8; using SafeMath for uint256; using Counters for Counters.Counter; // Properties uint256 public mintPrice; uint16 public mintLimit; string public _chosenUri; bool public publicSale; address payable samurai = payable(0xac4Bc126Ea4D2a1e2bE965f0811c3c51E1817F91); address payable mufasa = payable(0xf21df340812629D44264474d478be0215Ea60eb6); bytes32 public immutable root = 0x4d703f301ab00bd1914b5b12ae890912b3bdca39e5523d9aa82e97b9515787c0; // Mappings mapping(address => bool) tokenClaimed; constructor() ERC721("FishingPass", "ZPF") { mintPrice = 0.03 ether; mintLimit = 100; publicSale = false; } // Counter to ID NFTs Counters.Counter private _tokenIdTracker; modifier mintConfig(bytes32[] calldata _proof) { if (publicSale != true) { bool _merkle = MerkleProof.verify( _proof, root, keccak256(abi.encodePacked(msg.sender)) ); require( _merkle == true, "Sorry the connected wallet is not eligible for a license." ); } require(tokenClaimed[msg.sender] != true, "License already claimed."); _; } // Public Mint Function function mint(bytes32[] calldata _proof) public payable mintConfig(_proof) { // Limits the TokenID require( msg.value >= 0.03 ether, "License price: 0.03 ETH. Please send the correct ether amount." ); require( (_tokenIdTracker.current().add(1)) <= mintLimit, "Current Mint Limit Reached." ); _tokenIdTracker.increment(); super._mint(msg.sender, _tokenIdTracker.current()); tokenClaimed[msg.sender] = true; } /// ADMIN METHODS /// // Switch to Public Method function switchToPublic() public onlyOwner { bool current = publicSale; publicSale = !current; } //Set BaseURI Method function setBaseUri(string memory _baseUri) public onlyOwner { _chosenUri = _baseUri; } // Returns the token URI function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { return string( abi.encodePacked(_chosenUri, Strings.toString(tokenId), ".json") ); } // Overrides current BaseUri to show NFTs function _baseURI() internal view virtual override returns (string memory) { return _chosenUri; } function withdraw() public onlyOwner { // Requires that the balance is more than 0ETH require(address(this).balance > 0 ether, "Balance is 0"); uint256 _balance = address(this).balance; uint256 _balancePoint = _balance.div(10); samurai.transfer(_balancePoint.mul(6)); mufasa.transfer(_balancePoint.mul(4)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (utils/math/SafeMath.sol) pragma solidity ^0.8.0; // CAUTION // This version of SafeMath should only be used with Solidity 0.8 or later, // because it relies on the compiler's built in overflow checks. /** * @dev Wrappers over Solidity's arithmetic operations. * * NOTE: `SafeMath` is generally not needed starting with Solidity 0.8, since the compiler * now has built in overflow checking. */ library SafeMath { /** * @dev Returns the addition of two unsigned integers, with an overflow flag. * * _Available since v3.4._ */ function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) { unchecked { uint256 c = a + b; if (c < a) return (false, 0); return (true, c); } } /** * @dev Returns the subtraction 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 // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Tree proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. * * WARNING: You should avoid using leaf values that are 64 bytes long prior to * hashing, or use a hash function other than keccak256 for hashing leaves. * This is because the concatenation of a sorted pair of internal nodes in * the merkle tree could be reinterpreted as a leaf value. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Calldata version of {verify} * * _Available since v4.7._ */ function verifyCalldata( bytes32[] calldata proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProofCalldata(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Calldata version of {processProof} * * _Available since v4.7._ */ function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { computedHash = _hashPair(computedHash, proof[i]); } return computedHash; } /** * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}. * * _Available since v4.7._ */ function multiProofVerify( bytes32[] memory proof, bool[] memory proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProof(proof, proofFlags, leaves) == root; } /** * @dev Calldata version of {multiProofVerify} * * _Available since v4.7._ */ function multiProofVerifyCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32 root, bytes32[] memory leaves ) internal pure returns (bool) { return processMultiProofCalldata(proof, proofFlags, leaves) == root; } /** * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`, * consuming from one or the other at each step according to the instructions given by * `proofFlags`. * * _Available since v4.7._ */ function processMultiProof( bytes32[] memory proof, bool[] memory proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } /** * @dev Calldata version of {processMultiProof} * * _Available since v4.7._ */ function processMultiProofCalldata( bytes32[] calldata proof, bool[] calldata proofFlags, bytes32[] memory leaves ) internal pure returns (bytes32 merkleRoot) { // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of // the merkle tree. uint256 leavesLen = leaves.length; uint256 totalHashes = proofFlags.length; // Check proof validity. require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof"); // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop". bytes32[] memory hashes = new bytes32[](totalHashes); uint256 leafPos = 0; uint256 hashPos = 0; uint256 proofPos = 0; // At each step, we compute the next hash using two values: // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we // get the next hash. // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the // `proof` array. for (uint256 i = 0; i < totalHashes; i++) { bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++]; bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++]; hashes[i] = _hashPair(a, b); } if (totalHashes > 0) { return hashes[totalHashes - 1]; } else if (leavesLen > 0) { return leaves[0]; } else { return proof[0]; } } function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) { return a < b ? _efficientHash(a, b) : _efficientHash(b, a); } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { /// @solidity memory-safe-assembly assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @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); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @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 * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 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 /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * 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; /** * @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 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 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 the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @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); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); 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: invalid token ID"); 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) { _requireMinted(tokenId); 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 overridden 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 token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token 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: caller is not token 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) { address owner = ERC721.ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == 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); _afterTokenTransfer(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); _afterTokenTransfer(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 from incorrect owner"); 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); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @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 { /// @solidity memory-safe-assembly 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 {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": false, "runs": 200 }, "evmVersion": "london", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":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":"_chosenUri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32[]","name":"_proof","type":"bytes32[]"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintLimit","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"publicSale","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"root","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","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":"_baseUri","type":"string"}],"name":"setBaseUri","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":"switchToPublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60a060405273ac4bc126ea4d2a1e2be965f0811c3c51e1817f91600a60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073f21df340812629d44264474d478be0215ea60eb6600b60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055507f4d703f301ab00bd1914b5b12ae890912b3bdca39e5523d9aa82e97b9515787c060001b608090815250348015620000e557600080fd5b506040518060400160405280600b81526020017f46697368696e67506173730000000000000000000000000000000000000000008152506040518060400160405280600381526020017f5a5046000000000000000000000000000000000000000000000000000000000081525081600090805190602001906200016a929190620002c1565b50806001908051906020019062000183929190620002c1565b505050620001a66200019a620001f360201b60201c565b620001fb60201b60201c565b666a94d74f4300006007819055506064600860006101000a81548161ffff021916908361ffff1602179055506000600a60006101000a81548160ff021916908315150217905550620003d6565b600033905090565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002cf90620003a0565b90600052602060002090601f016020900481019282620002f357600085556200033f565b82601f106200030e57805160ff19168380011785556200033f565b828001600101855582156200033f579182015b828111156200033e57825182559160200191906001019062000321565b5b5090506200034e919062000352565b5090565b5b808211156200036d57600081600090555060010162000353565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003b957607f821691505b60208210811415620003d057620003cf62000371565b5b50919050565b608051613728620003f960003960008181610e3401526111c201526137286000f3fe6080604052600436106101665760003560e01c80638da5cb5b116100d1578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd146104e3578063e985e9c514610520578063ebf0c7171461055d578063f2fde38b1461058857610166565b8063a22cb46514610475578063b77a147b1461049e578063b88d4fde146104ba57610166565b80638da5cb5b146103895780638fd0aeb2146103b457806395d89b41146103cb578063996517cf146103f65780639aad36c114610421578063a0bcfc7f1461044c57610166565b80633ccfd60b116101235780633ccfd60b1461028d57806342842e0e146102a45780636352211e146102cd5780636817c76c1461030a57806370a0823114610335578063715018a61461037257610166565b806301ffc9a71461016b57806306fdde03146101a8578063081812fc146101d3578063095ea7b31461021057806323b872dd1461023957806333bc1c5c14610262575b600080fd5b34801561017757600080fd5b50610192600480360381019061018d9190612176565b6105b1565b60405161019f91906121be565b60405180910390f35b3480156101b457600080fd5b506101bd610693565b6040516101ca9190612272565b60405180910390f35b3480156101df57600080fd5b506101fa60048036038101906101f591906122ca565b610725565b6040516102079190612338565b60405180910390f35b34801561021c57600080fd5b506102376004803603810190610232919061237f565b61076b565b005b34801561024557600080fd5b50610260600480360381019061025b91906123bf565b610883565b005b34801561026e57600080fd5b506102776108e3565b60405161028491906121be565b60405180910390f35b34801561029957600080fd5b506102a26108f6565b005b3480156102b057600080fd5b506102cb60048036038101906102c691906123bf565b610a5a565b005b3480156102d957600080fd5b506102f460048036038101906102ef91906122ca565b610a7a565b6040516103019190612338565b60405180910390f35b34801561031657600080fd5b5061031f610b2c565b60405161032c9190612421565b60405180910390f35b34801561034157600080fd5b5061035c6004803603810190610357919061243c565b610b32565b6040516103699190612421565b60405180910390f35b34801561037e57600080fd5b50610387610bea565b005b34801561039557600080fd5b5061039e610bfe565b6040516103ab9190612338565b60405180910390f35b3480156103c057600080fd5b506103c9610c28565b005b3480156103d757600080fd5b506103e0610c62565b6040516103ed9190612272565b60405180910390f35b34801561040257600080fd5b5061040b610cf4565b6040516104189190612486565b60405180910390f35b34801561042d57600080fd5b50610436610d08565b6040516104439190612272565b60405180910390f35b34801561045857600080fd5b50610473600480360381019061046e91906125d6565b610d96565b005b34801561048157600080fd5b5061049c6004803603810190610497919061264b565b610db8565b005b6104b860048036038101906104b391906126eb565b610dce565b005b3480156104c657600080fd5b506104e160048036038101906104dc91906127d9565b611096565b005b3480156104ef57600080fd5b5061050a600480360381019061050591906122ca565b6110f8565b6040516105179190612272565b60405180910390f35b34801561052c57600080fd5b506105476004803603810190610542919061285c565b61112c565b60405161055491906121be565b60405180910390f35b34801561056957600080fd5b506105726111c0565b60405161057f91906128b5565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa919061243c565b6111e4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061067c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061068c575061068b82611268565b5b9050919050565b6060600080546106a2906128ff565b80601f01602080910402602001604051908101604052809291908181526020018280546106ce906128ff565b801561071b5780601f106106f05761010080835404028352916020019161071b565b820191906000526020600020905b8154815290600101906020018083116106fe57829003601f168201915b5050505050905090565b6000610730826112d2565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061077682610a7a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107de906129a3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661080661131d565b73ffffffffffffffffffffffffffffffffffffffff16148061083557506108348161082f61131d565b61112c565b5b610874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086b90612a35565b60405180910390fd5b61087e8383611325565b505050565b61089461088e61131d565b826113de565b6108d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ca90612ac7565b60405180910390fd5b6108de838383611473565b505050565b600a60009054906101000a900460ff1681565b6108fe6116da565b60004711610941576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093890612b33565b60405180910390fd5b6000479050600061095c600a8361175890919063ffffffff16565b9050600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6109ae60068461176e90919063ffffffff16565b9081150290604051600060405180830381858888f193505050501580156109d9573d6000803e3d6000fd5b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc610a2a60048461176e90919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015610a55573d6000803e3d6000fd5b505050565b610a7583838360405180602001604052806000815250611096565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1a90612b9f565b60405180910390fd5b80915050919050565b60075481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9a90612c31565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610bf26116da565b610bfc6000611784565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610c306116da565b6000600a60009054906101000a900460ff1690508015600a60006101000a81548160ff02191690831515021790555050565b606060018054610c71906128ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9d906128ff565b8015610cea5780601f10610cbf57610100808354040283529160200191610cea565b820191906000526020600020905b815481529060010190602001808311610ccd57829003601f168201915b5050505050905090565b600860009054906101000a900461ffff1681565b60098054610d15906128ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610d41906128ff565b8015610d8e5780601f10610d6357610100808354040283529160200191610d8e565b820191906000526020600020905b815481529060010190602001808311610d7157829003601f168201915b505050505081565b610d9e6116da565b8060099080519060200190610db4929190612067565b5050565b610dca610dc361131d565b838361184a565b5050565b818160011515600a60009054906101000a900460ff16151514610eca576000610e7f838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f000000000000000000000000000000000000000000000000000000000000000033604051602001610e649190612c99565b604051602081830303815290604052805190602001206119b7565b90506001151581151514610ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebf90612d26565b60405180910390fd5b505b60011515600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415610f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5590612d92565b60405180910390fd5b666a94d74f430000341015610fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9f90612e24565b60405180910390fd5b600860009054906101000a900461ffff1661ffff16610fda6001610fcc600d6119ce565b6119dc90919063ffffffff16565b111561101b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101290612e90565b60405180910390fd5b611025600d6119f2565b61103833611033600d6119ce565b611a08565b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b6110a76110a161131d565b836113de565b6110e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dd90612ac7565b60405180910390fd5b6110f284848484611be2565b50505050565b6060600961110583611c3e565b604051602001611116929190612fcc565b6040516020818303038152906040529050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6111ec6116da565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561125c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112539061306d565b60405180910390fd5b61126581611784565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6112db81611d9f565b61131a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131190612b9f565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661139883610a7a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806113ea83610a7a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061142c575061142b818561112c565b5b8061146a57508373ffffffffffffffffffffffffffffffffffffffff1661145284610725565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661149382610a7a565b73ffffffffffffffffffffffffffffffffffffffff16146114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e0906130ff565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611559576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155090613191565b60405180910390fd5b611564838383611e0b565b61156f600082611325565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115bf91906131e0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116169190613214565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46116d5838383611e10565b505050565b6116e261131d565b73ffffffffffffffffffffffffffffffffffffffff16611700610bfe565b73ffffffffffffffffffffffffffffffffffffffff1614611756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174d906132b6565b60405180910390fd5b565b600081836117669190613305565b905092915050565b6000818361177c9190613336565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156118b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b0906133dc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119aa91906121be565b60405180910390a3505050565b6000826119c48584611e15565b1490509392505050565b600081600001549050919050565b600081836119ea9190613214565b905092915050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6f90613448565b60405180910390fd5b611a8181611d9f565b15611ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab8906134b4565b60405180910390fd5b611acd60008383611e0b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b1d9190613214565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bde60008383611e10565b5050565b611bed848484611473565b611bf984848484611e6b565b611c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2f90613546565b60405180910390fd5b50505050565b60606000821415611c86576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611d9a565b600082905060005b60008214611cb8578080611ca190613566565b915050600a82611cb19190613305565b9150611c8e565b60008167ffffffffffffffff811115611cd457611cd36124ab565b5b6040519080825280601f01601f191660200182016040528015611d065781602001600182028036833780820191505090505b5090505b60008514611d9357600182611d1f91906131e0565b9150600a85611d2e91906135af565b6030611d3a9190613214565b60f81b818381518110611d5057611d4f6135e0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611d8c9190613305565b9450611d0a565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60008082905060005b8451811015611e6057611e4b82868381518110611e3e57611e3d6135e0565b5b6020026020010151612002565b91508080611e5890613566565b915050611e1e565b508091505092915050565b6000611e8c8473ffffffffffffffffffffffffffffffffffffffff1661202d565b15611ff5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611eb561131d565b8786866040518563ffffffff1660e01b8152600401611ed79493929190613664565b602060405180830381600087803b158015611ef157600080fd5b505af1925050508015611f2257506040513d601f19601f82011682018060405250810190611f1f91906136c5565b60015b611fa5573d8060008114611f52576040519150601f19603f3d011682016040523d82523d6000602084013e611f57565b606091505b50600081511415611f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9490613546565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611ffa565b600190505b949350505050565b600081831061201a576120158284612050565b612025565b6120248383612050565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b828054612073906128ff565b90600052602060002090601f01602090048101928261209557600085556120dc565b82601f106120ae57805160ff19168380011785556120dc565b828001600101855582156120dc579182015b828111156120db5782518255916020019190600101906120c0565b5b5090506120e991906120ed565b5090565b5b808211156121065760008160009055506001016120ee565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6121538161211e565b811461215e57600080fd5b50565b6000813590506121708161214a565b92915050565b60006020828403121561218c5761218b612114565b5b600061219a84828501612161565b91505092915050565b60008115159050919050565b6121b8816121a3565b82525050565b60006020820190506121d360008301846121af565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156122135780820151818401526020810190506121f8565b83811115612222576000848401525b50505050565b6000601f19601f8301169050919050565b6000612244826121d9565b61224e81856121e4565b935061225e8185602086016121f5565b61226781612228565b840191505092915050565b6000602082019050818103600083015261228c8184612239565b905092915050565b6000819050919050565b6122a781612294565b81146122b257600080fd5b50565b6000813590506122c48161229e565b92915050565b6000602082840312156122e0576122df612114565b5b60006122ee848285016122b5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612322826122f7565b9050919050565b61233281612317565b82525050565b600060208201905061234d6000830184612329565b92915050565b61235c81612317565b811461236757600080fd5b50565b60008135905061237981612353565b92915050565b6000806040838503121561239657612395612114565b5b60006123a48582860161236a565b92505060206123b5858286016122b5565b9150509250929050565b6000806000606084860312156123d8576123d7612114565b5b60006123e68682870161236a565b93505060206123f78682870161236a565b9250506040612408868287016122b5565b9150509250925092565b61241b81612294565b82525050565b60006020820190506124366000830184612412565b92915050565b60006020828403121561245257612451612114565b5b60006124608482850161236a565b91505092915050565b600061ffff82169050919050565b61248081612469565b82525050565b600060208201905061249b6000830184612477565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6124e382612228565b810181811067ffffffffffffffff82111715612502576125016124ab565b5b80604052505050565b600061251561210a565b905061252182826124da565b919050565b600067ffffffffffffffff821115612541576125406124ab565b5b61254a82612228565b9050602081019050919050565b82818337600083830152505050565b600061257961257484612526565b61250b565b905082815260208101848484011115612595576125946124a6565b5b6125a0848285612557565b509392505050565b600082601f8301126125bd576125bc6124a1565b5b81356125cd848260208601612566565b91505092915050565b6000602082840312156125ec576125eb612114565b5b600082013567ffffffffffffffff81111561260a57612609612119565b5b612616848285016125a8565b91505092915050565b612628816121a3565b811461263357600080fd5b50565b6000813590506126458161261f565b92915050565b6000806040838503121561266257612661612114565b5b60006126708582860161236a565b925050602061268185828601612636565b9150509250929050565b600080fd5b600080fd5b60008083601f8401126126ab576126aa6124a1565b5b8235905067ffffffffffffffff8111156126c8576126c761268b565b5b6020830191508360208202830111156126e4576126e3612690565b5b9250929050565b6000806020838503121561270257612701612114565b5b600083013567ffffffffffffffff8111156127205761271f612119565b5b61272c85828601612695565b92509250509250929050565b600067ffffffffffffffff821115612753576127526124ab565b5b61275c82612228565b9050602081019050919050565b600061277c61277784612738565b61250b565b905082815260208101848484011115612798576127976124a6565b5b6127a3848285612557565b509392505050565b600082601f8301126127c0576127bf6124a1565b5b81356127d0848260208601612769565b91505092915050565b600080600080608085870312156127f3576127f2612114565b5b60006128018782880161236a565b94505060206128128782880161236a565b9350506040612823878288016122b5565b925050606085013567ffffffffffffffff81111561284457612843612119565b5b612850878288016127ab565b91505092959194509250565b6000806040838503121561287357612872612114565b5b60006128818582860161236a565b92505060206128928582860161236a565b9150509250929050565b6000819050919050565b6128af8161289c565b82525050565b60006020820190506128ca60008301846128a6565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061291757607f821691505b6020821081141561292b5761292a6128d0565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061298d6021836121e4565b915061299882612931565b604082019050919050565b600060208201905081810360008301526129bc81612980565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612a1f603e836121e4565b9150612a2a826129c3565b604082019050919050565b60006020820190508181036000830152612a4e81612a12565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612ab1602e836121e4565b9150612abc82612a55565b604082019050919050565b60006020820190508181036000830152612ae081612aa4565b9050919050565b7f42616c616e636520697320300000000000000000000000000000000000000000600082015250565b6000612b1d600c836121e4565b9150612b2882612ae7565b602082019050919050565b60006020820190508181036000830152612b4c81612b10565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612b896018836121e4565b9150612b9482612b53565b602082019050919050565b60006020820190508181036000830152612bb881612b7c565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000612c1b6029836121e4565b9150612c2682612bbf565b604082019050919050565b60006020820190508181036000830152612c4a81612c0e565b9050919050565b60008160601b9050919050565b6000612c6982612c51565b9050919050565b6000612c7b82612c5e565b9050919050565b612c93612c8e82612317565b612c70565b82525050565b6000612ca58284612c82565b60148201915081905092915050565b7f536f7272792074686520636f6e6e65637465642077616c6c6574206973206e6f60008201527f7420656c696769626c6520666f722061206c6963656e73652e00000000000000602082015250565b6000612d106039836121e4565b9150612d1b82612cb4565b604082019050919050565b60006020820190508181036000830152612d3f81612d03565b9050919050565b7f4c6963656e736520616c726561647920636c61696d65642e0000000000000000600082015250565b6000612d7c6018836121e4565b9150612d8782612d46565b602082019050919050565b60006020820190508181036000830152612dab81612d6f565b9050919050565b7f4c6963656e73652070726963653a20302e3033204554482e20506c656173652060008201527f73656e642074686520636f727265637420657468657220616d6f756e742e0000602082015250565b6000612e0e603e836121e4565b9150612e1982612db2565b604082019050919050565b60006020820190508181036000830152612e3d81612e01565b9050919050565b7f43757272656e74204d696e74204c696d697420526561636865642e0000000000600082015250565b6000612e7a601b836121e4565b9150612e8582612e44565b602082019050919050565b60006020820190508181036000830152612ea981612e6d565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154612edd816128ff565b612ee78186612eb0565b94506001821660008114612f025760018114612f1357612f46565b60ff19831686528186019350612f46565b612f1c85612ebb565b60005b83811015612f3e57815481890152600182019150602081019050612f1f565b838801955050505b50505092915050565b6000612f5a826121d9565b612f648185612eb0565b9350612f748185602086016121f5565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612fb6600583612eb0565b9150612fc182612f80565b600582019050919050565b6000612fd88285612ed0565b9150612fe48284612f4f565b9150612fef82612fa9565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006130576026836121e4565b915061306282612ffb565b604082019050919050565b600060208201905081810360008301526130868161304a565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006130e96025836121e4565b91506130f48261308d565b604082019050919050565b60006020820190508181036000830152613118816130dc565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061317b6024836121e4565b91506131868261311f565b604082019050919050565b600060208201905081810360008301526131aa8161316e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006131eb82612294565b91506131f683612294565b925082821015613209576132086131b1565b5b828203905092915050565b600061321f82612294565b915061322a83612294565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561325f5761325e6131b1565b5b828201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006132a06020836121e4565b91506132ab8261326a565b602082019050919050565b600060208201905081810360008301526132cf81613293565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061331082612294565b915061331b83612294565b92508261332b5761332a6132d6565b5b828204905092915050565b600061334182612294565b915061334c83612294565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613385576133846131b1565b5b828202905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006133c66019836121e4565b91506133d182613390565b602082019050919050565b600060208201905081810360008301526133f5816133b9565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006134326020836121e4565b915061343d826133fc565b602082019050919050565b6000602082019050818103600083015261346181613425565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061349e601c836121e4565b91506134a982613468565b602082019050919050565b600060208201905081810360008301526134cd81613491565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006135306032836121e4565b915061353b826134d4565b604082019050919050565b6000602082019050818103600083015261355f81613523565b9050919050565b600061357182612294565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156135a4576135a36131b1565b5b600182019050919050565b60006135ba82612294565b91506135c583612294565b9250826135d5576135d46132d6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006136368261360f565b613640818561361a565b93506136508185602086016121f5565b61365981612228565b840191505092915050565b60006080820190506136796000830187612329565b6136866020830186612329565b6136936040830185612412565b81810360608301526136a5818461362b565b905095945050505050565b6000815190506136bf8161214a565b92915050565b6000602082840312156136db576136da612114565b5b60006136e9848285016136b0565b9150509291505056fea2646970667358221220445ad0a5d5b6d1acdef0769b58e367b457c4db243f1acf09e0adb268bd333eba64736f6c63430008090033
Deployed Bytecode
0x6080604052600436106101665760003560e01c80638da5cb5b116100d1578063a22cb4651161008a578063c87b56dd11610064578063c87b56dd146104e3578063e985e9c514610520578063ebf0c7171461055d578063f2fde38b1461058857610166565b8063a22cb46514610475578063b77a147b1461049e578063b88d4fde146104ba57610166565b80638da5cb5b146103895780638fd0aeb2146103b457806395d89b41146103cb578063996517cf146103f65780639aad36c114610421578063a0bcfc7f1461044c57610166565b80633ccfd60b116101235780633ccfd60b1461028d57806342842e0e146102a45780636352211e146102cd5780636817c76c1461030a57806370a0823114610335578063715018a61461037257610166565b806301ffc9a71461016b57806306fdde03146101a8578063081812fc146101d3578063095ea7b31461021057806323b872dd1461023957806333bc1c5c14610262575b600080fd5b34801561017757600080fd5b50610192600480360381019061018d9190612176565b6105b1565b60405161019f91906121be565b60405180910390f35b3480156101b457600080fd5b506101bd610693565b6040516101ca9190612272565b60405180910390f35b3480156101df57600080fd5b506101fa60048036038101906101f591906122ca565b610725565b6040516102079190612338565b60405180910390f35b34801561021c57600080fd5b506102376004803603810190610232919061237f565b61076b565b005b34801561024557600080fd5b50610260600480360381019061025b91906123bf565b610883565b005b34801561026e57600080fd5b506102776108e3565b60405161028491906121be565b60405180910390f35b34801561029957600080fd5b506102a26108f6565b005b3480156102b057600080fd5b506102cb60048036038101906102c691906123bf565b610a5a565b005b3480156102d957600080fd5b506102f460048036038101906102ef91906122ca565b610a7a565b6040516103019190612338565b60405180910390f35b34801561031657600080fd5b5061031f610b2c565b60405161032c9190612421565b60405180910390f35b34801561034157600080fd5b5061035c6004803603810190610357919061243c565b610b32565b6040516103699190612421565b60405180910390f35b34801561037e57600080fd5b50610387610bea565b005b34801561039557600080fd5b5061039e610bfe565b6040516103ab9190612338565b60405180910390f35b3480156103c057600080fd5b506103c9610c28565b005b3480156103d757600080fd5b506103e0610c62565b6040516103ed9190612272565b60405180910390f35b34801561040257600080fd5b5061040b610cf4565b6040516104189190612486565b60405180910390f35b34801561042d57600080fd5b50610436610d08565b6040516104439190612272565b60405180910390f35b34801561045857600080fd5b50610473600480360381019061046e91906125d6565b610d96565b005b34801561048157600080fd5b5061049c6004803603810190610497919061264b565b610db8565b005b6104b860048036038101906104b391906126eb565b610dce565b005b3480156104c657600080fd5b506104e160048036038101906104dc91906127d9565b611096565b005b3480156104ef57600080fd5b5061050a600480360381019061050591906122ca565b6110f8565b6040516105179190612272565b60405180910390f35b34801561052c57600080fd5b506105476004803603810190610542919061285c565b61112c565b60405161055491906121be565b60405180910390f35b34801561056957600080fd5b506105726111c0565b60405161057f91906128b5565b60405180910390f35b34801561059457600080fd5b506105af60048036038101906105aa919061243c565b6111e4565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061067c57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061068c575061068b82611268565b5b9050919050565b6060600080546106a2906128ff565b80601f01602080910402602001604051908101604052809291908181526020018280546106ce906128ff565b801561071b5780601f106106f05761010080835404028352916020019161071b565b820191906000526020600020905b8154815290600101906020018083116106fe57829003601f168201915b5050505050905090565b6000610730826112d2565b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600061077682610a7a565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156107e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107de906129a3565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661080661131d565b73ffffffffffffffffffffffffffffffffffffffff16148061083557506108348161082f61131d565b61112c565b5b610874576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086b90612a35565b60405180910390fd5b61087e8383611325565b505050565b61089461088e61131d565b826113de565b6108d3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ca90612ac7565b60405180910390fd5b6108de838383611473565b505050565b600a60009054906101000a900460ff1681565b6108fe6116da565b60004711610941576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161093890612b33565b60405180910390fd5b6000479050600061095c600a8361175890919063ffffffff16565b9050600a60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc6109ae60068461176e90919063ffffffff16565b9081150290604051600060405180830381858888f193505050501580156109d9573d6000803e3d6000fd5b50600b60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc610a2a60048461176e90919063ffffffff16565b9081150290604051600060405180830381858888f19350505050158015610a55573d6000803e3d6000fd5b505050565b610a7583838360405180602001604052806000815250611096565b505050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610b23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1a90612b9f565b60405180910390fd5b80915050919050565b60075481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610ba3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b9a90612c31565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b610bf26116da565b610bfc6000611784565b565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b610c306116da565b6000600a60009054906101000a900460ff1690508015600a60006101000a81548160ff02191690831515021790555050565b606060018054610c71906128ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9d906128ff565b8015610cea5780601f10610cbf57610100808354040283529160200191610cea565b820191906000526020600020905b815481529060010190602001808311610ccd57829003601f168201915b5050505050905090565b600860009054906101000a900461ffff1681565b60098054610d15906128ff565b80601f0160208091040260200160405190810160405280929190818152602001828054610d41906128ff565b8015610d8e5780601f10610d6357610100808354040283529160200191610d8e565b820191906000526020600020905b815481529060010190602001808311610d7157829003601f168201915b505050505081565b610d9e6116da565b8060099080519060200190610db4929190612067565b5050565b610dca610dc361131d565b838361184a565b5050565b818160011515600a60009054906101000a900460ff16151514610eca576000610e7f838380806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050507f4d703f301ab00bd1914b5b12ae890912b3bdca39e5523d9aa82e97b9515787c033604051602001610e649190612c99565b604051602081830303815290604052805190602001206119b7565b90506001151581151514610ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ebf90612d26565b60405180910390fd5b505b60011515600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1615151415610f5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f5590612d92565b60405180910390fd5b666a94d74f430000341015610fa8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f9f90612e24565b60405180910390fd5b600860009054906101000a900461ffff1661ffff16610fda6001610fcc600d6119ce565b6119dc90919063ffffffff16565b111561101b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161101290612e90565b60405180910390fd5b611025600d6119f2565b61103833611033600d6119ce565b611a08565b6001600c60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555050505050565b6110a76110a161131d565b836113de565b6110e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dd90612ac7565b60405180910390fd5b6110f284848484611be2565b50505050565b6060600961110583611c3e565b604051602001611116929190612fcc565b6040516020818303038152906040529050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7f4d703f301ab00bd1914b5b12ae890912b3bdca39e5523d9aa82e97b9515787c081565b6111ec6116da565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561125c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112539061306d565b60405180910390fd5b61126581611784565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6112db81611d9f565b61131a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161131190612b9f565b60405180910390fd5b50565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661139883610a7a565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000806113ea83610a7a565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061142c575061142b818561112c565b5b8061146a57508373ffffffffffffffffffffffffffffffffffffffff1661145284610725565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661149382610a7a565b73ffffffffffffffffffffffffffffffffffffffff16146114e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114e0906130ff565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611559576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161155090613191565b60405180910390fd5b611564838383611e0b565b61156f600082611325565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115bf91906131e0565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546116169190613214565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46116d5838383611e10565b505050565b6116e261131d565b73ffffffffffffffffffffffffffffffffffffffff16611700610bfe565b73ffffffffffffffffffffffffffffffffffffffff1614611756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174d906132b6565b60405180910390fd5b565b600081836117669190613305565b905092915050565b6000818361177c9190613336565b905092915050565b6000600660009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600660006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156118b9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118b0906133dc565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516119aa91906121be565b60405180910390a3505050565b6000826119c48584611e15565b1490509392505050565b600081600001549050919050565b600081836119ea9190613214565b905092915050565b6001816000016000828254019250508190555050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611a78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6f90613448565b60405180910390fd5b611a8181611d9f565b15611ac1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ab8906134b4565b60405180910390fd5b611acd60008383611e0b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611b1d9190613214565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4611bde60008383611e10565b5050565b611bed848484611473565b611bf984848484611e6b565b611c38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c2f90613546565b60405180910390fd5b50505050565b60606000821415611c86576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050611d9a565b600082905060005b60008214611cb8578080611ca190613566565b915050600a82611cb19190613305565b9150611c8e565b60008167ffffffffffffffff811115611cd457611cd36124ab565b5b6040519080825280601f01601f191660200182016040528015611d065781602001600182028036833780820191505090505b5090505b60008514611d9357600182611d1f91906131e0565b9150600a85611d2e91906135af565b6030611d3a9190613214565b60f81b818381518110611d5057611d4f6135e0565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85611d8c9190613305565b9450611d0a565b8093505050505b919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b505050565b505050565b60008082905060005b8451811015611e6057611e4b82868381518110611e3e57611e3d6135e0565b5b6020026020010151612002565b91508080611e5890613566565b915050611e1e565b508091505092915050565b6000611e8c8473ffffffffffffffffffffffffffffffffffffffff1661202d565b15611ff5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611eb561131d565b8786866040518563ffffffff1660e01b8152600401611ed79493929190613664565b602060405180830381600087803b158015611ef157600080fd5b505af1925050508015611f2257506040513d601f19601f82011682018060405250810190611f1f91906136c5565b60015b611fa5573d8060008114611f52576040519150601f19603f3d011682016040523d82523d6000602084013e611f57565b606091505b50600081511415611f9d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9490613546565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611ffa565b600190505b949350505050565b600081831061201a576120158284612050565b612025565b6120248383612050565b5b905092915050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b600082600052816020526040600020905092915050565b828054612073906128ff565b90600052602060002090601f01602090048101928261209557600085556120dc565b82601f106120ae57805160ff19168380011785556120dc565b828001600101855582156120dc579182015b828111156120db5782518255916020019190600101906120c0565b5b5090506120e991906120ed565b5090565b5b808211156121065760008160009055506001016120ee565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6121538161211e565b811461215e57600080fd5b50565b6000813590506121708161214a565b92915050565b60006020828403121561218c5761218b612114565b5b600061219a84828501612161565b91505092915050565b60008115159050919050565b6121b8816121a3565b82525050565b60006020820190506121d360008301846121af565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b838110156122135780820151818401526020810190506121f8565b83811115612222576000848401525b50505050565b6000601f19601f8301169050919050565b6000612244826121d9565b61224e81856121e4565b935061225e8185602086016121f5565b61226781612228565b840191505092915050565b6000602082019050818103600083015261228c8184612239565b905092915050565b6000819050919050565b6122a781612294565b81146122b257600080fd5b50565b6000813590506122c48161229e565b92915050565b6000602082840312156122e0576122df612114565b5b60006122ee848285016122b5565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000612322826122f7565b9050919050565b61233281612317565b82525050565b600060208201905061234d6000830184612329565b92915050565b61235c81612317565b811461236757600080fd5b50565b60008135905061237981612353565b92915050565b6000806040838503121561239657612395612114565b5b60006123a48582860161236a565b92505060206123b5858286016122b5565b9150509250929050565b6000806000606084860312156123d8576123d7612114565b5b60006123e68682870161236a565b93505060206123f78682870161236a565b9250506040612408868287016122b5565b9150509250925092565b61241b81612294565b82525050565b60006020820190506124366000830184612412565b92915050565b60006020828403121561245257612451612114565b5b60006124608482850161236a565b91505092915050565b600061ffff82169050919050565b61248081612469565b82525050565b600060208201905061249b6000830184612477565b92915050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6124e382612228565b810181811067ffffffffffffffff82111715612502576125016124ab565b5b80604052505050565b600061251561210a565b905061252182826124da565b919050565b600067ffffffffffffffff821115612541576125406124ab565b5b61254a82612228565b9050602081019050919050565b82818337600083830152505050565b600061257961257484612526565b61250b565b905082815260208101848484011115612595576125946124a6565b5b6125a0848285612557565b509392505050565b600082601f8301126125bd576125bc6124a1565b5b81356125cd848260208601612566565b91505092915050565b6000602082840312156125ec576125eb612114565b5b600082013567ffffffffffffffff81111561260a57612609612119565b5b612616848285016125a8565b91505092915050565b612628816121a3565b811461263357600080fd5b50565b6000813590506126458161261f565b92915050565b6000806040838503121561266257612661612114565b5b60006126708582860161236a565b925050602061268185828601612636565b9150509250929050565b600080fd5b600080fd5b60008083601f8401126126ab576126aa6124a1565b5b8235905067ffffffffffffffff8111156126c8576126c761268b565b5b6020830191508360208202830111156126e4576126e3612690565b5b9250929050565b6000806020838503121561270257612701612114565b5b600083013567ffffffffffffffff8111156127205761271f612119565b5b61272c85828601612695565b92509250509250929050565b600067ffffffffffffffff821115612753576127526124ab565b5b61275c82612228565b9050602081019050919050565b600061277c61277784612738565b61250b565b905082815260208101848484011115612798576127976124a6565b5b6127a3848285612557565b509392505050565b600082601f8301126127c0576127bf6124a1565b5b81356127d0848260208601612769565b91505092915050565b600080600080608085870312156127f3576127f2612114565b5b60006128018782880161236a565b94505060206128128782880161236a565b9350506040612823878288016122b5565b925050606085013567ffffffffffffffff81111561284457612843612119565b5b612850878288016127ab565b91505092959194509250565b6000806040838503121561287357612872612114565b5b60006128818582860161236a565b92505060206128928582860161236a565b9150509250929050565b6000819050919050565b6128af8161289c565b82525050565b60006020820190506128ca60008301846128a6565b92915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061291757607f821691505b6020821081141561292b5761292a6128d0565b5b50919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b600061298d6021836121e4565b915061299882612931565b604082019050919050565b600060208201905081810360008301526129bc81612980565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60008201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b6000612a1f603e836121e4565b9150612a2a826129c3565b604082019050919050565b60006020820190508181036000830152612a4e81612a12565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560008201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b6000612ab1602e836121e4565b9150612abc82612a55565b604082019050919050565b60006020820190508181036000830152612ae081612aa4565b9050919050565b7f42616c616e636520697320300000000000000000000000000000000000000000600082015250565b6000612b1d600c836121e4565b9150612b2882612ae7565b602082019050919050565b60006020820190508181036000830152612b4c81612b10565b9050919050565b7f4552433732313a20696e76616c696420746f6b656e2049440000000000000000600082015250565b6000612b896018836121e4565b9150612b9482612b53565b602082019050919050565b60006020820190508181036000830152612bb881612b7c565b9050919050565b7f4552433732313a2061646472657373207a65726f206973206e6f74206120766160008201527f6c6964206f776e65720000000000000000000000000000000000000000000000602082015250565b6000612c1b6029836121e4565b9150612c2682612bbf565b604082019050919050565b60006020820190508181036000830152612c4a81612c0e565b9050919050565b60008160601b9050919050565b6000612c6982612c51565b9050919050565b6000612c7b82612c5e565b9050919050565b612c93612c8e82612317565b612c70565b82525050565b6000612ca58284612c82565b60148201915081905092915050565b7f536f7272792074686520636f6e6e65637465642077616c6c6574206973206e6f60008201527f7420656c696769626c6520666f722061206c6963656e73652e00000000000000602082015250565b6000612d106039836121e4565b9150612d1b82612cb4565b604082019050919050565b60006020820190508181036000830152612d3f81612d03565b9050919050565b7f4c6963656e736520616c726561647920636c61696d65642e0000000000000000600082015250565b6000612d7c6018836121e4565b9150612d8782612d46565b602082019050919050565b60006020820190508181036000830152612dab81612d6f565b9050919050565b7f4c6963656e73652070726963653a20302e3033204554482e20506c656173652060008201527f73656e642074686520636f727265637420657468657220616d6f756e742e0000602082015250565b6000612e0e603e836121e4565b9150612e1982612db2565b604082019050919050565b60006020820190508181036000830152612e3d81612e01565b9050919050565b7f43757272656e74204d696e74204c696d697420526561636865642e0000000000600082015250565b6000612e7a601b836121e4565b9150612e8582612e44565b602082019050919050565b60006020820190508181036000830152612ea981612e6d565b9050919050565b600081905092915050565b60008190508160005260206000209050919050565b60008154612edd816128ff565b612ee78186612eb0565b94506001821660008114612f025760018114612f1357612f46565b60ff19831686528186019350612f46565b612f1c85612ebb565b60005b83811015612f3e57815481890152600182019150602081019050612f1f565b838801955050505b50505092915050565b6000612f5a826121d9565b612f648185612eb0565b9350612f748185602086016121f5565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b6000612fb6600583612eb0565b9150612fc182612f80565b600582019050919050565b6000612fd88285612ed0565b9150612fe48284612f4f565b9150612fef82612fa9565b91508190509392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006130576026836121e4565b915061306282612ffb565b604082019050919050565b600060208201905081810360008301526130868161304a565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006130e96025836121e4565b91506130f48261308d565b604082019050919050565b60006020820190508181036000830152613118816130dc565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b600061317b6024836121e4565b91506131868261311f565b604082019050919050565b600060208201905081810360008301526131aa8161316e565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b60006131eb82612294565b91506131f683612294565b925082821015613209576132086131b1565b5b828203905092915050565b600061321f82612294565b915061322a83612294565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561325f5761325e6131b1565b5b828201905092915050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b60006132a06020836121e4565b91506132ab8261326a565b602082019050919050565b600060208201905081810360008301526132cf81613293565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600061331082612294565b915061331b83612294565b92508261332b5761332a6132d6565b5b828204905092915050565b600061334182612294565b915061334c83612294565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613385576133846131b1565b5b828202905092915050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006133c66019836121e4565b91506133d182613390565b602082019050919050565b600060208201905081810360008301526133f5816133b9565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006134326020836121e4565b915061343d826133fc565b602082019050919050565b6000602082019050818103600083015261346181613425565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600061349e601c836121e4565b91506134a982613468565b602082019050919050565b600060208201905081810360008301526134cd81613491565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b60006135306032836121e4565b915061353b826134d4565b604082019050919050565b6000602082019050818103600083015261355f81613523565b9050919050565b600061357182612294565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156135a4576135a36131b1565b5b600182019050919050565b60006135ba82612294565b91506135c583612294565b9250826135d5576135d46132d6565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600081519050919050565b600082825260208201905092915050565b60006136368261360f565b613640818561361a565b93506136508185602086016121f5565b61365981612228565b840191505092915050565b60006080820190506136796000830187612329565b6136866020830186612329565b6136936040830185612412565b81810360608301526136a5818461362b565b905095945050505050565b6000815190506136bf8161214a565b92915050565b6000602082840312156136db576136da612114565b5b60006136e9848285016136b0565b9150509291505056fea2646970667358221220445ad0a5d5b6d1acdef0769b58e367b457c4db243f1acf09e0adb268bd333eba64736f6c63430008090033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 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.