Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
NFT
Overview
Max Total Supply
2,472 RR
Holders
718
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Balance
4 RRLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
RocketRiders
Compiler Version
v0.8.0+commit.c7dfd78e
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol"; import "@openzeppelin/contracts/access/Ownable.sol"; contract RocketRiders is Ownable, ERC721Enumerable { using Strings for uint256; string public baseURI; uint256 public cost = 0.07 ether; uint256 public constant maxSupply = 9950; uint256 public maxMintAmount = 10; bool public paused = true; uint256 internal once = 5; uint256 public constant maxTraits = 6; uint16[][maxTraits] internal tp; uint16[maxTraits][maxSupply] internal rocketRiderGenome; address internal a1; address internal a2; address internal a3; address internal a4; address internal a5; constructor( string memory _name, string memory _symbol, string memory _initBaseURI, address _a1, address _a2, address _a3, address _a4, address _a5 ) ERC721(_name, _symbol) { setBaseURI(_initBaseURI); a1 = _a1; a2 = _a2; a3 = _a3; a4 = _a4; a5 = _a5; tp[0] = [ 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 11 ]; tp[1] = [ 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 7, 7, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9 ]; tp[2] = [ 1, 2, 2, 2, 2, 2, 2, 2, 2, 2, 2, 3, 3, 3, 3, 3, 3, 3, 3, 3, 3, 4, 4, 4, 4, 4, 4, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 9, 9, 10, 11, 12, 12, 12, 12, 12, 12, 13, 13, 13, 13, 13, 14, 15, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 16, 17, 18, 19, 20, 20, 21, 21, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 22, 23, 23, 24 ]; tp[3] = [ 1, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 8, 8, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 10, 11, 12, 12, 12, 12, 12, 12, 12, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 17, 17, 17, 17, 18, 19, 19, 19, 19, 19, 19, 20, 20, 20, 20, 20, 21, 21, 21, 22, 23, 23, 23, 23, 23, 23, 23, 24, 24, 25, 26, 27, 28, 28, 29 ]; tp[4] = [ 1, 1, 1, 2, 2, 2, 2, 3, 4, 5, 5, 5, 5, 5, 5, 5, 5, 5, 6, 6, 6, 6, 6, 6, 6, 7, 7, 7, 7, 7, 7, 7, 7, 8, 8, 8, 8, 8, 8, 8, 8, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 11, 12, 13, 13, 13, 13, 13, 13, 13, 13, 13, 14, 14, 14, 14, 14, 14, 14, 14, 15, 15, 15, 15, 15, 15, 15, 16, 17, 17, 17, 17, 17, 17, 17, 17, 17, 18, 18, 18, 18, 18, 18, 18, 18, 19, 20, 21, 22, 23 ]; tp[5] = [ 1, 1, 1, 1, 1, 2, 2, 2, 2, 2, 3, 3, 3, 4, 4, 4, 5, 5, 6, 6, 7, 7, 7, 7, 7, 7, 8, 8, 9, 9, 9, 9, 9, 9, 9, 10, 10, 10, 10, 10, 11, 11, 11, 11, 12, 12, 12, 13, 13, 14, 14, 15, 15, 15, 15, 15, 16, 16, 16, 16, 16, 17, 17, 17, 17, 17, 18, 19, 19, 20, 21, 21, 21, 21, 21, 22, 22, 22, 22, 22, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23, 23 ]; } function mint(address _to, uint256 _mintAmount) public payable { uint256 supply = totalSupply(); if (msg.sender != owner()) { require(supply + _mintAmount <= maxSupply); require(!paused); require(_mintAmount > 0 && _mintAmount <= maxMintAmount); require(msg.value >= cost * _mintAmount); } uint256 randomNumber = uint256( keccak256( abi.encodePacked(once, block.difficulty, block.timestamp, _to) ) ); for (uint256 i = 1; i <= _mintAmount; i++) { configureRider(randomNumber, supply + i); _safeMint(_to, supply + i); } } function configureRider(uint256 randomNumber, uint256 id) internal { for (uint8 i = 0; i < maxTraits; i++) { once++; rocketRiderGenome[id][i] = createDNA(i, randomNumber); } } function createDNA(uint8 traitType, uint256 randomNumber) internal view returns (uint16) { uint16 i = uint16( uint256(keccak256(abi.encodePacked(once, randomNumber++))) % tp[traitType].length ); uint16 result = tp[traitType][i]; return result; } function getRiderDNA(uint256 tokenId) public view returns ( uint256, uint256, uint256, uint256, uint256, uint256 ) { require( _exists(tokenId), "ERC721Metadata: DNA query for nonexistent token" ); return ( rocketRiderGenome[tokenId][0], rocketRiderGenome[tokenId][1], rocketRiderGenome[tokenId][2], rocketRiderGenome[tokenId][3], rocketRiderGenome[tokenId][4], rocketRiderGenome[tokenId][5] ); } function _baseURI() internal view virtual override returns (string memory) { return baseURI; } function setBaseURI(string memory _newBaseURI) public onlyOwner { baseURI = _newBaseURI; } function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require( _exists(tokenId), "ERC721Metadata: URI query for nonexistent token" ); return bytes(_baseURI()).length > 0 ? string(abi.encodePacked(_baseURI(), tokenId.toString())) : ""; } function setMaxMintAmount(uint256 _maxMintAmount) public onlyOwner { maxMintAmount = _maxMintAmount; } function setCost(uint256 _newCost) public onlyOwner { cost = _newCost; } function pause(bool _state) public onlyOwner { paused = _state; } function withdraw() public payable onlyOwner { uint256 amount = address(this).balance; require(payable(a1).send((amount * 350) / 1000)); require(payable(a2).send((amount * 275) / 1000)); require(payable(a3).send((amount * 150) / 1000)); require(payable(a4).send((amount * 150) / 1000)); require(payable(a5).send((amount * 75) / 1000)); } function getBalance() public view returns (uint256) { return address(this).balance; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize, which returns 0 for contracts in // construction, since the code is only stored at the end of the // constructor execution. uint256 size; assembly { size := extcodesize(account) } return size > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Enumerable is IERC721 { /** * @dev Returns the total amount of tokens stored by the contract. */ function totalSupply() external view returns (uint256); /** * @dev Returns a token ID owned by `owner` at a given `index` of its token list. * Use along with {balanceOf} to enumerate all of ``owner``'s tokens. */ function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId); /** * @dev Returns a token ID at a given `index` of all the tokens stored by the contract. * Use along with {totalSupply} to enumerate all tokens. */ function tokenByIndex(uint256 index) external view returns (uint256); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../ERC721.sol"; import "./IERC721Enumerable.sol"; /** * @dev This implements an optional extension of {ERC721} defined in the EIP that adds * enumerability of all the token ids in the contract as well as all token ids owned by each * account. */ abstract contract ERC721Enumerable is ERC721, IERC721Enumerable { // Mapping from owner to list of owned token IDs mapping(address => mapping(uint256 => uint256)) private _ownedTokens; // Mapping from token ID to index of the owner tokens list mapping(uint256 => uint256) private _ownedTokensIndex; // Array with all token ids, used for enumeration uint256[] private _allTokens; // Mapping from token id to position in the allTokens array mapping(uint256 => uint256) private _allTokensIndex; /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC721) returns (bool) { return interfaceId == type(IERC721Enumerable).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}. */ function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) { require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds"); return _ownedTokens[owner][index]; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { return _allTokens.length; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds"); return _allTokens[index]; } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` cannot be the zero address. * - `to` cannot be the zero address. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from == address(0)) { _addTokenToAllTokensEnumeration(tokenId); } else if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); } if (to == address(0)) { _removeTokenFromAllTokensEnumeration(tokenId); } else if (to != from) { _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev Private function to add a token to this extension's ownership-tracking data structures. * @param to address representing the new owner of the given token ID * @param tokenId uint256 ID of the token to be added to the tokens list of the given address */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev Private function to add a token to this extension's token tracking data structures. * @param tokenId uint256 ID of the token to be added to the tokens list */ function _addTokenToAllTokensEnumeration(uint256 tokenId) private { _allTokensIndex[tokenId] = _allTokens.length; _allTokens.push(tokenId); } /** * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for * gas optimizations e.g. when performing a transfer operation (avoiding double writes). * This has O(1) time complexity, but alters the order of the _ownedTokens array. * @param from address representing the previous owner of the given token ID * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address */ function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private { // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = ERC721.balanceOf(from) - 1; uint256 tokenIndex = _ownedTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary if (tokenIndex != lastTokenIndex) { uint256 lastTokenId = _ownedTokens[from][lastTokenIndex]; _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index } // This also deletes the contents at the last position of the array delete _ownedTokensIndex[tokenId]; delete _ownedTokens[from][lastTokenIndex]; } /** * @dev Private function to remove a token from this extension's token tracking data structures. * This has O(1) time complexity, but alters the order of the _allTokens array. * @param tokenId uint256 ID of the token to be removed from the tokens list */ function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private { // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and // then delete the last slot (swap and pop). uint256 lastTokenIndex = _allTokens.length - 1; uint256 tokenIndex = _allTokensIndex[tokenId]; // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding // an 'if' statement (like in _removeTokenFromOwnerEnumeration) uint256 lastTokenId = _allTokens[lastTokenIndex]; _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index // This also deletes the contents at the last position of the array delete _allTokensIndex[tokenId]; _allTokens.pop(); } }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "./IERC721.sol"; import "./IERC721Receiver.sol"; import "./extensions/IERC721Metadata.sol"; import "../../utils/Address.sol"; import "../../utils/Context.sol"; import "../../utils/Strings.sol"; import "../../utils/introspection/ERC165.sol"; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension, but not including the Enumerable extension, which is available separately as * {ERC721Enumerable}. */ contract ERC721 is Context, ERC165, IERC721, IERC721Metadata { using Address for address; using Strings for uint256; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to owner address mapping(uint256 => address) private _owners; // Mapping owner address to token count mapping(address => uint256) private _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: balance query for the zero address"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: owner query for nonexistent token"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token"); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ERC721.ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { require(_exists(tokenId), "ERC721: approved query for nonexistent token"); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { require(operator != _msgSender(), "ERC721: approve to caller"); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved"); _safeTransfer(from, to, tokenId, _data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `_data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory _data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { require(_exists(tokenId), "ERC721: operator query for nonexistent token"); address owner = ERC721.ownerOf(tokenId); return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender)); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory _data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ERC721.ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; delete _owners[tokenId]; emit Transfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ERC721.ownerOf(tokenId), to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _setOwner(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _setOwner(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _setOwner(newOwner); } function _setOwner(address newOwner) private { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
{ "remappings": [], "optimizer": { "enabled": true, "runs": 200 }, "evmVersion": "istanbul", "libraries": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "abi" ] } } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"address","name":"_a1","type":"address"},{"internalType":"address","name":"_a2","type":"address"},{"internalType":"address","name":"_a3","type":"address"},{"internalType":"address","name":"_a4","type":"address"},{"internalType":"address","name":"_a5","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"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":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getRiderDNA","outputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxTraits","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"}],"name":"setMaxMintAmount","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]
Contract Creation Code
608060405266f8b0a10e470000600c55600a600d55600e805460ff191660011790556005600f553480156200003357600080fd5b506040516200401d3803806200401d83398101604081905262000056916200171c565b87876200006c620000666200143e565b62001442565b81516200008190600190602085019062001509565b5080516200009790600290602084019062001509565b505050620000ab866200149260201b60201c565b6126f480546001600160a01b03199081166001600160a01b03888116919091179092556126f5805482168784161790556126f6805482168684161790556126f7805482168584161790556126f8805490911691831691909117905560408051610c8081018252600180825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101919091526002610100820181905261012082018190526101408201819052610160820181905261018082018190526101a082018190526101c082018190526101e08201819052610200820181905261022082015260036102408201819052610260820181905261028082018190526102a082018190526102c082018190526102e08201819052610300820181905261032082018190526103408201526004610360820181905261038082018190526103a082018190526103c082018190526103e08201819052610400820181905261042082018190526104408201819052610460820181905261048082015260056104a082018190526104c082018190526104e08201819052610500820181905261052082018190526105408201819052610560820181905261058082018190526105a082018190526105c082018190526105e08201819052610600820181905261062082018190526106408201819052610660820152600661068082018190526106a082018190526106c082018190526106e08201819052610700820181905261072082015260076107408201819052610760820181905261078082018190526107a082018190526107c082018190526107e08201819052610800820181905261082082018190526108408201819052610860820181905261088082018190526108a082018190526108c082018190526108e08201819052610900820181905261092082018190526109408201526008610960820181905261098082018190526109a082018190526109c082018190526109e08201819052610a008201819052610a208201819052610a408201819052610a608201819052610a808201526009610aa08201819052610ac08201819052610ae08201819052610b008201819052610b208201819052610b408201819052610b608201819052610b808201819052610ba0820152600a610bc08201819052610be08201819052610c008201819052610c208201819052610c40820152600b610c608201526200043790601090606462001598565b5060408051610c8081018252600180825260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101829052610160810191909152600261018082018190526101a082018190526101c082018190526101e08201819052610200820181905261022082018190526102408201819052610260820181905261028082018190526102a082018190526102c082018190526102e08201819052610300820181905261032082018190526103408201526003610360820181905261038082018190526103a082018190526103c082018190526103e08201526004610400820181905261042082018190526104408201819052610460820181905261048082018190526104a082018190526104c082018190526104e08201819052610500820181905261052082018190526105408201819052610560820181905261058082018190526105a082018190526105c082015260056105e08201819052610600820181905261062082018190526106408201819052610660820181905261068082018190526106a082018190526106c082018190526106e08201819052610700820181905261072082018190526107408201819052610760820181905261078082018190526107a082018190526107c082018190526107e08201819052610800820181905261082082018190526108408201526006610860820152600761088082018190526108a082018190526108c082018190526108e08201819052610900820181905261092082018190526109408201819052610960820181905261098082018190526109a082015260086109c082018190526109e08201819052610a008201819052610a208201819052610a408201819052610a608201819052610a808201819052610aa08201819052610ac08201819052610ae08201819052610b008201819052610b208201819052610b408201819052610b608201819052610b808201819052610ba08201819052610bc08201819052610be08201819052610c008201819052610c208201526009610c408201819052610c608201526200076990601190606462001598565b5060408051610c808101825260018152600260208201819052918101829052606081018290526080810182905260a0810182905260c0810182905260e08101829052610100810182905261012081018290526101408101919091526003610160820181905261018082018190526101a082018190526101c082018190526101e08201819052610200820181905261022082018190526102408201819052610260820181905261028082015260046102a082018190526102c082018190526102e08201819052610300820181905261032082018190526103408201526005610360820181905261038082018190526103a082018190526103c082018190526103e08201819052610400820181905261042082015260066104408201819052610460820181905261048082018190526104a082018190526104c082015260076104e08201819052610500820181905261052082018190526105408201819052610560820181905261058082018190526105a082015260086105c082018190526105e08201819052610600820181905261062082015260096106408201819052610660820152600a610680820152600b6106a0820152600c6106c082018190526106e08201819052610700820181905261072082018190526107408201819052610760820152600d61078082018190526107a082018190526107c082018190526107e08201819052610800820152600e610820820152600f6108408201526010610860820181905261088082018190526108a082018190526108c082018190526108e08201819052610900820181905261092082018190526109408201819052610960820181905261098082018190526109a082015260116109c082015260126109e082018190526013610a008301526014610a208301819052610a408301526015610a608301819052610a808301526016610aa08301819052610ac08301819052610ae08301819052610b008301819052610b208301819052610b408301819052610b608301819052610b808301819052610ba08301819052610bc08301819052610be08301819052610c008301526017610c208301819052610c408301526018610c6083015262000a9b91606462001598565b5060408051610c808101825260018152600260208201819052918101919091526003606082015260046080820152600560a0820181905260c0820181905260e08201819052610100820181905261012082018190526101408201819052610160820181905261018082015260066101a082018190526101c082018190526101e08201819052610200820181905261022082018190526102408201819052610260820152600761028082018190526102a082018190526102c082015260086102e08201819052610300820152600961032082018190526103408201819052610360820181905261038082018190526103a0820152600a6103c082018190526103e08201819052610400820181905261042082018190526104408201819052610460820152600b610480820152600c6104a082018190526104c082018190526104e08201819052610500820181905261052082018190526105408201819052610560820152600d61058082018190526105a082018190526105c0820152600e6105e08201819052610600820181905261062082018190526106408201819052610660820181905261068082018190526106a082018190526106c0820152600f6106e08201819052610700820181905261072082018190526107408201819052610760820152601061078082018190526107a082018190526107c082018190526107e08201819052610800820152601161082082018190526108408201819052610860820181905261088082015260126108a082015260136108c082018190526108e082018190526109008201819052610920820181905261094082018190526109608201819052601461098083018190526109a083018190526109c083018190526109e08301819052610a008301526015610a208301819052610a408301819052610a608301526016610a808301526017610aa08301819052610ac08301819052610ae08301819052610b008301819052610b208301819052610b408301819052610b608301526018610b808301819052610ba08301526019610bc0830152601a610be0830152601b610c00830152601c610c208301819052610c40830152601d610c6083015262000dcd91606462001598565b5060408051610c8081018252600180825260208201819052918101919091526002606082018190526080820181905260a0820181905260c0820152600360e08201526004610100820152600561012082018190526101408201819052610160820181905261018082018190526101a082018190526101c082018190526101e08201819052610200820181905261022082015260066102408201819052610260820181905261028082018190526102a082018190526102c082018190526102e08201819052610300820152600761032082018190526103408201819052610360820181905261038082018190526103a082018190526103c082018190526103e08201819052610400820152600861042082018190526104408201819052610460820181905261048082018190526104a082018190526104c082018190526104e08201819052610500820152600961052082018190526105408201819052610560820181905261058082018190526105a082018190526105c082018190526105e0820152600a61060082018190526106208201819052610640820152600b610660820152600c610680820152600d6106a082018190526106c082018190526106e08201819052610700820181905261072082018190526107408201819052610760820181905261078082018190526107a0820152600e6107c082018190526107e08201819052610800820181905261082082018190526108408201819052610860820181905261088082018190526108a0820152600f6108c082018190526108e08201819052610900820181905261092082018190526109408201819052610960820181905261098082015260106109a082015260116109c082018190526109e08201819052610a008201819052610a208201819052610a408201819052610a608201819052610a808201819052610aa08201819052610ac08201526012610ae08201819052610b008201819052610b208201819052610b408201819052610b608201819052610b808201819052610ba08201819052610bc08201526013610be08201526014610c0082018190526015610c208301526016610c408301526017610c60830152620010fe91606462001598565b5060408051610c8081018252600180825260208201819052918101829052606081018290526080810191909152600260a0820181905260c0820181905260e08201819052610100820181905261012082015260036101408201819052610160820181905261018082015260046101a082018190526101c082018190526101e08201526005610200820181905261022082015260066102408201819052610260820152600761028082018190526102a082018190526102c082018190526102e08201819052610300820181905261032082015260086103408201819052610360820152600961038082018190526103a082018190526103c082018190526103e0820181905261040082018190526104208201819052610440820152600a610460820181905261048082018190526104a082018190526104c082018190526104e0820152600b610500820181905261052082018190526105408201819052610560820152600c61058082018190526105a082018190526105c0820152600d6105e08201819052610600820152600e6106208201819052610640820152600f610660820181905261068082018190526106a082018190526106c082018190526106e08201526010610700820181905261072082018190526107408201819052610760820181905261078082015260116107a082018190526107c082018190526107e08201819052610800820181905261082082015260126108408201526013610860820181905261088082015260146108a082015260156108c082018190526108e082018190526109008201819052610920820181905261094082018190526016610960830181905261098083018190526109a083018190526109c083018190526109e08301526017610a008301819052610a208301819052610a408301819052610a608301819052610a808301819052610aa08301819052610ac08301819052610ae08301819052610b008301819052610b208301819052610b408301819052610b608301819052610b808301819052610ba08301819052610bc08301819052610be08301819052610c008301819052610c208301819052610c408301819052610c608301526200142f91606462001598565b5050505050505050506200188f565b3390565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6200149c6200143e565b6001600160a01b0316620014af620014fa565b6001600160a01b031614620014e15760405162461bcd60e51b8152600401620014d89062001807565b60405180910390fd5b8051620014f690600b90602084019062001509565b5050565b6000546001600160a01b031690565b82805462001517906200183c565b90600052602060002090601f0160209004810192826200153b576000855562001586565b82601f106200155657805160ff191683800117855562001586565b8280016001018555821562001586579182015b828111156200158657825182559160200191906001019062001569565b50620015949291506200163d565b5090565b82805482825590600052602060002090600f01601090048101928215620015865791602002820160005b838211156200160357835183826101000a81548161ffff021916908360ff1602179055509260200192600201602081600101049283019260010302620015c2565b8015620016335782816101000a81549061ffff021916905560020160208160010104928301926001030262001603565b5050620015949291505b5b808211156200159457600081556001016200163e565b80516001600160a01b03811681146200166c57600080fd5b919050565b600082601f83011262001682578081fd5b81516001600160401b03808211156200169f576200169f62001879565b6040516020601f8401601f1916820181018381118382101715620016c757620016c762001879565b6040528382528584018101871015620016de578485fd5b8492505b83831015620017015785830181015182840182015291820191620016e2565b838311156200171257848185840101525b5095945050505050565b600080600080600080600080610100898b03121562001739578384fd5b88516001600160401b038082111562001750578586fd5b6200175e8c838d0162001671565b995060208b015191508082111562001774578586fd5b620017828c838d0162001671565b985060408b015191508082111562001798578586fd5b50620017a78b828c0162001671565b965050620017b860608a0162001654565b9450620017c860808a0162001654565b9350620017d860a08a0162001654565b9250620017e860c08a0162001654565b9150620017f860e08a0162001654565b90509295985092959890939650565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b6002810460018216806200185157607f821691505b602082108114156200187357634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61277e806200189f6000396000f3fe6080604052600436106101ee5760003560e01c806344a0d68a1161010d5780638da5cb5b116100a0578063c87b56dd1161006f578063c87b56dd14610531578063d5abeb0114610551578063e8a41d7714610566578063e985e9c51461057b578063f2fde38b1461059b576101ee565b80638da5cb5b146104c757806395d89b41146104dc578063a22cb465146104f1578063b88d4fde14610511576101ee565b80636352211e116100dc5780636352211e1461045d5780636c0360eb1461047d57806370a0823114610492578063715018a6146104b2576101ee565b806344a0d68a146103e85780634f6ccce71461040857806355f804b3146104285780635c975abb14610448576101ee565b806313faede6116101855780632f745c59116101545780632f745c591461038d5780633ccfd60b146103ad57806340c10f19146103b557806342842e0e146103c8576101ee565b806313faede61461032e57806318160ddd14610343578063239c70ae1461035857806323b872dd1461036d576101ee565b8063081812fc116101c1578063081812fc1461029f578063088a4ed0146102cc578063095ea7b3146102ec57806312065fe01461030c576101ee565b806301ffc9a7146101f357806302329a291461022957806304515d301461024b57806306fdde031461027d575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611ebf565b6105bb565b604051610220919061203d565b60405180910390f35b34801561023557600080fd5b50610249610244366004611ea5565b6105e8565b005b34801561025757600080fd5b5061026b610266366004611f3d565b610643565b604051610220969594939291906125b0565b34801561028957600080fd5b506102926107ac565b6040516102209190612048565b3480156102ab57600080fd5b506102bf6102ba366004611f3d565b61083e565b6040516102209190611fec565b3480156102d857600080fd5b506102496102e7366004611f3d565b610881565b3480156102f857600080fd5b50610249610307366004611e7c565b6108c5565b34801561031857600080fd5b5061032161095d565b60405161022091906125a7565b34801561033a57600080fd5b50610321610961565b34801561034f57600080fd5b50610321610967565b34801561036457600080fd5b5061032161096d565b34801561037957600080fd5b50610249610388366004611d9f565b610973565b34801561039957600080fd5b506103216103a8366004611e7c565b6109ab565b6102496109fd565b6102496103c3366004611e7c565b610bab565b3480156103d457600080fd5b506102496103e3366004611d9f565b610cb2565b3480156103f457600080fd5b50610249610403366004611f3d565b610ccd565b34801561041457600080fd5b50610321610423366004611f3d565b610d11565b34801561043457600080fd5b50610249610443366004611ef7565b610d6c565b34801561045457600080fd5b50610213610dc2565b34801561046957600080fd5b506102bf610478366004611f3d565b610dcb565b34801561048957600080fd5b50610292610e00565b34801561049e57600080fd5b506103216104ad366004611d4c565b610e8e565b3480156104be57600080fd5b50610249610ed2565b3480156104d357600080fd5b506102bf610f1d565b3480156104e857600080fd5b50610292610f2c565b3480156104fd57600080fd5b5061024961050c366004611e53565b610f3b565b34801561051d57600080fd5b5061024961052c366004611dda565b611009565b34801561053d57600080fd5b5061029261054c366004611f3d565b611048565b34801561055d57600080fd5b506103216110cc565b34801561057257600080fd5b506103216110d2565b34801561058757600080fd5b50610213610596366004611d6d565b6110d7565b3480156105a757600080fd5b506102496105b6366004611d4c565b611105565b60006001600160e01b0319821663780e9d6360e01b14806105e057506105e082611173565b90505b919050565b6105f06111b3565b6001600160a01b0316610601610f1d565b6001600160a01b0316146106305760405162461bcd60e51b8152600401610627906123fc565b60405180910390fd5b600e805460ff1916911515919091179055565b600080600080600080610655876111b7565b6106715760405162461bcd60e51b81526004016106279061205b565b6016876126de811061069357634e487b7160e01b600052603260045260246000fd5b015461ffff166016886126de81106106bb57634e487b7160e01b600052603260045260246000fd5b015462010000900461ffff166016896126de81106106e957634e487b7160e01b600052603260045260246000fd5b0154640100000000900461ffff1660168a6126de811061071957634e487b7160e01b600052603260045260246000fd5b01546601000000000000900461ffff1660168b6126de811061074b57634e487b7160e01b600052603260045260246000fd5b015468010000000000000000900461ffff1660168c6126de811061077f57634e487b7160e01b600052603260045260246000fd5b015461ffff9586169d9486169c509285169a50908416985083169650600160501b90049091169350915050565b6060600180546107bb90612666565b80601f01602080910402602001604051908101604052809291908181526020018280546107e790612666565b80156108345780601f1061080957610100808354040283529160200191610834565b820191906000526020600020905b81548152906001019060200180831161081757829003601f168201915b5050505050905090565b6000610849826111b7565b6108655760405162461bcd60e51b8152600401610627906123b0565b506000908152600560205260409020546001600160a01b031690565b6108896111b3565b6001600160a01b031661089a610f1d565b6001600160a01b0316146108c05760405162461bcd60e51b8152600401610627906123fc565b600d55565b60006108d082610dcb565b9050806001600160a01b0316836001600160a01b031614156109045760405162461bcd60e51b8152600401610627906124c9565b806001600160a01b03166109166111b3565b6001600160a01b031614806109325750610932816105966111b3565b61094e5760405162461bcd60e51b81526004016106279061228b565b61095883836111d4565b505050565b4790565b600c5481565b60095490565b600d5481565b61098461097e6111b3565b82611242565b6109a05760405162461bcd60e51b81526004016106279061250a565b6109588383836112c7565b60006109b683610e8e565b82106109d45760405162461bcd60e51b8152600401610627906120aa565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b610a056111b3565b6001600160a01b0316610a16610f1d565b6001600160a01b031614610a3c5760405162461bcd60e51b8152600401610627906123fc565b6126f45447906001600160a01b03166108fc6103e8610a5d8461015e612604565b610a6791906125f0565b6040518115909202916000818181858888f19350505050610a8757600080fd5b6126f5546001600160a01b03166108fc6103e8610aa684610113612604565b610ab091906125f0565b6040518115909202916000818181858888f19350505050610ad057600080fd5b6126f6546001600160a01b03166108fc6103e8610aee846096612604565b610af891906125f0565b6040518115909202916000818181858888f19350505050610b1857600080fd5b6126f7546001600160a01b03166108fc6103e8610b36846096612604565b610b4091906125f0565b6040518115909202916000818181858888f19350505050610b6057600080fd5b6126f8546001600160a01b03166108fc6103e8610b7e84604b612604565b610b8891906125f0565b6040518115909202916000818181858888f19350505050610ba857600080fd5b50565b6000610bb5610967565b9050610bbf610f1d565b6001600160a01b0316336001600160a01b031614610c34576126de610be483836125d8565b1115610bef57600080fd5b600e5460ff1615610bff57600080fd5b600082118015610c115750600d548211155b610c1a57600080fd5b81600c54610c289190612604565b341015610c3457600080fd5b6000600f54444286604051602001610c4f9493929190611fbe565b60408051601f198184030181529190528051602090910120905060015b838111610cab57610c8682610c8183866125d8565b6113f4565b610c9985610c9483866125d8565b61149f565b80610ca3816126a1565b915050610c6c565b5050505050565b61095883838360405180602001604052806000815250611009565b610cd56111b3565b6001600160a01b0316610ce6610f1d565b6001600160a01b031614610d0c5760405162461bcd60e51b8152600401610627906123fc565b600c55565b6000610d1b610967565b8210610d395760405162461bcd60e51b81526004016106279061255b565b60098281548110610d5a57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b610d746111b3565b6001600160a01b0316610d85610f1d565b6001600160a01b031614610dab5760405162461bcd60e51b8152600401610627906123fc565b8051610dbe90600b906020840190611c1c565b5050565b600e5460ff1681565b6000818152600360205260408120546001600160a01b0316806105e05760405162461bcd60e51b815260040161062790612332565b600b8054610e0d90612666565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3990612666565b8015610e865780601f10610e5b57610100808354040283529160200191610e86565b820191906000526020600020905b815481529060010190602001808311610e6957829003601f168201915b505050505081565b60006001600160a01b038216610eb65760405162461bcd60e51b8152600401610627906122e8565b506001600160a01b031660009081526004602052604090205490565b610eda6111b3565b6001600160a01b0316610eeb610f1d565b6001600160a01b031614610f115760405162461bcd60e51b8152600401610627906123fc565b610f1b60006114b9565b565b6000546001600160a01b031690565b6060600280546107bb90612666565b610f436111b3565b6001600160a01b0316826001600160a01b03161415610f745760405162461bcd60e51b815260040161062790612208565b8060066000610f816111b3565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610fc56111b3565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610ffd919061203d565b60405180910390a35050565b61101a6110146111b3565b83611242565b6110365760405162461bcd60e51b81526004016106279061250a565b61104284848484611509565b50505050565b6060611053826111b7565b61106f5760405162461bcd60e51b81526004016106279061247a565b600061107961153c565b511161109457604051806020016040528060008152506105e0565b61109c61153c565b6110a58361154b565b6040516020016110b6929190611f81565b6040516020818303038152906040529050919050565b6126de81565b600681565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61110d6111b3565b6001600160a01b031661111e610f1d565b6001600160a01b0316146111445760405162461bcd60e51b8152600401610627906123fc565b6001600160a01b03811661116a5760405162461bcd60e51b815260040161062790612147565b610ba8816114b9565b60006001600160e01b031982166380ac58cd60e01b14806111a457506001600160e01b03198216635b5e139f60e01b145b806105e057506105e082611666565b3390565b6000908152600360205260409020546001600160a01b0316151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061120982610dcb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061124d826111b7565b6112695760405162461bcd60e51b81526004016106279061223f565b600061127483610dcb565b9050806001600160a01b0316846001600160a01b031614806112af5750836001600160a01b03166112a48461083e565b6001600160a01b0316145b806112bf57506112bf81856110d7565b949350505050565b826001600160a01b03166112da82610dcb565b6001600160a01b0316146113005760405162461bcd60e51b815260040161062790612431565b6001600160a01b0382166113265760405162461bcd60e51b8152600401610627906121c4565b61133183838361167f565b61133c6000826111d4565b6001600160a01b0383166000908152600460205260408120805460019290611365908490612623565b90915550506001600160a01b03821660009081526004602052604081208054600192906113939084906125d8565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60005b60068160ff16101561095857600f8054906000611413836126a1565b91905055506114228184611708565b6016836126de811061144457634e487b7160e01b600052603260045260246000fd5b018260ff166006811061146757634e487b7160e01b600052603260045260246000fd5b601091828204019190066002026101000a81548161ffff021916908361ffff1602179055508080611497906126bc565b9150506113f7565b610dbe8282604051806020016040528060008152506117eb565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6115148484846112c7565b6115208484848461181e565b6110425760405162461bcd60e51b8152600401610627906120f5565b6060600b80546107bb90612666565b60608161157057506040805180820190915260018152600360fc1b60208201526105e3565b8160005b811561159a5780611584816126a1565b91506115939050600a836125f0565b9150611574565b60008167ffffffffffffffff8111156115c357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115ed576020820181803683370190505b5090505b84156112bf57611602600183612623565b915061160f600a866126dc565b61161a9060306125d8565b60f81b81838151811061163d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061165f600a866125f0565b94506115f1565b6001600160e01b031981166301ffc9a760e01b14919050565b61168a838383610958565b6001600160a01b0383166116a6576116a181611939565b6116c9565b816001600160a01b0316836001600160a01b0316146116c9576116c9838261197d565b6001600160a01b0382166116e5576116e081611a1a565b610958565b826001600160a01b0316826001600160a01b031614610958576109588282611af3565b60008060108460ff166006811061172f57634e487b7160e01b600052603260045260246000fd5b0154600f548461173e816126a1565b9550604051602001611751929190611fb0565b6040516020818303038152906040528051906020012060001c61177491906126dc565b9050600060108560ff166006811061179c57634e487b7160e01b600052603260045260246000fd5b018261ffff16815481106117c057634e487b7160e01b600052603260045260246000fd5b60009182526020909120601082040154600f9091166002026101000a900461ffff1695945050505050565b6117f58383611b37565b611802600084848461181e565b6109585760405162461bcd60e51b8152600401610627906120f5565b6000611832846001600160a01b0316611c16565b1561192e57836001600160a01b031663150b7a0261184e6111b3565b8786866040518563ffffffff1660e01b81526004016118709493929190612000565b602060405180830381600087803b15801561188a57600080fd5b505af19250505080156118ba575060408051601f3d908101601f191682019092526118b791810190611edb565b60015b611914573d8080156118e8576040519150601f19603f3d011682016040523d82523d6000602084013e6118ed565b606091505b50805161190c5760405162461bcd60e51b8152600401610627906120f5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112bf565b506001949350505050565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6000600161198a84610e8e565b6119949190612623565b6000838152600860205260409020549091508082146119e7576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090611a2c90600190612623565b6000838152600a602052604081205460098054939450909284908110611a6257634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060098381548110611a9157634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480611ad757634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611afe83610e8e565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b038216611b5d5760405162461bcd60e51b81526004016106279061237b565b611b66816111b7565b15611b835760405162461bcd60e51b81526004016106279061218d565b611b8f6000838361167f565b6001600160a01b0382166000908152600460205260408120805460019290611bb89084906125d8565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b828054611c2890612666565b90600052602060002090601f016020900481019282611c4a5760008555611c90565b82601f10611c6357805160ff1916838001178555611c90565b82800160010185558215611c90579182015b82811115611c90578251825591602001919060010190611c75565b50611c9c929150611ca0565b5090565b5b80821115611c9c5760008155600101611ca1565b600067ffffffffffffffff80841115611cd057611cd061271c565b604051601f8501601f191681016020018281118282101715611cf457611cf461271c565b604052848152915081838501861015611d0c57600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146105e357600080fd5b803580151581146105e357600080fd5b600060208284031215611d5d578081fd5b611d6682611d25565b9392505050565b60008060408385031215611d7f578081fd5b611d8883611d25565b9150611d9660208401611d25565b90509250929050565b600080600060608486031215611db3578081fd5b611dbc84611d25565b9250611dca60208501611d25565b9150604084013590509250925092565b60008060008060808587031215611def578081fd5b611df885611d25565b9350611e0660208601611d25565b925060408501359150606085013567ffffffffffffffff811115611e28578182fd5b8501601f81018713611e38578182fd5b611e4787823560208401611cb5565b91505092959194509250565b60008060408385031215611e65578182fd5b611e6e83611d25565b9150611d9660208401611d3c565b60008060408385031215611e8e578182fd5b611e9783611d25565b946020939093013593505050565b600060208284031215611eb6578081fd5b611d6682611d3c565b600060208284031215611ed0578081fd5b8135611d6681612732565b600060208284031215611eec578081fd5b8151611d6681612732565b600060208284031215611f08578081fd5b813567ffffffffffffffff811115611f1e578182fd5b8201601f81018413611f2e578182fd5b6112bf84823560208401611cb5565b600060208284031215611f4e578081fd5b5035919050565b60008151808452611f6d81602086016020860161263a565b601f01601f19169290920160200192915050565b60008351611f9381846020880161263a565b835190830190611fa781836020880161263a565b01949350505050565b918252602082015260400190565b93845260208401929092526040830152606090811b6bffffffffffffffffffffffff19169082015260740190565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061203390830184611f55565b9695505050505050565b901515815260200190565b600060208252611d666020830184611f55565b6020808252602f908201527f4552433732314d657461646174613a20444e4120717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b90815260200190565b958652602086019490945260408501929092526060840152608083015260a082015260c00190565b600082198211156125eb576125eb6126f0565b500190565b6000826125ff576125ff612706565b500490565b600081600019048311821515161561261e5761261e6126f0565b500290565b600082821015612635576126356126f0565b500390565b60005b8381101561265557818101518382015260200161263d565b838111156110425750506000910152565b60028104600182168061267a57607f821691505b6020821081141561269b57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156126b5576126b56126f0565b5060010190565b600060ff821660ff8114156126d3576126d36126f0565b60010192915050565b6000826126eb576126eb612706565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ba857600080fdfea26469706673582212203b8950dfcc660e794158f027a606b7920285255efc915c20fdff83e3079a4e6c64736f6c634300080000330000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000008a3fecd0348da48d5fe4dc05b2897d2758942abf000000000000000000000000da00a06ab3bbd3544b79c1350c463cab9f196880000000000000000000000000d23f42e3dc8769f38de085a52b81e76233c9750c000000000000000000000000679a4218aaca587bbf1c863780d6149a99ef67bd0000000000000000000000009b1e6d7c3d29d83877907b212ee4bf9baaf0e7e2000000000000000000000000000000000000000000000000000000000000000d526f636b65742052696465727300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000252520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101ee5760003560e01c806344a0d68a1161010d5780638da5cb5b116100a0578063c87b56dd1161006f578063c87b56dd14610531578063d5abeb0114610551578063e8a41d7714610566578063e985e9c51461057b578063f2fde38b1461059b576101ee565b80638da5cb5b146104c757806395d89b41146104dc578063a22cb465146104f1578063b88d4fde14610511576101ee565b80636352211e116100dc5780636352211e1461045d5780636c0360eb1461047d57806370a0823114610492578063715018a6146104b2576101ee565b806344a0d68a146103e85780634f6ccce71461040857806355f804b3146104285780635c975abb14610448576101ee565b806313faede6116101855780632f745c59116101545780632f745c591461038d5780633ccfd60b146103ad57806340c10f19146103b557806342842e0e146103c8576101ee565b806313faede61461032e57806318160ddd14610343578063239c70ae1461035857806323b872dd1461036d576101ee565b8063081812fc116101c1578063081812fc1461029f578063088a4ed0146102cc578063095ea7b3146102ec57806312065fe01461030c576101ee565b806301ffc9a7146101f357806302329a291461022957806304515d301461024b57806306fdde031461027d575b600080fd5b3480156101ff57600080fd5b5061021361020e366004611ebf565b6105bb565b604051610220919061203d565b60405180910390f35b34801561023557600080fd5b50610249610244366004611ea5565b6105e8565b005b34801561025757600080fd5b5061026b610266366004611f3d565b610643565b604051610220969594939291906125b0565b34801561028957600080fd5b506102926107ac565b6040516102209190612048565b3480156102ab57600080fd5b506102bf6102ba366004611f3d565b61083e565b6040516102209190611fec565b3480156102d857600080fd5b506102496102e7366004611f3d565b610881565b3480156102f857600080fd5b50610249610307366004611e7c565b6108c5565b34801561031857600080fd5b5061032161095d565b60405161022091906125a7565b34801561033a57600080fd5b50610321610961565b34801561034f57600080fd5b50610321610967565b34801561036457600080fd5b5061032161096d565b34801561037957600080fd5b50610249610388366004611d9f565b610973565b34801561039957600080fd5b506103216103a8366004611e7c565b6109ab565b6102496109fd565b6102496103c3366004611e7c565b610bab565b3480156103d457600080fd5b506102496103e3366004611d9f565b610cb2565b3480156103f457600080fd5b50610249610403366004611f3d565b610ccd565b34801561041457600080fd5b50610321610423366004611f3d565b610d11565b34801561043457600080fd5b50610249610443366004611ef7565b610d6c565b34801561045457600080fd5b50610213610dc2565b34801561046957600080fd5b506102bf610478366004611f3d565b610dcb565b34801561048957600080fd5b50610292610e00565b34801561049e57600080fd5b506103216104ad366004611d4c565b610e8e565b3480156104be57600080fd5b50610249610ed2565b3480156104d357600080fd5b506102bf610f1d565b3480156104e857600080fd5b50610292610f2c565b3480156104fd57600080fd5b5061024961050c366004611e53565b610f3b565b34801561051d57600080fd5b5061024961052c366004611dda565b611009565b34801561053d57600080fd5b5061029261054c366004611f3d565b611048565b34801561055d57600080fd5b506103216110cc565b34801561057257600080fd5b506103216110d2565b34801561058757600080fd5b50610213610596366004611d6d565b6110d7565b3480156105a757600080fd5b506102496105b6366004611d4c565b611105565b60006001600160e01b0319821663780e9d6360e01b14806105e057506105e082611173565b90505b919050565b6105f06111b3565b6001600160a01b0316610601610f1d565b6001600160a01b0316146106305760405162461bcd60e51b8152600401610627906123fc565b60405180910390fd5b600e805460ff1916911515919091179055565b600080600080600080610655876111b7565b6106715760405162461bcd60e51b81526004016106279061205b565b6016876126de811061069357634e487b7160e01b600052603260045260246000fd5b015461ffff166016886126de81106106bb57634e487b7160e01b600052603260045260246000fd5b015462010000900461ffff166016896126de81106106e957634e487b7160e01b600052603260045260246000fd5b0154640100000000900461ffff1660168a6126de811061071957634e487b7160e01b600052603260045260246000fd5b01546601000000000000900461ffff1660168b6126de811061074b57634e487b7160e01b600052603260045260246000fd5b015468010000000000000000900461ffff1660168c6126de811061077f57634e487b7160e01b600052603260045260246000fd5b015461ffff9586169d9486169c509285169a50908416985083169650600160501b90049091169350915050565b6060600180546107bb90612666565b80601f01602080910402602001604051908101604052809291908181526020018280546107e790612666565b80156108345780601f1061080957610100808354040283529160200191610834565b820191906000526020600020905b81548152906001019060200180831161081757829003601f168201915b5050505050905090565b6000610849826111b7565b6108655760405162461bcd60e51b8152600401610627906123b0565b506000908152600560205260409020546001600160a01b031690565b6108896111b3565b6001600160a01b031661089a610f1d565b6001600160a01b0316146108c05760405162461bcd60e51b8152600401610627906123fc565b600d55565b60006108d082610dcb565b9050806001600160a01b0316836001600160a01b031614156109045760405162461bcd60e51b8152600401610627906124c9565b806001600160a01b03166109166111b3565b6001600160a01b031614806109325750610932816105966111b3565b61094e5760405162461bcd60e51b81526004016106279061228b565b61095883836111d4565b505050565b4790565b600c5481565b60095490565b600d5481565b61098461097e6111b3565b82611242565b6109a05760405162461bcd60e51b81526004016106279061250a565b6109588383836112c7565b60006109b683610e8e565b82106109d45760405162461bcd60e51b8152600401610627906120aa565b506001600160a01b03919091166000908152600760209081526040808320938352929052205490565b610a056111b3565b6001600160a01b0316610a16610f1d565b6001600160a01b031614610a3c5760405162461bcd60e51b8152600401610627906123fc565b6126f45447906001600160a01b03166108fc6103e8610a5d8461015e612604565b610a6791906125f0565b6040518115909202916000818181858888f19350505050610a8757600080fd5b6126f5546001600160a01b03166108fc6103e8610aa684610113612604565b610ab091906125f0565b6040518115909202916000818181858888f19350505050610ad057600080fd5b6126f6546001600160a01b03166108fc6103e8610aee846096612604565b610af891906125f0565b6040518115909202916000818181858888f19350505050610b1857600080fd5b6126f7546001600160a01b03166108fc6103e8610b36846096612604565b610b4091906125f0565b6040518115909202916000818181858888f19350505050610b6057600080fd5b6126f8546001600160a01b03166108fc6103e8610b7e84604b612604565b610b8891906125f0565b6040518115909202916000818181858888f19350505050610ba857600080fd5b50565b6000610bb5610967565b9050610bbf610f1d565b6001600160a01b0316336001600160a01b031614610c34576126de610be483836125d8565b1115610bef57600080fd5b600e5460ff1615610bff57600080fd5b600082118015610c115750600d548211155b610c1a57600080fd5b81600c54610c289190612604565b341015610c3457600080fd5b6000600f54444286604051602001610c4f9493929190611fbe565b60408051601f198184030181529190528051602090910120905060015b838111610cab57610c8682610c8183866125d8565b6113f4565b610c9985610c9483866125d8565b61149f565b80610ca3816126a1565b915050610c6c565b5050505050565b61095883838360405180602001604052806000815250611009565b610cd56111b3565b6001600160a01b0316610ce6610f1d565b6001600160a01b031614610d0c5760405162461bcd60e51b8152600401610627906123fc565b600c55565b6000610d1b610967565b8210610d395760405162461bcd60e51b81526004016106279061255b565b60098281548110610d5a57634e487b7160e01b600052603260045260246000fd5b90600052602060002001549050919050565b610d746111b3565b6001600160a01b0316610d85610f1d565b6001600160a01b031614610dab5760405162461bcd60e51b8152600401610627906123fc565b8051610dbe90600b906020840190611c1c565b5050565b600e5460ff1681565b6000818152600360205260408120546001600160a01b0316806105e05760405162461bcd60e51b815260040161062790612332565b600b8054610e0d90612666565b80601f0160208091040260200160405190810160405280929190818152602001828054610e3990612666565b8015610e865780601f10610e5b57610100808354040283529160200191610e86565b820191906000526020600020905b815481529060010190602001808311610e6957829003601f168201915b505050505081565b60006001600160a01b038216610eb65760405162461bcd60e51b8152600401610627906122e8565b506001600160a01b031660009081526004602052604090205490565b610eda6111b3565b6001600160a01b0316610eeb610f1d565b6001600160a01b031614610f115760405162461bcd60e51b8152600401610627906123fc565b610f1b60006114b9565b565b6000546001600160a01b031690565b6060600280546107bb90612666565b610f436111b3565b6001600160a01b0316826001600160a01b03161415610f745760405162461bcd60e51b815260040161062790612208565b8060066000610f816111b3565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155610fc56111b3565b6001600160a01b03167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051610ffd919061203d565b60405180910390a35050565b61101a6110146111b3565b83611242565b6110365760405162461bcd60e51b81526004016106279061250a565b61104284848484611509565b50505050565b6060611053826111b7565b61106f5760405162461bcd60e51b81526004016106279061247a565b600061107961153c565b511161109457604051806020016040528060008152506105e0565b61109c61153c565b6110a58361154b565b6040516020016110b6929190611f81565b6040516020818303038152906040529050919050565b6126de81565b600681565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b61110d6111b3565b6001600160a01b031661111e610f1d565b6001600160a01b0316146111445760405162461bcd60e51b8152600401610627906123fc565b6001600160a01b03811661116a5760405162461bcd60e51b815260040161062790612147565b610ba8816114b9565b60006001600160e01b031982166380ac58cd60e01b14806111a457506001600160e01b03198216635b5e139f60e01b145b806105e057506105e082611666565b3390565b6000908152600360205260409020546001600160a01b0316151590565b600081815260056020526040902080546001600160a01b0319166001600160a01b038416908117909155819061120982610dcb565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061124d826111b7565b6112695760405162461bcd60e51b81526004016106279061223f565b600061127483610dcb565b9050806001600160a01b0316846001600160a01b031614806112af5750836001600160a01b03166112a48461083e565b6001600160a01b0316145b806112bf57506112bf81856110d7565b949350505050565b826001600160a01b03166112da82610dcb565b6001600160a01b0316146113005760405162461bcd60e51b815260040161062790612431565b6001600160a01b0382166113265760405162461bcd60e51b8152600401610627906121c4565b61133183838361167f565b61133c6000826111d4565b6001600160a01b0383166000908152600460205260408120805460019290611365908490612623565b90915550506001600160a01b03821660009081526004602052604081208054600192906113939084906125d8565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60005b60068160ff16101561095857600f8054906000611413836126a1565b91905055506114228184611708565b6016836126de811061144457634e487b7160e01b600052603260045260246000fd5b018260ff166006811061146757634e487b7160e01b600052603260045260246000fd5b601091828204019190066002026101000a81548161ffff021916908361ffff1602179055508080611497906126bc565b9150506113f7565b610dbe8282604051806020016040528060008152506117eb565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6115148484846112c7565b6115208484848461181e565b6110425760405162461bcd60e51b8152600401610627906120f5565b6060600b80546107bb90612666565b60608161157057506040805180820190915260018152600360fc1b60208201526105e3565b8160005b811561159a5780611584816126a1565b91506115939050600a836125f0565b9150611574565b60008167ffffffffffffffff8111156115c357634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156115ed576020820181803683370190505b5090505b84156112bf57611602600183612623565b915061160f600a866126dc565b61161a9060306125d8565b60f81b81838151811061163d57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a90535061165f600a866125f0565b94506115f1565b6001600160e01b031981166301ffc9a760e01b14919050565b61168a838383610958565b6001600160a01b0383166116a6576116a181611939565b6116c9565b816001600160a01b0316836001600160a01b0316146116c9576116c9838261197d565b6001600160a01b0382166116e5576116e081611a1a565b610958565b826001600160a01b0316826001600160a01b031614610958576109588282611af3565b60008060108460ff166006811061172f57634e487b7160e01b600052603260045260246000fd5b0154600f548461173e816126a1565b9550604051602001611751929190611fb0565b6040516020818303038152906040528051906020012060001c61177491906126dc565b9050600060108560ff166006811061179c57634e487b7160e01b600052603260045260246000fd5b018261ffff16815481106117c057634e487b7160e01b600052603260045260246000fd5b60009182526020909120601082040154600f9091166002026101000a900461ffff1695945050505050565b6117f58383611b37565b611802600084848461181e565b6109585760405162461bcd60e51b8152600401610627906120f5565b6000611832846001600160a01b0316611c16565b1561192e57836001600160a01b031663150b7a0261184e6111b3565b8786866040518563ffffffff1660e01b81526004016118709493929190612000565b602060405180830381600087803b15801561188a57600080fd5b505af19250505080156118ba575060408051601f3d908101601f191682019092526118b791810190611edb565b60015b611914573d8080156118e8576040519150601f19603f3d011682016040523d82523d6000602084013e6118ed565b606091505b50805161190c5760405162461bcd60e51b8152600401610627906120f5565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506112bf565b506001949350505050565b600980546000838152600a60205260408120829055600182018355919091527f6e1540171b6c0c960b71a7020d9f60077f6af931a8bbf590da0223dacf75c7af0155565b6000600161198a84610e8e565b6119949190612623565b6000838152600860205260409020549091508082146119e7576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b600954600090611a2c90600190612623565b6000838152600a602052604081205460098054939450909284908110611a6257634e487b7160e01b600052603260045260246000fd5b906000526020600020015490508060098381548110611a9157634e487b7160e01b600052603260045260246000fd5b6000918252602080832090910192909255828152600a90915260408082208490558582528120556009805480611ad757634e487b7160e01b600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000611afe83610e8e565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6001600160a01b038216611b5d5760405162461bcd60e51b81526004016106279061237b565b611b66816111b7565b15611b835760405162461bcd60e51b81526004016106279061218d565b611b8f6000838361167f565b6001600160a01b0382166000908152600460205260408120805460019290611bb89084906125d8565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b3b151590565b828054611c2890612666565b90600052602060002090601f016020900481019282611c4a5760008555611c90565b82601f10611c6357805160ff1916838001178555611c90565b82800160010185558215611c90579182015b82811115611c90578251825591602001919060010190611c75565b50611c9c929150611ca0565b5090565b5b80821115611c9c5760008155600101611ca1565b600067ffffffffffffffff80841115611cd057611cd061271c565b604051601f8501601f191681016020018281118282101715611cf457611cf461271c565b604052848152915081838501861015611d0c57600080fd5b8484602083013760006020868301015250509392505050565b80356001600160a01b03811681146105e357600080fd5b803580151581146105e357600080fd5b600060208284031215611d5d578081fd5b611d6682611d25565b9392505050565b60008060408385031215611d7f578081fd5b611d8883611d25565b9150611d9660208401611d25565b90509250929050565b600080600060608486031215611db3578081fd5b611dbc84611d25565b9250611dca60208501611d25565b9150604084013590509250925092565b60008060008060808587031215611def578081fd5b611df885611d25565b9350611e0660208601611d25565b925060408501359150606085013567ffffffffffffffff811115611e28578182fd5b8501601f81018713611e38578182fd5b611e4787823560208401611cb5565b91505092959194509250565b60008060408385031215611e65578182fd5b611e6e83611d25565b9150611d9660208401611d3c565b60008060408385031215611e8e578182fd5b611e9783611d25565b946020939093013593505050565b600060208284031215611eb6578081fd5b611d6682611d3c565b600060208284031215611ed0578081fd5b8135611d6681612732565b600060208284031215611eec578081fd5b8151611d6681612732565b600060208284031215611f08578081fd5b813567ffffffffffffffff811115611f1e578182fd5b8201601f81018413611f2e578182fd5b6112bf84823560208401611cb5565b600060208284031215611f4e578081fd5b5035919050565b60008151808452611f6d81602086016020860161263a565b601f01601f19169290920160200192915050565b60008351611f9381846020880161263a565b835190830190611fa781836020880161263a565b01949350505050565b918252602082015260400190565b93845260208401929092526040830152606090811b6bffffffffffffffffffffffff19169082015260740190565b6001600160a01b0391909116815260200190565b6001600160a01b038581168252841660208201526040810183905260806060820181905260009061203390830184611f55565b9695505050505050565b901515815260200190565b600060208252611d666020830184611f55565b6020808252602f908201527f4552433732314d657461646174613a20444e4120717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b6020808252602b908201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560408201526a74206f6620626f756e647360a81b606082015260800190565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b60208082526026908201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160408201526564647265737360d01b606082015260800190565b6020808252601c908201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604082015260600190565b60208082526024908201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646040820152637265737360e01b606082015260800190565b60208082526019908201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604082015260600190565b6020808252602c908201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b60208082526038908201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760408201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000606082015260800190565b6020808252602a908201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604082015269726f206164647265737360b01b606082015260800190565b60208082526029908201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460408201526832b73a103a37b5b2b760b91b606082015260800190565b6020808252818101527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604082015260600190565b6020808252602c908201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860408201526b34b9ba32b73a103a37b5b2b760a11b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526029908201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960408201526839903737ba1037bbb760b91b606082015260800190565b6020808252602f908201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60408201526e3732bc34b9ba32b73a103a37b5b2b760891b606082015260800190565b60208082526021908201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656040820152603960f91b606082015260800190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b6020808252602c908201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60408201526b7574206f6620626f756e647360a01b606082015260800190565b90815260200190565b958652602086019490945260408501929092526060840152608083015260a082015260c00190565b600082198211156125eb576125eb6126f0565b500190565b6000826125ff576125ff612706565b500490565b600081600019048311821515161561261e5761261e6126f0565b500290565b600082821015612635576126356126f0565b500390565b60005b8381101561265557818101518382015260200161263d565b838111156110425750506000910152565b60028104600182168061267a57607f821691505b6020821081141561269b57634e487b7160e01b600052602260045260246000fd5b50919050565b60006000198214156126b5576126b56126f0565b5060010190565b600060ff821660ff8114156126d3576126d36126f0565b60010192915050565b6000826126eb576126eb612706565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160e01b031981168114610ba857600080fdfea26469706673582212203b8950dfcc660e794158f027a606b7920285255efc915c20fdff83e3079a4e6c64736f6c63430008000033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000008a3fecd0348da48d5fe4dc05b2897d2758942abf000000000000000000000000da00a06ab3bbd3544b79c1350c463cab9f196880000000000000000000000000d23f42e3dc8769f38de085a52b81e76233c9750c000000000000000000000000679a4218aaca587bbf1c863780d6149a99ef67bd0000000000000000000000009b1e6d7c3d29d83877907b212ee4bf9baaf0e7e2000000000000000000000000000000000000000000000000000000000000000d526f636b65742052696465727300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000252520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : _name (string): Rocket Riders
Arg [1] : _symbol (string): RR
Arg [2] : _initBaseURI (string):
Arg [3] : _a1 (address): 0x8A3fECD0348da48d5fe4dC05b2897d2758942abf
Arg [4] : _a2 (address): 0xdA00A06Ab3BbD3544B79C1350C463CAb9f196880
Arg [5] : _a3 (address): 0xd23F42e3dc8769f38de085a52B81e76233C9750c
Arg [6] : _a4 (address): 0x679a4218aaCA587BBF1c863780D6149A99EF67Bd
Arg [7] : _a5 (address): 0x9b1e6D7c3d29D83877907B212eE4BF9baAF0E7e2
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [3] : 0000000000000000000000008a3fecd0348da48d5fe4dc05b2897d2758942abf
Arg [4] : 000000000000000000000000da00a06ab3bbd3544b79c1350c463cab9f196880
Arg [5] : 000000000000000000000000d23f42e3dc8769f38de085a52b81e76233c9750c
Arg [6] : 000000000000000000000000679a4218aaca587bbf1c863780d6149a99ef67bd
Arg [7] : 0000000000000000000000009b1e6d7c3d29d83877907b212ee4bf9baaf0e7e2
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000d
Arg [9] : 526f636b65742052696465727300000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [11] : 5252000000000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000000
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.