ERC-721
Overview
Max Total Supply
10,000 RichRabbits
Holders
918
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 RichRabbitsLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RichRabbits
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.8.9; // ,*. // $*,,,,,,,,,,,,,*$ // (,,,,,,,,,,,,,,,,,,,* // *,,,,,,,,,,,,,,,,,,,,,*$ // .*,,,,,,,,,,,,,,,,,,,,,,,*$ // $**,,,,,$$$(,,,,,*$$$,,,,,*$* // $,$$,,,,,,,,,,,,,,,,,,,,,,,*,,,$ // *,$,,*,,,,,,,,,,,,,,,,,,,,,*/,,,,* // *,$,,,,$*,,,,,,,,,,,,,,,,,*$,,,,,,,* // $,$,.$/%%#,#*,,,,,,,,,,,**/$%%$*$,.,,* // $*$*,,,$###$$***,,,,,,****$$###$,,,,*$,$ // (**,,,,,$$###$$,,,,,,,,,,,$$%##$,,,,,,,,*$ // %*,,,,,,,,/$##$$$$,,,,,,,,#$$$$#$$,,,,,,,,,,*$ // *,,,,,,,,,,/$$$$$$$$$$$$$$$$$$$$$$$,,,,,,,,,,,,* // $*,,,,,,,,,,,$$$$$$$$$$$$$$$$$$$$$$$$$,(,,,,,,,,,,,$ // $*,,,,,,,,,,$,$$$$$$$$$$$$$$$$$$$$$$$$$,,$,,,,,,,,,,,$ // $,,,,,,,,,,,$#$$$$$$$$$$$$$$$$$$$$$$$$$$$$,*,,,,,,,,,,,/ // $*,,,,,,,,,,,*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$(/,,,,,,,,,,,,* // $*,,,,,,,,,,,$$%#####$$$$$$$$$$$$$$$$######$$$*,,,,,,,,,,,,* // *,,,,,,,,,,,*%%$$$$$$$$$$$$$$$$$$$$$$$$$$$##%$*,,,,,,,,,,,,*$ // **,,,,,,,,,,,$*$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*/,,,,,,,,,,,,,*$ // $*,,,,,,,,,,,*/#$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$$*$*,,,,,,,,,,,,** // **,,,,,,,,,,,***,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*/*,,,,,,,,,,,,**% // ***,,,,,,,,,,*$**,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,***,,,,,,,,,,,,*** // ****,,,,,,,,,,*$**,,,,,,,,,,,,,,,,,,,,,,,,,,,,,,*****,,,,,,,,,,,*** import "erc721a/contracts/ERC721A.sol"; import "@openzeppelin/contracts/security/Pausable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol"; import "@openzeppelin/contracts/interfaces/IERC2981.sol"; pragma solidity 0.8.9; pragma abicoder v2; contract RichRabbits is ERC721A, Ownable { string public rabbitsKey = ""; // PLVNDR to add the hash, as well as the seed used to generate the Rich Rabbits uint256 public rabbitsPrice = 50000000000000000; // 0.05 ETH uint public constant maxRabbitsPurchase = 10; uint256 public totalRabbits = 10000; uint256 public public1Rabbits = 4850; uint256 public public1Counter = 0; bool public saleIsActive = false; bool public remainderSaleIsActive = false; // Claim Tracking mapping(address => uint256) private addressToClaimableRabbits; // Withdraw addresses address t1 = 0xd5F76A01D4eBe570a9252f1a8459B44FE8F4B5bd; // Artist + Devs address t2 = 0xBF6CAd470D415CD0b34774E4b75071797eAdeDB0; // Metaverse Expansion + Operational (Mods etc.) // Reserve up to 100 Rabbits for mods, marketing etc. uint public marketingReserve = 100; string private _baseTokenURI; constructor() ERC721A("Rich Rabbits", "RichRabbits") { } modifier rabbitCapture() { require(tx.origin == msg.sender, "The caller is another contract"); _; } function withdraw() public onlyOwner { uint256 _total = address(this).balance; require(payable(t1).send(((_total)/100)*65)); require(payable(t2).send(((_total)/100)*35)); } function reserveRabbits(address _to, uint256 _reserveAmount) public onlyOwner { require(_reserveAmount > 0 && _reserveAmount <= marketingReserve, "Not Possible"); _safeMint(_to, _reserveAmount); marketingReserve = marketingReserve - _reserveAmount; } function setTheRabbitsPrice(uint256 newPrice) public onlyOwner { rabbitsPrice = newPrice; } function setProvenanceHash(string memory provenanceHash) public onlyOwner { rabbitsKey = provenanceHash; } function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } function setBaseURI(string memory baseURI) external onlyOwner { _baseTokenURI = baseURI; } function flipSaleState() public onlyOwner { saleIsActive = !saleIsActive; } function flipRemainderSale() public onlyOwner { remainderSaleIsActive = !remainderSaleIsActive; } // Utility function remainingRabbitsForClaim(address _address) external view returns (uint) { return addressToClaimableRabbits[_address]; } // Moondogs + Moonpups + Free Mints function updateFreeMints(address[] memory _addresses, uint[] memory _rabbitsToClaim) external onlyOwner { require(_addresses.length == _rabbitsToClaim.length, "Invalid snapshot data"); for (uint i = 0; i < _addresses.length; i++) { addressToClaimableRabbits[_addresses[i]] = _rabbitsToClaim[i]; } } function freeMint(uint rabbitsMint) external { require(saleIsActive, "Sale is not active"); require(rabbitsMint <= addressToClaimableRabbits[msg.sender], "Invalid Rabbits Mint!"); require(totalSupply() + rabbitsMint <= totalRabbits, "Supply would be exceeded"); _safeMint(msg.sender, rabbitsMint); addressToClaimableRabbits[msg.sender] = addressToClaimableRabbits[msg.sender] - rabbitsMint; } function publicMint(uint rabbitsMint) public payable rabbitCapture { require(saleIsActive, "Public Sale is not active"); require(rabbitsMint > 0 && rabbitsMint <= maxRabbitsPurchase, "This is not possible"); require(public1Counter + rabbitsMint <= public1Rabbits, "Not possible at this moment"); require(msg.value >= rabbitsPrice * rabbitsMint, "Ether value sent is incorrect"); _safeMint(msg.sender, rabbitsMint); public1Counter = public1Counter + rabbitsMint; } function remainderMint(uint rabbitsMint) public payable rabbitCapture { require(remainderSaleIsActive, "Remainder Sale is not active"); require(rabbitsMint > 0 && rabbitsMint <= maxRabbitsPurchase, "This is not possible"); require(totalSupply() + rabbitsMint <= totalRabbits, "Supply would be exceeded"); require(msg.value >= rabbitsPrice * rabbitsMint, "Ether value sent is incorrect"); _safeMint(msg.sender, rabbitsMint); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (interfaces/IERC2981.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Interface for the NFT Royalty Standard. * * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal * support for royalty payments across all NFT marketplaces and ecosystem participants. * * _Available since v4.5._ */ interface IERC2981 is IERC165 { /** * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of * exchange. The royalty amount is denominated and should be payed in that same unit of exchange. */ function royaltyInfo(uint256 tokenId, uint256 salePrice) external view returns (address receiver, uint256 royaltyAmount); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/ECDSA.sol) pragma solidity ^0.8.0; import "../Strings.sol"; /** * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations. * * These functions can be used to verify that a message was signed by the holder * of the private keys of a given address. */ library ECDSA { enum RecoverError { NoError, InvalidSignature, InvalidSignatureLength, InvalidSignatureS, InvalidSignatureV } function _throwError(RecoverError error) private pure { if (error == RecoverError.NoError) { return; // no error: do nothing } else if (error == RecoverError.InvalidSignature) { revert("ECDSA: invalid signature"); } else if (error == RecoverError.InvalidSignatureLength) { revert("ECDSA: invalid signature length"); } else if (error == RecoverError.InvalidSignatureS) { revert("ECDSA: invalid signature 's' value"); } else if (error == RecoverError.InvalidSignatureV) { revert("ECDSA: invalid signature 'v' value"); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature` or error string. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. * * Documentation for signature generation: * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js] * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers] * * _Available since v4.3._ */ function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) { // Check the signature length // - case 65: r,s,v signature (standard) // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._ if (signature.length == 65) { bytes32 r; bytes32 s; uint8 v; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) s := mload(add(signature, 0x40)) v := byte(0, mload(add(signature, 0x60))) } return tryRecover(hash, v, r, s); } else if (signature.length == 64) { bytes32 r; bytes32 vs; // ecrecover takes the signature parameters, and the only way to get them // currently is to use assembly. assembly { r := mload(add(signature, 0x20)) vs := mload(add(signature, 0x40)) } return tryRecover(hash, r, vs); } else { return (address(0), RecoverError.InvalidSignatureLength); } } /** * @dev Returns the address that signed a hashed message (`hash`) with * `signature`. This address can then be used for verification purposes. * * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures: * this function rejects them by requiring the `s` value to be in the lower * half order, and the `v` value to be either 27 or 28. * * IMPORTANT: `hash` _must_ be the result of a hash operation for the * verification to be secure: it is possible to craft signatures that * recover to arbitrary addresses for non-hashed data. A safe way to ensure * this is by receiving a hash of the original message (which may otherwise * be too long), and then calling {toEthSignedMessageHash} on it. */ function recover(bytes32 hash, bytes memory signature) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, signature); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately. * * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures] * * _Available since v4.3._ */ function tryRecover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address, RecoverError) { bytes32 s = vs & bytes32(0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff); uint8 v = uint8((uint256(vs) >> 255) + 27); return tryRecover(hash, v, r, s); } /** * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately. * * _Available since v4.2._ */ function recover( bytes32 hash, bytes32 r, bytes32 vs ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, r, vs); _throwError(error); return recovered; } /** * @dev Overload of {ECDSA-tryRecover} that receives the `v`, * `r` and `s` signature fields separately. * * _Available since v4.3._ */ function tryRecover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address, RecoverError) { // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most // signatures from current libraries generate a unique signature with an s-value in the lower half order. // // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept // these malleable signatures as well. if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) { return (address(0), RecoverError.InvalidSignatureS); } if (v != 27 && v != 28) { return (address(0), RecoverError.InvalidSignatureV); } // If the signature is valid (and not malleable), return the signer address address signer = ecrecover(hash, v, r, s); if (signer == address(0)) { return (address(0), RecoverError.InvalidSignature); } return (signer, RecoverError.NoError); } /** * @dev Overload of {ECDSA-recover} that receives the `v`, * `r` and `s` signature fields separately. */ function recover( bytes32 hash, uint8 v, bytes32 r, bytes32 s ) internal pure returns (address) { (address recovered, RecoverError error) = tryRecover(hash, v, r, s); _throwError(error); return recovered; } /** * @dev Returns an Ethereum Signed Message, created from a `hash`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) { // 32 is the length in bytes of hash, // enforced by the type signature above return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash)); } /** * @dev Returns an Ethereum Signed Message, created from `s`. This * produces hash corresponding to the one signed with the * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`] * JSON-RPC method as part of EIP-191. * * See {recover}. */ function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s)); } /** * @dev Returns an Ethereum Signed Typed Data, created from a * `domainSeparator` and a `structHash`. This produces hash corresponding * to the one signed with the * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`] * JSON-RPC method as part of EIP-712. * * See {recover}. */ function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) { return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash)); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/Pausable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which allows children to implement an emergency stop * mechanism that can be triggered by an authorized account. * * This module is used through inheritance. It will make available the * modifiers `whenNotPaused` and `whenPaused`, which can be applied to * the functions of your contract. Note that they will not be pausable by * simply including this module, only once the modifiers are put in place. */ abstract contract Pausable is Context { /** * @dev Emitted when the pause is triggered by `account`. */ event Paused(address account); /** * @dev Emitted when the pause is lifted by `account`. */ event Unpaused(address account); bool private _paused; /** * @dev Initializes the contract in unpaused state. */ constructor() { _paused = false; } /** * @dev Returns true if the contract is paused, and false otherwise. */ function paused() public view virtual returns (bool) { return _paused; } /** * @dev Modifier to make a function callable only when the contract is not paused. * * Requirements: * * - The contract must not be paused. */ modifier whenNotPaused() { require(!paused(), "Pausable: paused"); _; } /** * @dev Modifier to make a function callable only when the contract is paused. * * Requirements: * * - The contract must be paused. */ modifier whenPaused() { require(paused(), "Pausable: not paused"); _; } /** * @dev Triggers stopped state. * * Requirements: * * - The contract must not be paused. */ function _pause() internal virtual whenNotPaused { _paused = true; emit Paused(_msgSender()); } /** * @dev Returns to normal state. * * Requirements: * * - The contract must be paused. */ function _unpause() internal virtual whenPaused { _paused = false; emit Unpaused(_msgSender()); } }
// SPDX-License-Identifier: MIT // Creator: Chiru Labs pragma solidity ^0.8.4; import '@openzeppelin/contracts/token/ERC721/IERC721.sol'; import '@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol'; import '@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol'; import '@openzeppelin/contracts/utils/Address.sol'; import '@openzeppelin/contracts/utils/Context.sol'; import '@openzeppelin/contracts/utils/Strings.sol'; import '@openzeppelin/contracts/utils/introspection/ERC165.sol'; error ApprovalCallerNotOwnerNorApproved(); error ApprovalQueryForNonexistentToken(); error ApproveToCaller(); error ApprovalToCurrentOwner(); error BalanceQueryForZeroAddress(); error MintToZeroAddress(); error MintZeroQuantity(); error OwnerQueryForNonexistentToken(); error TransferCallerNotOwnerNorApproved(); error TransferFromIncorrectOwner(); error TransferToNonERC721ReceiverImplementer(); error TransferToZeroAddress(); error URIQueryForNonexistentToken(); /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // 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; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @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 override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @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) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ''; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ''; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _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 { _transfer(from, to, tokenId); if (to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @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`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ''); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { _mint(to, quantity, _data, true); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint( address to, uint256 quantity, bytes memory _data, bool safe ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (safe && to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if (!_checkContractOnERC721Received(address(0), to, updatedIndex++, _data)) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex != end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex != end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * 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 ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev This is equivalent to _burn(tokenId, false) */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target 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 _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * 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, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/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.5.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 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 v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (interfaces/IERC165.sol) pragma solidity ^0.8.0; import "../utils/introspection/IERC165.sol";
// 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); }
{ "optimizer": { "enabled": false, "runs": 200 }, "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"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"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":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipRemainderSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleState","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"rabbitsMint","type":"uint256"}],"name":"freeMint","outputs":[],"stateMutability":"nonpayable","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":[],"name":"marketingReserve","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxRabbitsPurchase","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":"public1Counter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"public1Rabbits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rabbitsMint","type":"uint256"}],"name":"publicMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"rabbitsKey","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"rabbitsPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"rabbitsMint","type":"uint256"}],"name":"remainderMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"remainderSaleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_address","type":"address"}],"name":"remainingRabbitsForClaim","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_reserveAmount","type":"uint256"}],"name":"reserveRabbits","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleIsActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"setTheRabbitsPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalRabbits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addresses","type":"address[]"},{"internalType":"uint256[]","name":"_rabbitsToClaim","type":"uint256[]"}],"name":"updateFreeMints","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
608060405260405180602001604052806000815250600990805190602001906200002b929190620002ea565b5066b1a2bc2ec50000600a55612710600b556112f2600c556000600d556000600e60006101000a81548160ff0219169083151502179055506000600e60016101000a81548160ff02191690831515021790555073d5f76a01d4ebe570a9252f1a8459b44fe8f4b5bd601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555073bf6cad470d415cd0b34774e4b75071797eadedb0601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060646012553480156200013a57600080fd5b506040518060400160405280600c81526020017f52696368205261626269747300000000000000000000000000000000000000008152506040518060400160405280600b81526020017f52696368526162626974730000000000000000000000000000000000000000008152508160029080519060200190620001bf929190620002ea565b508060039080519060200190620001d8929190620002ea565b50620001e96200021760201b60201c565b600081905550505062000211620002056200021c60201b60201c565b6200022460201b60201c565b620003ff565b600090565b600033905090565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b828054620002f890620003c9565b90600052602060002090601f0160209004810192826200031c576000855562000368565b82601f106200033757805160ff191683800117855562000368565b8280016001018555821562000368579182015b82811115620003675782518255916020019190600101906200034a565b5b5090506200037791906200037b565b5090565b5b80821115620003965760008160009055506001016200037c565b5090565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680620003e257607f821691505b60208210811415620003f957620003f86200039a565b5b50919050565b614374806200040f6000396000f3fe6080604052600436106102255760003560e01c806370a0823111610123578063a22cb465116100ab578063d357154e1161006f578063d357154e146107a1578063d9178a9a146107ca578063e985e9c5146107f3578063eb8d244414610830578063f2fde38b1461085b57610225565b8063a22cb465146106bc578063b88d4fde146106e5578063bc912a991461070e578063c87b56dd14610739578063cc97cd3a1461077657610225565b80637c928fe9116100f25780637c928fe9146105fd57806380e32ea0146106265780638da5cb5b1461064f57806395d89b411461067a5780639c82418e146106a557610225565b806370a0823114610553578063715018a6146105905780637a66e9ce146105a75780637b558ee1146105d257610225565b80632db11544116101b157806342842e0e1161017557806342842e0e1461045c5780634b44e0731461048557806355f804b3146104c25780635d20f54f146104eb5780636352211e1461051657610225565b80632db11544146103bc578063302dd68b146103d857806334918dfd146104035780633ccfd60b1461041a5780633e85713d1461043157610225565b80630dd0b710116101f85780630dd0b710146102f8578063109695231461032357806318160ddd1461034c57806323b872dd146103775780632c85ed12146103a057610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613198565b610884565b60405161025e91906131e0565b60405180910390f35b34801561027357600080fd5b5061027c610966565b6040516102899190613294565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b491906132ec565b6109f8565b6040516102c6919061335a565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f191906133a1565b610a74565b005b34801561030457600080fd5b5061030d610b7f565b60405161031a91906131e0565b60405180910390f35b34801561032f57600080fd5b5061034a60048036038101906103459190613516565b610b92565b005b34801561035857600080fd5b50610361610c28565b60405161036e919061356e565b60405180910390f35b34801561038357600080fd5b5061039e60048036038101906103999190613589565b610c3f565b005b6103ba60048036038101906103b591906132ec565b610c4f565b005b6103d660048036038101906103d191906132ec565b610e10565b005b3480156103e457600080fd5b506103ed610fe0565b6040516103fa919061356e565b60405180910390f35b34801561040f57600080fd5b50610418610fe5565b005b34801561042657600080fd5b5061042f61108d565b005b34801561043d57600080fd5b50610446611201565b604051610453919061356e565b60405180910390f35b34801561046857600080fd5b50610483600480360381019061047e9190613589565b611207565b005b34801561049157600080fd5b506104ac60048036038101906104a791906135dc565b611227565b6040516104b9919061356e565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e49190613516565b611270565b005b3480156104f757600080fd5b50610500611306565b60405161050d919061356e565b60405180910390f35b34801561052257600080fd5b5061053d600480360381019061053891906132ec565b61130c565b60405161054a919061335a565b60405180910390f35b34801561055f57600080fd5b5061057a600480360381019061057591906135dc565b611322565b604051610587919061356e565b60405180910390f35b34801561059c57600080fd5b506105a56113f2565b005b3480156105b357600080fd5b506105bc61147a565b6040516105c9919061356e565b60405180910390f35b3480156105de57600080fd5b506105e7611480565b6040516105f4919061356e565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f91906132ec565b611486565b005b34801561063257600080fd5b5061064d600480360381019061064891906133a1565b611649565b005b34801561065b57600080fd5b50610664611738565b604051610671919061335a565b60405180910390f35b34801561068657600080fd5b5061068f611762565b60405161069c9190613294565b60405180910390f35b3480156106b157600080fd5b506106ba6117f4565b005b3480156106c857600080fd5b506106e360048036038101906106de9190613635565b61189c565b005b3480156106f157600080fd5b5061070c60048036038101906107079190613716565b611a14565b005b34801561071a57600080fd5b50610723611a90565b604051610730919061356e565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b91906132ec565b611a96565b60405161076d9190613294565b60405180910390f35b34801561078257600080fd5b5061078b611b35565b6040516107989190613294565b60405180910390f35b3480156107ad57600080fd5b506107c860048036038101906107c39190613924565b611bc3565b005b3480156107d657600080fd5b506107f160048036038101906107ec91906132ec565b611d1f565b005b3480156107ff57600080fd5b5061081a6004803603810190610815919061399c565b611da5565b60405161082791906131e0565b60405180910390f35b34801561083c57600080fd5b50610845611e39565b60405161085291906131e0565b60405180910390f35b34801561086757600080fd5b50610882600480360381019061087d91906135dc565b611e4c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061094f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061095f575061095e82611f44565b5b9050919050565b60606002805461097590613a0b565b80601f01602080910402602001604051908101604052809291908181526020018280546109a190613a0b565b80156109ee5780601f106109c3576101008083540402835291602001916109ee565b820191906000526020600020905b8154815290600101906020018083116109d157829003601f168201915b5050505050905090565b6000610a0382611fae565b610a39576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a7f8261130c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ae7576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b06611ffc565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b385750610b3681610b31611ffc565b611da5565b155b15610b6f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b7a838383612004565b505050565b600e60019054906101000a900460ff1681565b610b9a611ffc565b73ffffffffffffffffffffffffffffffffffffffff16610bb8611738565b73ffffffffffffffffffffffffffffffffffffffff1614610c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0590613a89565b60405180910390fd5b8060099080519060200190610c24929190613046565b5050565b6000610c326120b6565b6001546000540303905090565b610c4a8383836120bb565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb490613af5565b60405180910390fd5b600e60019054906101000a900460ff16610d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0390613b61565b60405180910390fd5b600081118015610d1d5750600a8111155b610d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5390613bcd565b60405180910390fd5b600b5481610d68610c28565b610d729190613c1c565b1115610db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daa90613cbe565b60405180910390fd5b80600a54610dc19190613cde565b341015610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613d84565b60405180910390fd5b610e0d3382612571565b50565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7590613af5565b60405180910390fd5b600e60009054906101000a900460ff16610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec490613df0565b60405180910390fd5b600081118015610ede5750600a8111155b610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1490613bcd565b60405180910390fd5b600c5481600d54610f2e9190613c1c565b1115610f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6690613e5c565b60405180910390fd5b80600a54610f7d9190613cde565b341015610fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb690613d84565b60405180910390fd5b610fc93382612571565b80600d54610fd79190613c1c565b600d8190555050565b600a81565b610fed611ffc565b73ffffffffffffffffffffffffffffffffffffffff1661100b611738565b73ffffffffffffffffffffffffffffffffffffffff1614611061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105890613a89565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b611095611ffc565b73ffffffffffffffffffffffffffffffffffffffff166110b3611738565b73ffffffffffffffffffffffffffffffffffffffff1614611109576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110090613a89565b60405180910390fd5b6000479050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc60416064846111599190613eab565b6111639190613cde565b9081150290604051600060405180830381858888f1935050505061118657600080fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc60236064846111d19190613eab565b6111db9190613cde565b9081150290604051600060405180830381858888f193505050506111fe57600080fd5b50565b60125481565b61122283838360405180602001604052806000815250611a14565b505050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611278611ffc565b73ffffffffffffffffffffffffffffffffffffffff16611296611738565b73ffffffffffffffffffffffffffffffffffffffff16146112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e390613a89565b60405180910390fd5b8060139080519060200190611302929190613046565b5050565b600b5481565b60006113178261258f565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561138a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6113fa611ffc565b73ffffffffffffffffffffffffffffffffffffffff16611418611738565b73ffffffffffffffffffffffffffffffffffffffff161461146e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146590613a89565b60405180910390fd5b611478600061281e565b565b600a5481565b600c5481565b600e60009054906101000a900460ff166114d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cc90613f28565b60405180910390fd5b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811115611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e90613f94565b60405180910390fd5b600b5481611563610c28565b61156d9190613c1c565b11156115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a590613cbe565b60405180910390fd5b6115b83382612571565b80600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116039190613fb4565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b611651611ffc565b73ffffffffffffffffffffffffffffffffffffffff1661166f611738565b73ffffffffffffffffffffffffffffffffffffffff16146116c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bc90613a89565b60405180910390fd5b6000811180156116d757506012548111155b611716576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170d90614034565b60405180910390fd5b6117208282612571565b8060125461172e9190613fb4565b6012819055505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461177190613a0b565b80601f016020809104026020016040519081016040528092919081815260200182805461179d90613a0b565b80156117ea5780601f106117bf576101008083540402835291602001916117ea565b820191906000526020600020905b8154815290600101906020018083116117cd57829003601f168201915b5050505050905090565b6117fc611ffc565b73ffffffffffffffffffffffffffffffffffffffff1661181a611738565b73ffffffffffffffffffffffffffffffffffffffff1614611870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186790613a89565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b6118a4611ffc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611909576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611916611ffc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119c3611ffc565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a0891906131e0565b60405180910390a35050565b611a1f8484846120bb565b611a3e8373ffffffffffffffffffffffffffffffffffffffff166128e4565b8015611a535750611a5184848484612907565b155b15611a8a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600d5481565b6060611aa182611fae565b611ad7576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611ae1612a67565b9050600081511415611b025760405180602001604052806000815250611b2d565b80611b0c84612af9565b604051602001611b1d929190614090565b6040516020818303038152906040525b915050919050565b60098054611b4290613a0b565b80601f0160208091040260200160405190810160405280929190818152602001828054611b6e90613a0b565b8015611bbb5780601f10611b9057610100808354040283529160200191611bbb565b820191906000526020600020905b815481529060010190602001808311611b9e57829003601f168201915b505050505081565b611bcb611ffc565b73ffffffffffffffffffffffffffffffffffffffff16611be9611738565b73ffffffffffffffffffffffffffffffffffffffff1614611c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3690613a89565b60405180910390fd5b8051825114611c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7a90614100565b60405180910390fd5b60005b8251811015611d1a57818181518110611ca257611ca1614120565b5b6020026020010151600f6000858481518110611cc157611cc0614120565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611d129061414f565b915050611c86565b505050565b611d27611ffc565b73ffffffffffffffffffffffffffffffffffffffff16611d45611738565b73ffffffffffffffffffffffffffffffffffffffff1614611d9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9290613a89565b60405180910390fd5b80600a8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff1681565b611e54611ffc565b73ffffffffffffffffffffffffffffffffffffffff16611e72611738565b73ffffffffffffffffffffffffffffffffffffffff1614611ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebf90613a89565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2f9061420a565b60405180910390fd5b611f418161281e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611fb96120b6565b11158015611fc8575060005482105b8015611ff5575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006120c68261258f565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612131576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612152611ffc565b73ffffffffffffffffffffffffffffffffffffffff16148061218157506121808561217b611ffc565b611da5565b5b806121c6575061218f611ffc565b73ffffffffffffffffffffffffffffffffffffffff166121ae846109f8565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806121ff576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612266576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122738585856001612c5a565b61227f60008487612004565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156124ff5760005482146124fe57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461256a8585856001612c60565b5050505050565b61258b828260405180602001604052806000815250612c66565b5050565b6125976130cc565b6000829050806125a56120b6565b111580156125b4575060005481105b156127e7576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516127e557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126c9578092505050612819565b5b6001156127e457818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127df578092505050612819565b6126ca565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261292d611ffc565b8786866040518563ffffffff1660e01b815260040161294f949392919061427f565b602060405180830381600087803b15801561296957600080fd5b505af192505050801561299a57506040513d601f19601f8201168201806040525081019061299791906142e0565b60015b612a14573d80600081146129ca576040519150601f19603f3d011682016040523d82523d6000602084013e6129cf565b606091505b50600081511415612a0c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060138054612a7690613a0b565b80601f0160208091040260200160405190810160405280929190818152602001828054612aa290613a0b565b8015612aef5780601f10612ac457610100808354040283529160200191612aef565b820191906000526020600020905b815481529060010190602001808311612ad257829003601f168201915b5050505050905090565b60606000821415612b41576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c55565b600082905060005b60008214612b73578080612b5c9061414f565b915050600a82612b6c9190613eab565b9150612b49565b60008167ffffffffffffffff811115612b8f57612b8e6133eb565b5b6040519080825280601f01601f191660200182016040528015612bc15781602001600182028036833780820191505090505b5090505b60008514612c4e57600182612bda9190613fb4565b9150600a85612be9919061430d565b6030612bf59190613c1c565b60f81b818381518110612c0b57612c0a614120565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c479190613eab565b9450612bc5565b8093505050505b919050565b50505050565b50505050565b612c738383836001612c78565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612ce5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612d20576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d2d6000868387612c5a565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612ef75750612ef68773ffffffffffffffffffffffffffffffffffffffff166128e4565b5b15612fbd575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f6c6000888480600101955088612907565b612fa2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612efd578260005414612fb857600080fd5b613029565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612fbe575b81600081905550505061303f6000868387612c60565b5050505050565b82805461305290613a0b565b90600052602060002090601f01602090048101928261307457600085556130bb565b82601f1061308d57805160ff19168380011785556130bb565b828001600101855582156130bb579182015b828111156130ba57825182559160200191906001019061309f565b5b5090506130c8919061310f565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613128576000816000905550600101613110565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61317581613140565b811461318057600080fd5b50565b6000813590506131928161316c565b92915050565b6000602082840312156131ae576131ad613136565b5b60006131bc84828501613183565b91505092915050565b60008115159050919050565b6131da816131c5565b82525050565b60006020820190506131f560008301846131d1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561323557808201518184015260208101905061321a565b83811115613244576000848401525b50505050565b6000601f19601f8301169050919050565b6000613266826131fb565b6132708185613206565b9350613280818560208601613217565b6132898161324a565b840191505092915050565b600060208201905081810360008301526132ae818461325b565b905092915050565b6000819050919050565b6132c9816132b6565b81146132d457600080fd5b50565b6000813590506132e6816132c0565b92915050565b60006020828403121561330257613301613136565b5b6000613310848285016132d7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061334482613319565b9050919050565b61335481613339565b82525050565b600060208201905061336f600083018461334b565b92915050565b61337e81613339565b811461338957600080fd5b50565b60008135905061339b81613375565b92915050565b600080604083850312156133b8576133b7613136565b5b60006133c68582860161338c565b92505060206133d7858286016132d7565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6134238261324a565b810181811067ffffffffffffffff82111715613442576134416133eb565b5b80604052505050565b600061345561312c565b9050613461828261341a565b919050565b600067ffffffffffffffff821115613481576134806133eb565b5b61348a8261324a565b9050602081019050919050565b82818337600083830152505050565b60006134b96134b484613466565b61344b565b9050828152602081018484840111156134d5576134d46133e6565b5b6134e0848285613497565b509392505050565b600082601f8301126134fd576134fc6133e1565b5b813561350d8482602086016134a6565b91505092915050565b60006020828403121561352c5761352b613136565b5b600082013567ffffffffffffffff81111561354a5761354961313b565b5b613556848285016134e8565b91505092915050565b613568816132b6565b82525050565b6000602082019050613583600083018461355f565b92915050565b6000806000606084860312156135a2576135a1613136565b5b60006135b08682870161338c565b93505060206135c18682870161338c565b92505060406135d2868287016132d7565b9150509250925092565b6000602082840312156135f2576135f1613136565b5b60006136008482850161338c565b91505092915050565b613612816131c5565b811461361d57600080fd5b50565b60008135905061362f81613609565b92915050565b6000806040838503121561364c5761364b613136565b5b600061365a8582860161338c565b925050602061366b85828601613620565b9150509250929050565b600067ffffffffffffffff8211156136905761368f6133eb565b5b6136998261324a565b9050602081019050919050565b60006136b96136b484613675565b61344b565b9050828152602081018484840111156136d5576136d46133e6565b5b6136e0848285613497565b509392505050565b600082601f8301126136fd576136fc6133e1565b5b813561370d8482602086016136a6565b91505092915050565b600080600080608085870312156137305761372f613136565b5b600061373e8782880161338c565b945050602061374f8782880161338c565b9350506040613760878288016132d7565b925050606085013567ffffffffffffffff8111156137815761378061313b565b5b61378d878288016136e8565b91505092959194509250565b600067ffffffffffffffff8211156137b4576137b36133eb565b5b602082029050602081019050919050565b600080fd5b60006137dd6137d884613799565b61344b565b90508083825260208201905060208402830185811115613800576137ff6137c5565b5b835b818110156138295780613815888261338c565b845260208401935050602081019050613802565b5050509392505050565b600082601f830112613848576138476133e1565b5b81356138588482602086016137ca565b91505092915050565b600067ffffffffffffffff82111561387c5761387b6133eb565b5b602082029050602081019050919050565b60006138a061389b84613861565b61344b565b905080838252602082019050602084028301858111156138c3576138c26137c5565b5b835b818110156138ec57806138d888826132d7565b8452602084019350506020810190506138c5565b5050509392505050565b600082601f83011261390b5761390a6133e1565b5b813561391b84826020860161388d565b91505092915050565b6000806040838503121561393b5761393a613136565b5b600083013567ffffffffffffffff8111156139595761395861313b565b5b61396585828601613833565b925050602083013567ffffffffffffffff8111156139865761398561313b565b5b613992858286016138f6565b9150509250929050565b600080604083850312156139b3576139b2613136565b5b60006139c18582860161338c565b92505060206139d28582860161338c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a2357607f821691505b60208210811415613a3757613a366139dc565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a73602083613206565b9150613a7e82613a3d565b602082019050919050565b60006020820190508181036000830152613aa281613a66565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613adf601e83613206565b9150613aea82613aa9565b602082019050919050565b60006020820190508181036000830152613b0e81613ad2565b9050919050565b7f52656d61696e6465722053616c65206973206e6f742061637469766500000000600082015250565b6000613b4b601c83613206565b9150613b5682613b15565b602082019050919050565b60006020820190508181036000830152613b7a81613b3e565b9050919050565b7f54686973206973206e6f7420706f737369626c65000000000000000000000000600082015250565b6000613bb7601483613206565b9150613bc282613b81565b602082019050919050565b60006020820190508181036000830152613be681613baa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c27826132b6565b9150613c32836132b6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c6757613c66613bed565b5b828201905092915050565b7f537570706c7920776f756c642062652065786365656465640000000000000000600082015250565b6000613ca8601883613206565b9150613cb382613c72565b602082019050919050565b60006020820190508181036000830152613cd781613c9b565b9050919050565b6000613ce9826132b6565b9150613cf4836132b6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d2d57613d2c613bed565b5b828202905092915050565b7f45746865722076616c75652073656e7420697320696e636f7272656374000000600082015250565b6000613d6e601d83613206565b9150613d7982613d38565b602082019050919050565b60006020820190508181036000830152613d9d81613d61565b9050919050565b7f5075626c69632053616c65206973206e6f742061637469766500000000000000600082015250565b6000613dda601983613206565b9150613de582613da4565b602082019050919050565b60006020820190508181036000830152613e0981613dcd565b9050919050565b7f4e6f7420706f737369626c652061742074686973206d6f6d656e740000000000600082015250565b6000613e46601b83613206565b9150613e5182613e10565b602082019050919050565b60006020820190508181036000830152613e7581613e39565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613eb6826132b6565b9150613ec1836132b6565b925082613ed157613ed0613e7c565b5b828204905092915050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b6000613f12601283613206565b9150613f1d82613edc565b602082019050919050565b60006020820190508181036000830152613f4181613f05565b9050919050565b7f496e76616c69642052616262697473204d696e74210000000000000000000000600082015250565b6000613f7e601583613206565b9150613f8982613f48565b602082019050919050565b60006020820190508181036000830152613fad81613f71565b9050919050565b6000613fbf826132b6565b9150613fca836132b6565b925082821015613fdd57613fdc613bed565b5b828203905092915050565b7f4e6f7420506f737369626c650000000000000000000000000000000000000000600082015250565b600061401e600c83613206565b915061402982613fe8565b602082019050919050565b6000602082019050818103600083015261404d81614011565b9050919050565b600081905092915050565b600061406a826131fb565b6140748185614054565b9350614084818560208601613217565b80840191505092915050565b600061409c828561405f565b91506140a8828461405f565b91508190509392505050565b7f496e76616c696420736e617073686f7420646174610000000000000000000000600082015250565b60006140ea601583613206565b91506140f5826140b4565b602082019050919050565b60006020820190508181036000830152614119816140dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061415a826132b6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561418d5761418c613bed565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006141f4602683613206565b91506141ff82614198565b604082019050919050565b60006020820190508181036000830152614223816141e7565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142518261422a565b61425b8185614235565b935061426b818560208601613217565b6142748161324a565b840191505092915050565b6000608082019050614294600083018761334b565b6142a1602083018661334b565b6142ae604083018561355f565b81810360608301526142c08184614246565b905095945050505050565b6000815190506142da8161316c565b92915050565b6000602082840312156142f6576142f5613136565b5b6000614304848285016142cb565b91505092915050565b6000614318826132b6565b9150614323836132b6565b92508261433357614332613e7c565b5b82820690509291505056fea26469706673582212209532cd97879e40a43636e64f34c37bd179c6b56da914c111434f32358bbc7e5a64736f6c63430008090033
Deployed Bytecode
0x6080604052600436106102255760003560e01c806370a0823111610123578063a22cb465116100ab578063d357154e1161006f578063d357154e146107a1578063d9178a9a146107ca578063e985e9c5146107f3578063eb8d244414610830578063f2fde38b1461085b57610225565b8063a22cb465146106bc578063b88d4fde146106e5578063bc912a991461070e578063c87b56dd14610739578063cc97cd3a1461077657610225565b80637c928fe9116100f25780637c928fe9146105fd57806380e32ea0146106265780638da5cb5b1461064f57806395d89b411461067a5780639c82418e146106a557610225565b806370a0823114610553578063715018a6146105905780637a66e9ce146105a75780637b558ee1146105d257610225565b80632db11544116101b157806342842e0e1161017557806342842e0e1461045c5780634b44e0731461048557806355f804b3146104c25780635d20f54f146104eb5780636352211e1461051657610225565b80632db11544146103bc578063302dd68b146103d857806334918dfd146104035780633ccfd60b1461041a5780633e85713d1461043157610225565b80630dd0b710116101f85780630dd0b710146102f8578063109695231461032357806318160ddd1461034c57806323b872dd146103775780632c85ed12146103a057610225565b806301ffc9a71461022a57806306fdde0314610267578063081812fc14610292578063095ea7b3146102cf575b600080fd5b34801561023657600080fd5b50610251600480360381019061024c9190613198565b610884565b60405161025e91906131e0565b60405180910390f35b34801561027357600080fd5b5061027c610966565b6040516102899190613294565b60405180910390f35b34801561029e57600080fd5b506102b960048036038101906102b491906132ec565b6109f8565b6040516102c6919061335a565b60405180910390f35b3480156102db57600080fd5b506102f660048036038101906102f191906133a1565b610a74565b005b34801561030457600080fd5b5061030d610b7f565b60405161031a91906131e0565b60405180910390f35b34801561032f57600080fd5b5061034a60048036038101906103459190613516565b610b92565b005b34801561035857600080fd5b50610361610c28565b60405161036e919061356e565b60405180910390f35b34801561038357600080fd5b5061039e60048036038101906103999190613589565b610c3f565b005b6103ba60048036038101906103b591906132ec565b610c4f565b005b6103d660048036038101906103d191906132ec565b610e10565b005b3480156103e457600080fd5b506103ed610fe0565b6040516103fa919061356e565b60405180910390f35b34801561040f57600080fd5b50610418610fe5565b005b34801561042657600080fd5b5061042f61108d565b005b34801561043d57600080fd5b50610446611201565b604051610453919061356e565b60405180910390f35b34801561046857600080fd5b50610483600480360381019061047e9190613589565b611207565b005b34801561049157600080fd5b506104ac60048036038101906104a791906135dc565b611227565b6040516104b9919061356e565b60405180910390f35b3480156104ce57600080fd5b506104e960048036038101906104e49190613516565b611270565b005b3480156104f757600080fd5b50610500611306565b60405161050d919061356e565b60405180910390f35b34801561052257600080fd5b5061053d600480360381019061053891906132ec565b61130c565b60405161054a919061335a565b60405180910390f35b34801561055f57600080fd5b5061057a600480360381019061057591906135dc565b611322565b604051610587919061356e565b60405180910390f35b34801561059c57600080fd5b506105a56113f2565b005b3480156105b357600080fd5b506105bc61147a565b6040516105c9919061356e565b60405180910390f35b3480156105de57600080fd5b506105e7611480565b6040516105f4919061356e565b60405180910390f35b34801561060957600080fd5b50610624600480360381019061061f91906132ec565b611486565b005b34801561063257600080fd5b5061064d600480360381019061064891906133a1565b611649565b005b34801561065b57600080fd5b50610664611738565b604051610671919061335a565b60405180910390f35b34801561068657600080fd5b5061068f611762565b60405161069c9190613294565b60405180910390f35b3480156106b157600080fd5b506106ba6117f4565b005b3480156106c857600080fd5b506106e360048036038101906106de9190613635565b61189c565b005b3480156106f157600080fd5b5061070c60048036038101906107079190613716565b611a14565b005b34801561071a57600080fd5b50610723611a90565b604051610730919061356e565b60405180910390f35b34801561074557600080fd5b50610760600480360381019061075b91906132ec565b611a96565b60405161076d9190613294565b60405180910390f35b34801561078257600080fd5b5061078b611b35565b6040516107989190613294565b60405180910390f35b3480156107ad57600080fd5b506107c860048036038101906107c39190613924565b611bc3565b005b3480156107d657600080fd5b506107f160048036038101906107ec91906132ec565b611d1f565b005b3480156107ff57600080fd5b5061081a6004803603810190610815919061399c565b611da5565b60405161082791906131e0565b60405180910390f35b34801561083c57600080fd5b50610845611e39565b60405161085291906131e0565b60405180910390f35b34801561086757600080fd5b50610882600480360381019061087d91906135dc565b611e4c565b005b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061094f57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061095f575061095e82611f44565b5b9050919050565b60606002805461097590613a0b565b80601f01602080910402602001604051908101604052809291908181526020018280546109a190613a0b565b80156109ee5780601f106109c3576101008083540402835291602001916109ee565b820191906000526020600020905b8154815290600101906020018083116109d157829003601f168201915b5050505050905090565b6000610a0382611fae565b610a39576040517fcf4700e400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6006600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610a7f8261130c565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ae7576040517f943f7b8c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610b06611ffc565b73ffffffffffffffffffffffffffffffffffffffff1614158015610b385750610b3681610b31611ffc565b611da5565b155b15610b6f576040517fcfb3b94200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610b7a838383612004565b505050565b600e60019054906101000a900460ff1681565b610b9a611ffc565b73ffffffffffffffffffffffffffffffffffffffff16610bb8611738565b73ffffffffffffffffffffffffffffffffffffffff1614610c0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c0590613a89565b60405180910390fd5b8060099080519060200190610c24929190613046565b5050565b6000610c326120b6565b6001546000540303905090565b610c4a8383836120bb565b505050565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610cbd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cb490613af5565b60405180910390fd5b600e60019054906101000a900460ff16610d0c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d0390613b61565b60405180910390fd5b600081118015610d1d5750600a8111155b610d5c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d5390613bcd565b60405180910390fd5b600b5481610d68610c28565b610d729190613c1c565b1115610db3576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610daa90613cbe565b60405180910390fd5b80600a54610dc19190613cde565b341015610e03576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610dfa90613d84565b60405180910390fd5b610e0d3382612571565b50565b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614610e7e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e7590613af5565b60405180910390fd5b600e60009054906101000a900460ff16610ecd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ec490613df0565b60405180910390fd5b600081118015610ede5750600a8111155b610f1d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f1490613bcd565b60405180910390fd5b600c5481600d54610f2e9190613c1c565b1115610f6f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f6690613e5c565b60405180910390fd5b80600a54610f7d9190613cde565b341015610fbf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fb690613d84565b60405180910390fd5b610fc93382612571565b80600d54610fd79190613c1c565b600d8190555050565b600a81565b610fed611ffc565b73ffffffffffffffffffffffffffffffffffffffff1661100b611738565b73ffffffffffffffffffffffffffffffffffffffff1614611061576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161105890613a89565b60405180910390fd5b600e60009054906101000a900460ff1615600e60006101000a81548160ff021916908315150217905550565b611095611ffc565b73ffffffffffffffffffffffffffffffffffffffff166110b3611738565b73ffffffffffffffffffffffffffffffffffffffff1614611109576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161110090613a89565b60405180910390fd5b6000479050601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc60416064846111599190613eab565b6111639190613cde565b9081150290604051600060405180830381858888f1935050505061118657600080fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166108fc60236064846111d19190613eab565b6111db9190613cde565b9081150290604051600060405180830381858888f193505050506111fe57600080fd5b50565b60125481565b61122283838360405180602001604052806000815250611a14565b505050565b6000600f60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611278611ffc565b73ffffffffffffffffffffffffffffffffffffffff16611296611738565b73ffffffffffffffffffffffffffffffffffffffff16146112ec576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112e390613a89565b60405180910390fd5b8060139080519060200190611302929190613046565b5050565b600b5481565b60006113178261258f565b600001519050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561138a576040517f8f4eb60400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160009054906101000a900467ffffffffffffffff1667ffffffffffffffff169050919050565b6113fa611ffc565b73ffffffffffffffffffffffffffffffffffffffff16611418611738565b73ffffffffffffffffffffffffffffffffffffffff161461146e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161146590613a89565b60405180910390fd5b611478600061281e565b565b600a5481565b600c5481565b600e60009054906101000a900460ff166114d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114cc90613f28565b60405180910390fd5b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054811115611557576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154e90613f94565b60405180910390fd5b600b5481611563610c28565b61156d9190613c1c565b11156115ae576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115a590613cbe565b60405180910390fd5b6115b83382612571565b80600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546116039190613fb4565b600f60003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555050565b611651611ffc565b73ffffffffffffffffffffffffffffffffffffffff1661166f611738565b73ffffffffffffffffffffffffffffffffffffffff16146116c5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116bc90613a89565b60405180910390fd5b6000811180156116d757506012548111155b611716576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161170d90614034565b60405180910390fd5b6117208282612571565b8060125461172e9190613fb4565b6012819055505050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60606003805461177190613a0b565b80601f016020809104026020016040519081016040528092919081815260200182805461179d90613a0b565b80156117ea5780601f106117bf576101008083540402835291602001916117ea565b820191906000526020600020905b8154815290600101906020018083116117cd57829003601f168201915b5050505050905090565b6117fc611ffc565b73ffffffffffffffffffffffffffffffffffffffff1661181a611738565b73ffffffffffffffffffffffffffffffffffffffff1614611870576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186790613a89565b60405180910390fd5b600e60019054906101000a900460ff1615600e60016101000a81548160ff021916908315150217905550565b6118a4611ffc565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611909576040517fb06307db00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8060076000611916611ffc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166119c3611ffc565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a0891906131e0565b60405180910390a35050565b611a1f8484846120bb565b611a3e8373ffffffffffffffffffffffffffffffffffffffff166128e4565b8015611a535750611a5184848484612907565b155b15611a8a576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b50505050565b600d5481565b6060611aa182611fae565b611ad7576040517fa14c4b5000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000611ae1612a67565b9050600081511415611b025760405180602001604052806000815250611b2d565b80611b0c84612af9565b604051602001611b1d929190614090565b6040516020818303038152906040525b915050919050565b60098054611b4290613a0b565b80601f0160208091040260200160405190810160405280929190818152602001828054611b6e90613a0b565b8015611bbb5780601f10611b9057610100808354040283529160200191611bbb565b820191906000526020600020905b815481529060010190602001808311611b9e57829003601f168201915b505050505081565b611bcb611ffc565b73ffffffffffffffffffffffffffffffffffffffff16611be9611738565b73ffffffffffffffffffffffffffffffffffffffff1614611c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3690613a89565b60405180910390fd5b8051825114611c83576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7a90614100565b60405180910390fd5b60005b8251811015611d1a57818181518110611ca257611ca1614120565b5b6020026020010151600f6000858481518110611cc157611cc0614120565b5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080611d129061414f565b915050611c86565b505050565b611d27611ffc565b73ffffffffffffffffffffffffffffffffffffffff16611d45611738565b73ffffffffffffffffffffffffffffffffffffffff1614611d9b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d9290613a89565b60405180910390fd5b80600a8190555050565b6000600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600e60009054906101000a900460ff1681565b611e54611ffc565b73ffffffffffffffffffffffffffffffffffffffff16611e72611738565b73ffffffffffffffffffffffffffffffffffffffff1614611ec8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ebf90613a89565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611f38576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2f9061420a565b60405180910390fd5b611f418161281e565b50565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600081611fb96120b6565b11158015611fc8575060005482105b8015611ff5575060046000838152602001908152602001600020600001601c9054906101000a900460ff16155b9050919050565b600033905090565b826006600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b600090565b60006120c68261258f565b90508373ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff1614612131576040517fa114810000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008473ffffffffffffffffffffffffffffffffffffffff16612152611ffc565b73ffffffffffffffffffffffffffffffffffffffff16148061218157506121808561217b611ffc565b611da5565b5b806121c6575061218f611ffc565b73ffffffffffffffffffffffffffffffffffffffff166121ae846109f8565b73ffffffffffffffffffffffffffffffffffffffff16145b9050806121ff576040517f59c896be00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612266576040517fea553b3400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6122738585856001612c5a565b61227f60008487612004565b6001600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160392506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506001600560008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055506000600460008581526020019081526020016000209050848160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550428160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555060006001850190506000600460008381526020019081526020016000209050600073ffffffffffffffffffffffffffffffffffffffff168160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614156124ff5760005482146124fe57878160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555084602001518160000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505b5b505050828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a461256a8585856001612c60565b5050505050565b61258b828260405180602001604052806000815250612c66565b5050565b6125976130cc565b6000829050806125a56120b6565b111580156125b4575060005481105b156127e7576000600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff161515151581525050905080604001516127e557600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146126c9578092505050612819565b5b6001156127e457818060019003925050600460008381526020019081526020016000206040518060600160405290816000820160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020016000820160149054906101000a900467ffffffffffffffff1667ffffffffffffffff1667ffffffffffffffff16815260200160008201601c9054906101000a900460ff1615151515815250509050600073ffffffffffffffffffffffffffffffffffffffff16816000015173ffffffffffffffffffffffffffffffffffffffff16146127df578092505050612819565b6126ca565b5b505b6040517fdf2d9b4200000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b919050565b6000600860009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600860006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60008373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261292d611ffc565b8786866040518563ffffffff1660e01b815260040161294f949392919061427f565b602060405180830381600087803b15801561296957600080fd5b505af192505050801561299a57506040513d601f19601f8201168201806040525081019061299791906142e0565b60015b612a14573d80600081146129ca576040519150601f19603f3d011682016040523d82523d6000602084013e6129cf565b606091505b50600081511415612a0c576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050949350505050565b606060138054612a7690613a0b565b80601f0160208091040260200160405190810160405280929190818152602001828054612aa290613a0b565b8015612aef5780601f10612ac457610100808354040283529160200191612aef565b820191906000526020600020905b815481529060010190602001808311612ad257829003601f168201915b5050505050905090565b60606000821415612b41576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612c55565b600082905060005b60008214612b73578080612b5c9061414f565b915050600a82612b6c9190613eab565b9150612b49565b60008167ffffffffffffffff811115612b8f57612b8e6133eb565b5b6040519080825280601f01601f191660200182016040528015612bc15781602001600182028036833780820191505090505b5090505b60008514612c4e57600182612bda9190613fb4565b9150600a85612be9919061430d565b6030612bf59190613c1c565b60f81b818381518110612c0b57612c0a614120565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a85612c479190613eab565b9450612bc5565b8093505050505b919050565b50505050565b50505050565b612c738383836001612c78565b505050565b600080549050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161415612ce5576040517f2e07630000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000841415612d20576040517fb562e8dd00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b612d2d6000868387612c5a565b83600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160008282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555083600560008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060000160088282829054906101000a900467ffffffffffffffff160192506101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550846004600083815260200190815260200160002060000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550426004600083815260200190815260200160002060000160146101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550600081905060008582019050838015612ef75750612ef68773ffffffffffffffffffffffffffffffffffffffff166128e4565b5b15612fbd575b818773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612f6c6000888480600101955088612907565b612fa2576040517fd1a57ed600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b80821415612efd578260005414612fb857600080fd5b613029565b5b818060010192508773ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a480821415612fbe575b81600081905550505061303f6000868387612c60565b5050505050565b82805461305290613a0b565b90600052602060002090601f01602090048101928261307457600085556130bb565b82601f1061308d57805160ff19168380011785556130bb565b828001600101855582156130bb579182015b828111156130ba57825182559160200191906001019061309f565b5b5090506130c8919061310f565b5090565b6040518060600160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600067ffffffffffffffff1681526020016000151581525090565b5b80821115613128576000816000905550600101613110565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61317581613140565b811461318057600080fd5b50565b6000813590506131928161316c565b92915050565b6000602082840312156131ae576131ad613136565b5b60006131bc84828501613183565b91505092915050565b60008115159050919050565b6131da816131c5565b82525050565b60006020820190506131f560008301846131d1565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561323557808201518184015260208101905061321a565b83811115613244576000848401525b50505050565b6000601f19601f8301169050919050565b6000613266826131fb565b6132708185613206565b9350613280818560208601613217565b6132898161324a565b840191505092915050565b600060208201905081810360008301526132ae818461325b565b905092915050565b6000819050919050565b6132c9816132b6565b81146132d457600080fd5b50565b6000813590506132e6816132c0565b92915050565b60006020828403121561330257613301613136565b5b6000613310848285016132d7565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b600061334482613319565b9050919050565b61335481613339565b82525050565b600060208201905061336f600083018461334b565b92915050565b61337e81613339565b811461338957600080fd5b50565b60008135905061339b81613375565b92915050565b600080604083850312156133b8576133b7613136565b5b60006133c68582860161338c565b92505060206133d7858286016132d7565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6134238261324a565b810181811067ffffffffffffffff82111715613442576134416133eb565b5b80604052505050565b600061345561312c565b9050613461828261341a565b919050565b600067ffffffffffffffff821115613481576134806133eb565b5b61348a8261324a565b9050602081019050919050565b82818337600083830152505050565b60006134b96134b484613466565b61344b565b9050828152602081018484840111156134d5576134d46133e6565b5b6134e0848285613497565b509392505050565b600082601f8301126134fd576134fc6133e1565b5b813561350d8482602086016134a6565b91505092915050565b60006020828403121561352c5761352b613136565b5b600082013567ffffffffffffffff81111561354a5761354961313b565b5b613556848285016134e8565b91505092915050565b613568816132b6565b82525050565b6000602082019050613583600083018461355f565b92915050565b6000806000606084860312156135a2576135a1613136565b5b60006135b08682870161338c565b93505060206135c18682870161338c565b92505060406135d2868287016132d7565b9150509250925092565b6000602082840312156135f2576135f1613136565b5b60006136008482850161338c565b91505092915050565b613612816131c5565b811461361d57600080fd5b50565b60008135905061362f81613609565b92915050565b6000806040838503121561364c5761364b613136565b5b600061365a8582860161338c565b925050602061366b85828601613620565b9150509250929050565b600067ffffffffffffffff8211156136905761368f6133eb565b5b6136998261324a565b9050602081019050919050565b60006136b96136b484613675565b61344b565b9050828152602081018484840111156136d5576136d46133e6565b5b6136e0848285613497565b509392505050565b600082601f8301126136fd576136fc6133e1565b5b813561370d8482602086016136a6565b91505092915050565b600080600080608085870312156137305761372f613136565b5b600061373e8782880161338c565b945050602061374f8782880161338c565b9350506040613760878288016132d7565b925050606085013567ffffffffffffffff8111156137815761378061313b565b5b61378d878288016136e8565b91505092959194509250565b600067ffffffffffffffff8211156137b4576137b36133eb565b5b602082029050602081019050919050565b600080fd5b60006137dd6137d884613799565b61344b565b90508083825260208201905060208402830185811115613800576137ff6137c5565b5b835b818110156138295780613815888261338c565b845260208401935050602081019050613802565b5050509392505050565b600082601f830112613848576138476133e1565b5b81356138588482602086016137ca565b91505092915050565b600067ffffffffffffffff82111561387c5761387b6133eb565b5b602082029050602081019050919050565b60006138a061389b84613861565b61344b565b905080838252602082019050602084028301858111156138c3576138c26137c5565b5b835b818110156138ec57806138d888826132d7565b8452602084019350506020810190506138c5565b5050509392505050565b600082601f83011261390b5761390a6133e1565b5b813561391b84826020860161388d565b91505092915050565b6000806040838503121561393b5761393a613136565b5b600083013567ffffffffffffffff8111156139595761395861313b565b5b61396585828601613833565b925050602083013567ffffffffffffffff8111156139865761398561313b565b5b613992858286016138f6565b9150509250929050565b600080604083850312156139b3576139b2613136565b5b60006139c18582860161338c565b92505060206139d28582860161338c565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680613a2357607f821691505b60208210811415613a3757613a366139dc565b5b50919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000613a73602083613206565b9150613a7e82613a3d565b602082019050919050565b60006020820190508181036000830152613aa281613a66565b9050919050565b7f5468652063616c6c657220697320616e6f7468657220636f6e74726163740000600082015250565b6000613adf601e83613206565b9150613aea82613aa9565b602082019050919050565b60006020820190508181036000830152613b0e81613ad2565b9050919050565b7f52656d61696e6465722053616c65206973206e6f742061637469766500000000600082015250565b6000613b4b601c83613206565b9150613b5682613b15565b602082019050919050565b60006020820190508181036000830152613b7a81613b3e565b9050919050565b7f54686973206973206e6f7420706f737369626c65000000000000000000000000600082015250565b6000613bb7601483613206565b9150613bc282613b81565b602082019050919050565b60006020820190508181036000830152613be681613baa565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000613c27826132b6565b9150613c32836132b6565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613c6757613c66613bed565b5b828201905092915050565b7f537570706c7920776f756c642062652065786365656465640000000000000000600082015250565b6000613ca8601883613206565b9150613cb382613c72565b602082019050919050565b60006020820190508181036000830152613cd781613c9b565b9050919050565b6000613ce9826132b6565b9150613cf4836132b6565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613d2d57613d2c613bed565b5b828202905092915050565b7f45746865722076616c75652073656e7420697320696e636f7272656374000000600082015250565b6000613d6e601d83613206565b9150613d7982613d38565b602082019050919050565b60006020820190508181036000830152613d9d81613d61565b9050919050565b7f5075626c69632053616c65206973206e6f742061637469766500000000000000600082015250565b6000613dda601983613206565b9150613de582613da4565b602082019050919050565b60006020820190508181036000830152613e0981613dcd565b9050919050565b7f4e6f7420706f737369626c652061742074686973206d6f6d656e740000000000600082015250565b6000613e46601b83613206565b9150613e5182613e10565b602082019050919050565b60006020820190508181036000830152613e7581613e39565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b6000613eb6826132b6565b9150613ec1836132b6565b925082613ed157613ed0613e7c565b5b828204905092915050565b7f53616c65206973206e6f74206163746976650000000000000000000000000000600082015250565b6000613f12601283613206565b9150613f1d82613edc565b602082019050919050565b60006020820190508181036000830152613f4181613f05565b9050919050565b7f496e76616c69642052616262697473204d696e74210000000000000000000000600082015250565b6000613f7e601583613206565b9150613f8982613f48565b602082019050919050565b60006020820190508181036000830152613fad81613f71565b9050919050565b6000613fbf826132b6565b9150613fca836132b6565b925082821015613fdd57613fdc613bed565b5b828203905092915050565b7f4e6f7420506f737369626c650000000000000000000000000000000000000000600082015250565b600061401e600c83613206565b915061402982613fe8565b602082019050919050565b6000602082019050818103600083015261404d81614011565b9050919050565b600081905092915050565b600061406a826131fb565b6140748185614054565b9350614084818560208601613217565b80840191505092915050565b600061409c828561405f565b91506140a8828461405f565b91508190509392505050565b7f496e76616c696420736e617073686f7420646174610000000000000000000000600082015250565b60006140ea601583613206565b91506140f5826140b4565b602082019050919050565b60006020820190508181036000830152614119816140dd565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600061415a826132b6565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561418d5761418c613bed565b5b600182019050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006141f4602683613206565b91506141ff82614198565b604082019050919050565b60006020820190508181036000830152614223816141e7565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006142518261422a565b61425b8185614235565b935061426b818560208601613217565b6142748161324a565b840191505092915050565b6000608082019050614294600083018761334b565b6142a1602083018661334b565b6142ae604083018561355f565b81810360608301526142c08184614246565b905095945050505050565b6000815190506142da8161316c565b92915050565b6000602082840312156142f6576142f5613136565b5b6000614304848285016142cb565b91505092915050565b6000614318826132b6565b9150614323836132b6565b92508261433357614332613e7c565b5b82820690509291505056fea26469706673582212209532cd97879e40a43636e64f34c37bd179c6b56da914c111434f32358bbc7e5a64736f6c63430008090033
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.