ERC-721
Overview
Max Total Supply
90 SRX
Holders
71
Market
Volume (24H)
0.1481 ETH
Min Price (24H)
$504.65 @ 0.148100 ETH
Max Price (24H)
$504.65 @ 0.148100 ETH
Other Info
Token Contract
Balance
0 SRXLoading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
SpaceRidersX
Compiler Version
v0.8.7+commit.e28d00a7
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2022-06-02 */ // SPDX-License-Identifier: MIT // File: @openzeppelin/contracts/utils/cryptography/MerkleProof.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/cryptography/MerkleProof.sol) pragma solidity ^0.8.0; /** * @dev These functions deal with verification of Merkle Trees proofs. * * The proofs can be generated using the JavaScript library * https://github.com/miguelmota/merkletreejs[merkletreejs]. * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled. * * See `test/utils/cryptography/MerkleProof.test.js` for some examples. */ library MerkleProof { /** * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree * defined by `root`. For this, a `proof` must be provided, containing * sibling hashes on the branch from the leaf to the root of the tree. Each * pair of leaves and each pair of pre-images are assumed to be sorted. */ function verify( bytes32[] memory proof, bytes32 root, bytes32 leaf ) internal pure returns (bool) { return processProof(proof, leaf) == root; } /** * @dev Returns the rebuilt hash obtained by traversing a Merklee tree up * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt * hash matches the root of the tree. When processing the proof, the pairs * of leafs & pre-images are assumed to be sorted. * * _Available since v4.4._ */ function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) { bytes32 computedHash = leaf; for (uint256 i = 0; i < proof.length; i++) { bytes32 proofElement = proof[i]; if (computedHash <= proofElement) { // Hash(current computed hash + current element of the proof) computedHash = _efficientHash(computedHash, proofElement); } else { // Hash(current element of the proof + current computed hash) computedHash = _efficientHash(proofElement, computedHash); } } return computedHash; } function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) { assembly { mstore(0x00, a) mstore(0x20, b) value := keccak256(0x00, 0x40) } } } // File: @openzeppelin/contracts/utils/Strings.sol // OpenZeppelin Contracts v4.4.1 (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } } // File: @openzeppelin/contracts/utils/Context.sol // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } } // File: @openzeppelin/contracts/access/Ownable.sol // OpenZeppelin Contracts v4.4.1 (access/Ownable.sol) pragma solidity ^0.8.0; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(owner() == _msgSender(), "Ownable: caller is not the owner"); _; } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require( newOwner != address(0), "Ownable: new owner is the zero address" ); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } } // File: @openzeppelin/contracts/utils/Address.sol // OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require( address(this).balance >= amount, "Address: insufficient balance" ); (bool success, ) = recipient.call{value: amount}(""); require( success, "Address: unable to send value, recipient may have reverted" ); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue( target, data, value, "Address: low-level call with value failed" ); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require( address(this).balance >= value, "Address: insufficient balance for call" ); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}( data ); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall( target, data, "Address: low-level static call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall( target, data, "Address: low-level delegate call failed" ); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } } // File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); } // File: @openzeppelin/contracts/utils/introspection/IERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: @openzeppelin/contracts/utils/introspection/ERC165.sol // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; /** * @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; } } // File: @openzeppelin/contracts/token/ERC721/IERC721.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; /** * @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; } // File: @openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; /** * @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); } // File: contracts/IERC721A.sol // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Interface of an ERC721A compliant contract. */ interface IERC721A is IERC721, IERC721Metadata { /** * The caller must own the token or be an approved operator. */ error ApprovalCallerNotOwnerNorApproved(); /** * The token does not exist. */ error ApprovalQueryForNonexistentToken(); /** * The caller cannot approve to their own address. */ error ApproveToCaller(); /** * The caller cannot approve to the current owner. */ error ApprovalToCurrentOwner(); /** * Cannot query the balance for the zero address. */ error BalanceQueryForZeroAddress(); /** * Cannot mint to the zero address. */ error MintToZeroAddress(); /** * The quantity of tokens minted must be more than zero. */ error MintZeroQuantity(); /** * The token does not exist. */ error OwnerQueryForNonexistentToken(); /** * The caller must own the token or be an approved operator. */ error TransferCallerNotOwnerNorApproved(); /** * The token must be owned by `from`. */ error TransferFromIncorrectOwner(); /** * Cannot safely transfer to a contract that does not implement the ERC721Receiver interface. */ error TransferToNonERC721ReceiverImplementer(); /** * Cannot transfer to the zero address. */ error TransferToZeroAddress(); /** * The token does not exist. */ error URIQueryForNonexistentToken(); // Compiler will pack this into a single 256bit word. struct TokenOwnership { // The address of the owner. address addr; // Keeps track of the start time of ownership with minimal overhead for tokenomics. uint64 startTimestamp; // Whether the token has been burned. bool burned; } // Compiler will pack this into a single 256bit word. struct AddressData { // Realistically, 2**64-1 is more than enough. uint64 balance; // Keeps track of mint count with minimal overhead for tokenomics. uint64 numberMinted; // Keeps track of burn count with minimal overhead for tokenomics. uint64 numberBurned; // For miscellaneous variable(s) pertaining to the address // (e.g. number of whitelist mint slots used). // If there are multiple variables, please pack them into a uint64. uint64 aux; } /** * @dev Returns the total amount of tokens stored by the contract. * * Burned tokens are calculated here, use `_totalMinted()` if you want to count just minted tokens. */ function totalSupply() external view returns (uint256); } // File: contracts/ERC721A.sol // ERC721A Contracts v3.3.0 // Creator: Chiru Labs pragma solidity ^0.8.4; /** * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including * the Metadata extension. Built to optimize for lower gas during batch mints. * * Assumes serials are sequentially minted starting at _startTokenId() (defaults to 0, e.g. 0, 1, 2, 3..). * * Assumes that an owner cannot have more than 2**64 - 1 (max value of uint64) of supply. * * Assumes that the maximum token id cannot exceed 2**256 - 1 (max value of uint256). */ contract ERC721A is Context, ERC165, IERC721A { using Address for address; using Strings for uint256; // The tokenId of the next token to be minted. uint256 internal _currentIndex; // The number of tokens burned. uint256 internal _burnCounter; // Token name string private _name; // Token symbol string private _symbol; // Mapping from token ID to ownership details // An empty struct value does not necessarily mean the token is unowned. See _ownershipOf implementation for details. mapping(uint256 => TokenOwnership) internal _ownerships; // Mapping owner address to address data mapping(address => AddressData) private _addressData; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; _currentIndex = _startTokenId(); } /** * To change the starting tokenId, please override this function. */ function _startTokenId() internal view virtual returns (uint256) { return 0; } /** * @dev Burned tokens are calculated here, use _totalMinted() if you want to count just minted tokens. */ function totalSupply() public view override returns (uint256) { // Counter underflow is impossible as _burnCounter cannot be incremented // more than _currentIndex - _startTokenId() times unchecked { return _currentIndex - _burnCounter - _startTokenId(); } } /** * Returns the total amount of tokens minted in the contract. */ function _totalMinted() internal view returns (uint256) { // Counter underflow is impossible as _currentIndex does not decrement, // and it is initialized to _startTokenId() unchecked { return _currentIndex - _startTokenId(); } } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view override returns (uint256) { if (owner == address(0)) revert BalanceQueryForZeroAddress(); return uint256(_addressData[owner].balance); } /** * Returns the number of tokens minted by `owner`. */ function _numberMinted(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberMinted); } /** * Returns the number of tokens burned by or on behalf of `owner`. */ function _numberBurned(address owner) internal view returns (uint256) { return uint256(_addressData[owner].numberBurned); } /** * Returns the auxillary data for `owner`. (e.g. number of whitelist mint slots used). */ function _getAux(address owner) internal view returns (uint64) { return _addressData[owner].aux; } /** * Sets the auxillary data for `owner`. (e.g. number of whitelist mint slots used). * If there are multiple variables, please pack them into a uint64. */ function _setAux(address owner, uint64 aux) internal { _addressData[owner].aux = aux; } /** * Gas spent here starts off proportional to the maximum mint batch size. * It gradually moves to O(1) as tokens get transferred around in the collection over time. */ function _ownershipOf(uint256 tokenId) internal view returns (TokenOwnership memory) { uint256 curr = tokenId; unchecked { if (_startTokenId() <= curr && curr < _currentIndex) { TokenOwnership memory ownership = _ownerships[curr]; if (!ownership.burned) { if (ownership.addr != address(0)) { return ownership; } // Invariant: // There will always be an ownership that has an address and is not burned // before an ownership that does not have an address and is not burned. // Hence, curr will not underflow. while (true) { curr--; ownership = _ownerships[curr]; if (ownership.addr != address(0)) { return ownership; } } } } } revert OwnerQueryForNonexistentToken(); } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view override returns (address) { return _ownershipOf(tokenId).addr; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { if (!_exists(tokenId)) revert URIQueryForNonexistentToken(); string memory baseURI = _baseURI(); return bytes(baseURI).length != 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overriden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public override { address owner = ERC721A.ownerOf(tokenId); if (to == owner) revert ApprovalToCurrentOwner(); if (_msgSender() != owner && !isApprovedForAll(owner, _msgSender())) { revert ApprovalCallerNotOwnerNorApproved(); } _approve(to, tokenId, owner); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view override returns (address) { if (!_exists(tokenId)) revert ApprovalQueryForNonexistentToken(); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { if (operator == _msgSender()) revert ApproveToCaller(); _operatorApprovals[_msgSender()][operator] = approved; emit ApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory _data ) public virtual override { _transfer(from, to, tokenId); if ( to.isContract() && !_checkContractOnERC721Received(from, to, tokenId, _data) ) { revert TransferToNonERC721ReceiverImplementer(); } } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), */ function _exists(uint256 tokenId) internal view returns (bool) { return _startTokenId() <= tokenId && tokenId < _currentIndex && !_ownerships[tokenId].burned; } /** * @dev Equivalent to `_safeMint(to, quantity, '')`. */ function _safeMint(address to, uint256 quantity) internal { _safeMint(to, quantity, ""); } /** * @dev Safely mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - If `to` refers to a smart contract, it must implement * {IERC721Receiver-onERC721Received}, which is called for each safe transfer. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _safeMint( address to, uint256 quantity, bytes memory _data ) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; if (to.isContract()) { do { emit Transfer(address(0), to, updatedIndex); if ( !_checkContractOnERC721Received( address(0), to, updatedIndex++, _data ) ) { revert TransferToNonERC721ReceiverImplementer(); } } while (updatedIndex < end); // Reentrancy protection if (_currentIndex != startTokenId) revert(); } else { do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); } _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Mints `quantity` tokens and transfers them to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `quantity` must be greater than 0. * * Emits a {Transfer} event. */ function _mint(address to, uint256 quantity) internal { uint256 startTokenId = _currentIndex; if (to == address(0)) revert MintToZeroAddress(); if (quantity == 0) revert MintZeroQuantity(); _beforeTokenTransfers(address(0), to, startTokenId, quantity); // Overflows are incredibly unrealistic. // balance or numberMinted overflow if current value of either + quantity > 1.8e19 (2**64) - 1 // updatedIndex overflows if _currentIndex + quantity > 1.2e77 (2**256) - 1 unchecked { _addressData[to].balance += uint64(quantity); _addressData[to].numberMinted += uint64(quantity); _ownerships[startTokenId].addr = to; _ownerships[startTokenId].startTimestamp = uint64(block.timestamp); uint256 updatedIndex = startTokenId; uint256 end = updatedIndex + quantity; do { emit Transfer(address(0), to, updatedIndex++); } while (updatedIndex < end); _currentIndex = updatedIndex; } _afterTokenTransfers(address(0), to, startTokenId, quantity); } /** * @dev Transfers `tokenId` from `from` to `to`. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) private { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); if (prevOwnership.addr != from) revert TransferFromIncorrectOwner(); bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); if (to == address(0)) revert TransferToZeroAddress(); _beforeTokenTransfers(from, to, tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { _addressData[from].balance -= 1; _addressData[to].balance += 1; TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = to; currSlot.startTimestamp = uint64(block.timestamp); // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, to, tokenId); _afterTokenTransfers(from, to, tokenId, 1); } /** * @dev Equivalent to `_burn(tokenId, false)`. */ function _burn(uint256 tokenId) internal virtual { _burn(tokenId, false); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId, bool approvalCheck) internal virtual { TokenOwnership memory prevOwnership = _ownershipOf(tokenId); address from = prevOwnership.addr; if (approvalCheck) { bool isApprovedOrOwner = (_msgSender() == from || isApprovedForAll(from, _msgSender()) || getApproved(tokenId) == _msgSender()); if (!isApprovedOrOwner) revert TransferCallerNotOwnerNorApproved(); } _beforeTokenTransfers(from, address(0), tokenId, 1); // Clear approvals from the previous owner _approve(address(0), tokenId, from); // Underflow of the sender's balance is impossible because we check for // ownership above and the recipient's balance can't realistically overflow. // Counter overflow is incredibly unrealistic as tokenId would have to be 2**256. unchecked { AddressData storage addressData = _addressData[from]; addressData.balance -= 1; addressData.numberBurned += 1; // Keep track of who burned the token, and the timestamp of burning. TokenOwnership storage currSlot = _ownerships[tokenId]; currSlot.addr = from; currSlot.startTimestamp = uint64(block.timestamp); currSlot.burned = true; // If the ownership slot of tokenId+1 is not explicitly set, that means the burn initiator owns it. // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls. uint256 nextTokenId = tokenId + 1; TokenOwnership storage nextSlot = _ownerships[nextTokenId]; if (nextSlot.addr == address(0)) { // This will suffice for checking _exists(nextTokenId), // as a burned slot cannot contain the zero address. if (nextTokenId != _currentIndex) { nextSlot.addr = from; nextSlot.startTimestamp = prevOwnership.startTimestamp; } } } emit Transfer(from, address(0), tokenId); _afterTokenTransfers(from, address(0), tokenId, 1); // Overflow not possible, as _burnCounter cannot be exceed _currentIndex times. unchecked { _burnCounter++; } } /** * @dev Approve `to` to operate on `tokenId` * * Emits a {Approval} event. */ function _approve( address to, uint256 tokenId, address owner ) private { _tokenApprovals[tokenId] = to; emit Approval(owner, to, tokenId); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param _data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkContractOnERC721Received( address from, address to, uint256 tokenId, bytes memory _data ) private returns (bool) { try IERC721Receiver(to).onERC721Received( _msgSender(), from, tokenId, _data ) returns (bytes4 retval) { return retval == IERC721Receiver(to).onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert TransferToNonERC721ReceiverImplementer(); } else { assembly { revert(add(32, reason), mload(reason)) } } } } /** * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting. * And also called before burning one token. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, `tokenId` will be burned by `from`. * - `from` and `to` are never both zero. */ function _beforeTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} /** * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes * minting. * And also called after one token has been burned. * * startTokenId - the first token id to be transferred * quantity - the amount to be transferred * * Calling conditions: * * - When `from` and `to` are both non-zero, `from`'s `tokenId` has been * transferred to `to`. * - When `from` is zero, `tokenId` has been minted for `to`. * - When `to` is zero, `tokenId` has been burned by `from`. * - `from` and `to` are never both zero. */ function _afterTokenTransfers( address from, address to, uint256 startTokenId, uint256 quantity ) internal virtual {} } // File: contracts/SpaceRidersX.sol pragma solidity >=0.8.0 <0.9.0; error TokenDoesntExist(); contract SpaceRidersX is ERC721A, Ownable { mapping(uint256 => string) private _tokenURIs; event NewSpaceRidersXMinted(address sender); constructor() ERC721A("Space Riders X", "SRX") {} function _startTokenId() internal view virtual override returns (uint256) { return 1; } function tokenURI(uint256 _tokenId) public view virtual override returns (string memory) { if (!_exists(_tokenId)) revert TokenDoesntExist(); string memory _tokenURI = _tokenURIs[_tokenId]; return _tokenURI; } function _setTokenURI(uint256 _tokenId, string memory _tokenURI) internal virtual { if (!_exists(_tokenId)) revert TokenDoesntExist(); _tokenURIs[_tokenId] = _tokenURI; } function _burn(uint256 _tokenId) internal virtual override { super._burn(_tokenId); if (bytes(_tokenURIs[_tokenId]).length != 0) { delete _tokenURIs[_tokenId]; } } function mintToAddress(string memory _uri, address _address) public onlyOwner { uint256 mintIndex = _currentIndex; _safeMint(_address, 1); _setTokenURI(mintIndex, _uri); emit NewSpaceRidersXMinted(msg.sender); } function setTokenURI(uint256 _tokenId, string memory _uri) public onlyOwner { if (!_exists(_tokenId)) revert TokenDoesntExist(); _setTokenURI(_tokenId, _uri); } }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ApprovalCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"ApprovalQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"ApprovalToCurrentOwner","type":"error"},{"inputs":[],"name":"ApproveToCaller","type":"error"},{"inputs":[],"name":"BalanceQueryForZeroAddress","type":"error"},{"inputs":[],"name":"MintToZeroAddress","type":"error"},{"inputs":[],"name":"MintZeroQuantity","type":"error"},{"inputs":[],"name":"OwnerQueryForNonexistentToken","type":"error"},{"inputs":[],"name":"TokenDoesntExist","type":"error"},{"inputs":[],"name":"TransferCallerNotOwnerNorApproved","type":"error"},{"inputs":[],"name":"TransferFromIncorrectOwner","type":"error"},{"inputs":[],"name":"TransferToNonERC721ReceiverImplementer","type":"error"},{"inputs":[],"name":"TransferToZeroAddress","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"}],"name":"NewSpaceRidersXMinted","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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_uri","type":"string"},{"internalType":"address","name":"_address","type":"address"}],"name":"mintToAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"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":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"string","name":"_uri","type":"string"}],"name":"setTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_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"}]
Contract Creation Code
60806040523480156200001157600080fd5b50604080518082018252600e81526d0a6e0c2c6ca40a4d2c8cae4e640b60931b6020808301918252835180850190945260038452620a6a4b60eb1b9084015281519192916200006391600291620000e4565b50805162000079906003906020840190620000e4565b50506001600055506200008c3362000092565b620001c7565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620000f2906200018a565b90600052602060002090601f01602090048101928262000116576000855562000161565b82601f106200013157805160ff191683800117855562000161565b8280016001018555821562000161579182015b828111156200016157825182559160200191906001019062000144565b506200016f92915062000173565b5090565b5b808211156200016f576000815560010162000174565b600181811c908216806200019f57607f821691505b60208210811415620001c157634e487b7160e01b600052602260045260246000fd5b50919050565b6114a580620001d76000396000f3fe608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b88d4fde11610071578063b88d4fde14610250578063c87b56dd14610263578063e05a529f14610276578063e985e9c514610289578063f2fde38b146102c557600080fd5b806370a0823114610209578063715018a61461021c5780638da5cb5b1461022457806395d89b4114610235578063a22cb4651461023d57600080fd5b8063162094c4116100f4578063162094c4146101a357806318160ddd146101b657806323b872dd146101d057806342842e0e146101e35780636352211e146101f657600080fd5b806301ffc9a71461012657806306fdde031461014e578063081812fc14610163578063095ea7b31461018e575b600080fd5b610139610134366004611257565b6102d8565b60405190151581526020015b60405180910390f35b61015661032a565b60405161014591906113c0565b6101766101713660046112d6565b6103bc565b6040516001600160a01b039091168152602001610145565b6101a161019c36600461122d565b610400565b005b6101a16101b13660046112ef565b61048e565b60015460005403600019015b604051908152602001610145565b6101a16101de366004611139565b6104f5565b6101a16101f1366004611139565b610500565b6101766102043660046112d6565b61051b565b6101c26102173660046110eb565b61052d565b6101a161057c565b6008546001600160a01b0316610176565b6101566105b2565b6101a161024b3660046111f1565b6105c1565b6101a161025e366004611175565b610657565b6101566102713660046112d6565b6106a8565b6101a1610284366004611291565b61076f565b610139610297366004611106565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101a16102d33660046110eb565b6107e9565b60006001600160e01b031982166380ac58cd60e01b148061030957506001600160e01b03198216635b5e139f60e01b145b8061032457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461033990611408565b80601f016020809104026020016040519081016040528092919081815260200182805461036590611408565b80156103b25780601f10610387576101008083540402835291602001916103b2565b820191906000526020600020905b81548152906001019060200180831161039557829003601f168201915b5050505050905090565b60006103c782610884565b6103e4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061040b8261051b565b9050806001600160a01b0316836001600160a01b031614156104405760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610460575061045e8133610297565b155b1561047e576040516367d9dca160e11b815260040160405180910390fd5b6104898383836108bd565b505050565b6008546001600160a01b031633146104c15760405162461bcd60e51b81526004016104b8906113d3565b60405180910390fd5b6104ca82610884565b6104e757604051631d6fa32560e31b815260040160405180910390fd5b6104f18282610919565b5050565b61048983838361095e565b61048983838360405180602001604052806000815250610657565b600061052682610b4d565b5192915050565b60006001600160a01b038216610556576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146105a65760405162461bcd60e51b81526004016104b8906113d3565b6105b06000610c76565b565b60606003805461033990611408565b6001600160a01b0382163314156105eb5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61066284848461095e565b6001600160a01b0383163b15158015610684575061068284848484610cc8565b155b156106a2576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606106b382610884565b6106d057604051631d6fa32560e31b815260040160405180910390fd5b600082815260096020526040812080546106e990611408565b80601f016020809104026020016040519081016040528092919081815260200182805461071590611408565b80156107625780601f1061073757610100808354040283529160200191610762565b820191906000526020600020905b81548152906001019060200180831161074557829003601f168201915b5093979650505050505050565b6008546001600160a01b031633146107995760405162461bcd60e51b81526004016104b8906113d3565b6000546107a7826001610dbf565b6107b18184610919565b6040513381527ffe702c12c0d12e51d512919eec1c05d1304039d9f9ff12dd91f94d806877cd559060200160405180910390a1505050565b6008546001600160a01b031633146108135760405162461bcd60e51b81526004016104b8906113d3565b6001600160a01b0381166108785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104b8565b61088181610c76565b50565b600081600111158015610898575060005482105b8015610324575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61092282610884565b61093f57604051631d6fa32560e31b815260040160405180910390fd5b6000828152600960209081526040909120825161048992840190610f99565b600061096982610b4d565b9050836001600160a01b031681600001516001600160a01b0316146109a05760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806109be57506109be8533610297565b806109d95750336109ce846103bc565b6001600160a01b0316145b9050806109f957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610a2057604051633a954ecd60e21b815260040160405180910390fd5b610a2c600084876108bd565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610b02576000548214610b02578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60408051606081018252600080825260208201819052918101919091528180600111158015610b7d575060005481105b15610c5d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610c5b5780516001600160a01b031615610bf1579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610c56579392505050565b610bf1565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610cfd903390899088908890600401611383565b602060405180830381600087803b158015610d1757600080fd5b505af1925050508015610d47575060408051601f3d908101601f19168201909252610d4491810190611274565b60015b610da2573d808015610d75576040519150601f19603f3d011682016040523d82523d6000602084013e610d7a565b606091505b508051610d9a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6104f18282604051806020016040528060008152506000546001600160a01b038416610dfd57604051622e076360e81b815260040160405180910390fd5b82610e1b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15610f44575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610f0d6000878480600101955087610cc8565b610f2a576040516368d2bf6b60e11b815260040160405180910390fd5b808210610ec2578260005414610f3f57600080fd5b610f89565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f45575b5060009081556106a29085838684565b828054610fa590611408565b90600052602060002090601f016020900481019282610fc7576000855561100d565b82601f10610fe057805160ff191683800117855561100d565b8280016001018555821561100d579182015b8281111561100d578251825591602001919060010190610ff2565b5061101992915061101d565b5090565b5b80821115611019576000815560010161101e565b600067ffffffffffffffff8084111561104d5761104d611443565b604051601f8501601f19908116603f0116810190828211818310171561107557611075611443565b8160405280935085815286868601111561108e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146110bf57600080fd5b919050565b600082601f8301126110d557600080fd5b6110e483833560208501611032565b9392505050565b6000602082840312156110fd57600080fd5b6110e4826110a8565b6000806040838503121561111957600080fd5b611122836110a8565b9150611130602084016110a8565b90509250929050565b60008060006060848603121561114e57600080fd5b611157846110a8565b9250611165602085016110a8565b9150604084013590509250925092565b6000806000806080858703121561118b57600080fd5b611194856110a8565b93506111a2602086016110a8565b925060408501359150606085013567ffffffffffffffff8111156111c557600080fd5b8501601f810187136111d657600080fd5b6111e587823560208401611032565b91505092959194509250565b6000806040838503121561120457600080fd5b61120d836110a8565b91506020830135801515811461122257600080fd5b809150509250929050565b6000806040838503121561124057600080fd5b611249836110a8565b946020939093013593505050565b60006020828403121561126957600080fd5b81356110e481611459565b60006020828403121561128657600080fd5b81516110e481611459565b600080604083850312156112a457600080fd5b823567ffffffffffffffff8111156112bb57600080fd5b6112c7858286016110c4565b925050611130602084016110a8565b6000602082840312156112e857600080fd5b5035919050565b6000806040838503121561130257600080fd5b82359150602083013567ffffffffffffffff81111561132057600080fd5b61132c858286016110c4565b9150509250929050565b6000815180845260005b8181101561135c57602081850181015186830182015201611340565b8181111561136e576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906113b690830184611336565b9695505050505050565b6020815260006110e46020830184611336565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061141c57607f821691505b6020821081141561143d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461088157600080fdfea264697066735822122084d358b34224a3f04860558df9c79cf02c1fc5542592e41de90b5523b5d522bb64736f6c63430008070033
Deployed Bytecode
0x608060405234801561001057600080fd5b50600436106101215760003560e01c806370a08231116100ad578063b88d4fde11610071578063b88d4fde14610250578063c87b56dd14610263578063e05a529f14610276578063e985e9c514610289578063f2fde38b146102c557600080fd5b806370a0823114610209578063715018a61461021c5780638da5cb5b1461022457806395d89b4114610235578063a22cb4651461023d57600080fd5b8063162094c4116100f4578063162094c4146101a357806318160ddd146101b657806323b872dd146101d057806342842e0e146101e35780636352211e146101f657600080fd5b806301ffc9a71461012657806306fdde031461014e578063081812fc14610163578063095ea7b31461018e575b600080fd5b610139610134366004611257565b6102d8565b60405190151581526020015b60405180910390f35b61015661032a565b60405161014591906113c0565b6101766101713660046112d6565b6103bc565b6040516001600160a01b039091168152602001610145565b6101a161019c36600461122d565b610400565b005b6101a16101b13660046112ef565b61048e565b60015460005403600019015b604051908152602001610145565b6101a16101de366004611139565b6104f5565b6101a16101f1366004611139565b610500565b6101766102043660046112d6565b61051b565b6101c26102173660046110eb565b61052d565b6101a161057c565b6008546001600160a01b0316610176565b6101566105b2565b6101a161024b3660046111f1565b6105c1565b6101a161025e366004611175565b610657565b6101566102713660046112d6565b6106a8565b6101a1610284366004611291565b61076f565b610139610297366004611106565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b6101a16102d33660046110eb565b6107e9565b60006001600160e01b031982166380ac58cd60e01b148061030957506001600160e01b03198216635b5e139f60e01b145b8061032457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60606002805461033990611408565b80601f016020809104026020016040519081016040528092919081815260200182805461036590611408565b80156103b25780601f10610387576101008083540402835291602001916103b2565b820191906000526020600020905b81548152906001019060200180831161039557829003601f168201915b5050505050905090565b60006103c782610884565b6103e4576040516333d1c03960e21b815260040160405180910390fd5b506000908152600660205260409020546001600160a01b031690565b600061040b8261051b565b9050806001600160a01b0316836001600160a01b031614156104405760405163250fdee360e21b815260040160405180910390fd5b336001600160a01b03821614801590610460575061045e8133610297565b155b1561047e576040516367d9dca160e11b815260040160405180910390fd5b6104898383836108bd565b505050565b6008546001600160a01b031633146104c15760405162461bcd60e51b81526004016104b8906113d3565b60405180910390fd5b6104ca82610884565b6104e757604051631d6fa32560e31b815260040160405180910390fd5b6104f18282610919565b5050565b61048983838361095e565b61048983838360405180602001604052806000815250610657565b600061052682610b4d565b5192915050565b60006001600160a01b038216610556576040516323d3ad8160e21b815260040160405180910390fd5b506001600160a01b031660009081526005602052604090205467ffffffffffffffff1690565b6008546001600160a01b031633146105a65760405162461bcd60e51b81526004016104b8906113d3565b6105b06000610c76565b565b60606003805461033990611408565b6001600160a01b0382163314156105eb5760405163b06307db60e01b815260040160405180910390fd5b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b61066284848461095e565b6001600160a01b0383163b15158015610684575061068284848484610cc8565b155b156106a2576040516368d2bf6b60e11b815260040160405180910390fd5b50505050565b60606106b382610884565b6106d057604051631d6fa32560e31b815260040160405180910390fd5b600082815260096020526040812080546106e990611408565b80601f016020809104026020016040519081016040528092919081815260200182805461071590611408565b80156107625780601f1061073757610100808354040283529160200191610762565b820191906000526020600020905b81548152906001019060200180831161074557829003601f168201915b5093979650505050505050565b6008546001600160a01b031633146107995760405162461bcd60e51b81526004016104b8906113d3565b6000546107a7826001610dbf565b6107b18184610919565b6040513381527ffe702c12c0d12e51d512919eec1c05d1304039d9f9ff12dd91f94d806877cd559060200160405180910390a1505050565b6008546001600160a01b031633146108135760405162461bcd60e51b81526004016104b8906113d3565b6001600160a01b0381166108785760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016104b8565b61088181610c76565b50565b600081600111158015610898575060005482105b8015610324575050600090815260046020526040902054600160e01b900460ff161590565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b61092282610884565b61093f57604051631d6fa32560e31b815260040160405180910390fd5b6000828152600960209081526040909120825161048992840190610f99565b600061096982610b4d565b9050836001600160a01b031681600001516001600160a01b0316146109a05760405162a1148160e81b815260040160405180910390fd5b6000336001600160a01b03861614806109be57506109be8533610297565b806109d95750336109ce846103bc565b6001600160a01b0316145b9050806109f957604051632ce44b5f60e11b815260040160405180910390fd5b6001600160a01b038416610a2057604051633a954ecd60e21b815260040160405180910390fd5b610a2c600084876108bd565b6001600160a01b038581166000908152600560209081526040808320805467ffffffffffffffff1980821667ffffffffffffffff92831660001901831617909255898616808652838620805493841693831660019081018416949094179055898652600490945282852080546001600160e01b031916909417600160a01b42909216919091021783558701808452922080549193909116610b02576000548214610b02578054602086015167ffffffffffffffff16600160a01b026001600160e01b03199091166001600160a01b038a16171781555b50505082846001600160a01b0316866001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050505050565b60408051606081018252600080825260208201819052918101919091528180600111158015610b7d575060005481105b15610c5d57600081815260046020908152604091829020825160608101845290546001600160a01b0381168252600160a01b810467ffffffffffffffff1692820192909252600160e01b90910460ff16151591810182905290610c5b5780516001600160a01b031615610bf1579392505050565b5060001901600081815260046020908152604091829020825160608101845290546001600160a01b038116808352600160a01b820467ffffffffffffffff1693830193909352600160e01b900460ff1615159281019290925215610c56579392505050565b610bf1565b505b604051636f96cda160e11b815260040160405180910390fd5b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b604051630a85bd0160e11b81526000906001600160a01b0385169063150b7a0290610cfd903390899088908890600401611383565b602060405180830381600087803b158015610d1757600080fd5b505af1925050508015610d47575060408051601f3d908101601f19168201909252610d4491810190611274565b60015b610da2573d808015610d75576040519150601f19603f3d011682016040523d82523d6000602084013e610d7a565b606091505b508051610d9a576040516368d2bf6b60e11b815260040160405180910390fd5b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050949350505050565b6104f18282604051806020016040528060008152506000546001600160a01b038416610dfd57604051622e076360e81b815260040160405180910390fd5b82610e1b5760405163b562e8dd60e01b815260040160405180910390fd5b6001600160a01b038416600081815260056020908152604080832080546fffffffffffffffffffffffffffffffff19811667ffffffffffffffff8083168b0181169182176801000000000000000067ffffffffffffffff1990941690921783900481168b01811690920217909155858452600490925290912080546001600160e01b0319168317600160a01b42909316929092029190911790558190818501903b15610f44575b60405182906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4610f0d6000878480600101955087610cc8565b610f2a576040516368d2bf6b60e11b815260040160405180910390fd5b808210610ec2578260005414610f3f57600080fd5b610f89565b5b6040516001830192906001600160a01b038816906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4808210610f45575b5060009081556106a29085838684565b828054610fa590611408565b90600052602060002090601f016020900481019282610fc7576000855561100d565b82601f10610fe057805160ff191683800117855561100d565b8280016001018555821561100d579182015b8281111561100d578251825591602001919060010190610ff2565b5061101992915061101d565b5090565b5b80821115611019576000815560010161101e565b600067ffffffffffffffff8084111561104d5761104d611443565b604051601f8501601f19908116603f0116810190828211818310171561107557611075611443565b8160405280935085815286868601111561108e57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146110bf57600080fd5b919050565b600082601f8301126110d557600080fd5b6110e483833560208501611032565b9392505050565b6000602082840312156110fd57600080fd5b6110e4826110a8565b6000806040838503121561111957600080fd5b611122836110a8565b9150611130602084016110a8565b90509250929050565b60008060006060848603121561114e57600080fd5b611157846110a8565b9250611165602085016110a8565b9150604084013590509250925092565b6000806000806080858703121561118b57600080fd5b611194856110a8565b93506111a2602086016110a8565b925060408501359150606085013567ffffffffffffffff8111156111c557600080fd5b8501601f810187136111d657600080fd5b6111e587823560208401611032565b91505092959194509250565b6000806040838503121561120457600080fd5b61120d836110a8565b91506020830135801515811461122257600080fd5b809150509250929050565b6000806040838503121561124057600080fd5b611249836110a8565b946020939093013593505050565b60006020828403121561126957600080fd5b81356110e481611459565b60006020828403121561128657600080fd5b81516110e481611459565b600080604083850312156112a457600080fd5b823567ffffffffffffffff8111156112bb57600080fd5b6112c7858286016110c4565b925050611130602084016110a8565b6000602082840312156112e857600080fd5b5035919050565b6000806040838503121561130257600080fd5b82359150602083013567ffffffffffffffff81111561132057600080fd5b61132c858286016110c4565b9150509250929050565b6000815180845260005b8181101561135c57602081850181015186830182015201611340565b8181111561136e576000602083870101525b50601f01601f19169290920160200192915050565b6001600160a01b03858116825284166020820152604081018390526080606082018190526000906113b690830184611336565b9695505050505050565b6020815260006110e46020830184611336565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c9082168061141c57607f821691505b6020821081141561143d57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b6001600160e01b03198116811461088157600080fdfea264697066735822122084d358b34224a3f04860558df9c79cf02c1fc5542592e41de90b5523b5d522bb64736f6c63430008070033
Deployed Bytecode Sourcemap
51284:1552:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31697:355;;;;;;:::i;:::-;;:::i;:::-;;;5952:14:1;;5945:22;5927:41;;5915:2;5900:18;31697:355:0;;;;;;;;34892:100;;;:::i;:::-;;;;;;;:::i;36492:245::-;;;;;;:::i;:::-;;:::i;:::-;;;-1:-1:-1;;;;;5250:32:1;;;5232:51;;5220:2;5205:18;36492:245:0;5086:203:1;36055:371:0;;;;;;:::i;:::-;;:::i;:::-;;52627:206;;;;;;:::i;:::-;;:::i;30937:312::-;51588:1;31200:12;30990:7;31184:13;:28;-1:-1:-1;;31184:46:0;30937:312;;;7117:25:1;;;7105:2;7090:18;30937:312:0;6971:177:1;37480:170:0;;;;;;:::i;:::-;;:::i;37721:185::-;;;;;;:::i;:::-;;:::i;34700:125::-;;;;;;:::i;:::-;;:::i;32116:206::-;;;;;;:::i;:::-;;:::i;7265:103::-;;;:::i;6614:87::-;6687:6;;-1:-1:-1;;;;;6687:6:0;6614:87;;35061:104;;;:::i;36809:319::-;;;;;;:::i;:::-;;:::i;37977:406::-;;;;;;:::i;:::-;;:::i;51605:291::-;;;;;;:::i;:::-;;:::i;52344:275::-;;;;;;:::i;:::-;;:::i;37199:214::-;;;;;;:::i;:::-;-1:-1:-1;;;;;37370:25:0;;;37341:4;37370:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;37199:214;7523:238;;;;;;:::i;:::-;;:::i;31697:355::-;31844:4;-1:-1:-1;;;;;;31886:40:0;;-1:-1:-1;;;31886:40:0;;:105;;-1:-1:-1;;;;;;;31943:48:0;;-1:-1:-1;;;31943:48:0;31886:105;:158;;;-1:-1:-1;;;;;;;;;;20051:40:0;;;32008:36;31866:178;31697:355;-1:-1:-1;;31697:355:0:o;34892:100::-;34946:13;34979:5;34972:12;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34892:100;:::o;36492:245::-;36596:7;36626:16;36634:7;36626;:16::i;:::-;36621:64;;36651:34;;-1:-1:-1;;;36651:34:0;;;;;;;;;;;36621:64;-1:-1:-1;36705:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;36705:24:0;;36492:245::o;36055:371::-;36128:13;36144:24;36160:7;36144:15;:24::i;:::-;36128:40;;36189:5;-1:-1:-1;;;;;36183:11:0;:2;-1:-1:-1;;;;;36183:11:0;;36179:48;;;36203:24;;-1:-1:-1;;;36203:24:0;;;;;;;;;;;36179:48;5397:10;-1:-1:-1;;;;;36244:21:0;;;;;;:63;;-1:-1:-1;36270:37:0;36287:5;5397:10;37199:214;:::i;36270:37::-;36269:38;36244:63;36240:138;;;36331:35;;-1:-1:-1;;;36331:35:0;;;;;;;;;;;36240:138;36390:28;36399:2;36403:7;36412:5;36390:8;:28::i;:::-;36117:309;36055:371;;:::o;52627:206::-;6687:6;;-1:-1:-1;;;;;6687:6:0;5397:10;6834:23;6826:68;;;;-1:-1:-1;;;6826:68:0;;;;;;;:::i;:::-;;;;;;;;;52742:17:::1;52750:8;52742:7;:17::i;:::-;52737:49;;52768:18;;-1:-1:-1::0;;;52768:18:0::1;;;;;;;;;;;52737:49;52797:28;52810:8;52820:4;52797:12;:28::i;:::-;52627:206:::0;;:::o;37480:170::-;37614:28;37624:4;37630:2;37634:7;37614:9;:28::i;37721:185::-;37859:39;37876:4;37882:2;37886:7;37859:39;;;;;;;;;;;;:16;:39::i;34700:125::-;34764:7;34791:21;34804:7;34791:12;:21::i;:::-;:26;;34700:125;-1:-1:-1;;34700:125:0:o;32116:206::-;32180:7;-1:-1:-1;;;;;32204:19:0;;32200:60;;32232:28;;-1:-1:-1;;;32232:28:0;;;;;;;;;;;32200:60;-1:-1:-1;;;;;;32286:19:0;;;;;:12;:19;;;;;:27;;;;32116:206::o;7265:103::-;6687:6;;-1:-1:-1;;;;;6687:6:0;5397:10;6834:23;6826:68;;;;-1:-1:-1;;;6826:68:0;;;;;;;:::i;:::-;7330:30:::1;7357:1;7330:18;:30::i;:::-;7265:103::o:0;35061:104::-;35117:13;35150:7;35143:14;;;;;:::i;36809:319::-;-1:-1:-1;;;;;36940:24:0;;5397:10;36940:24;36936:54;;;36973:17;;-1:-1:-1;;;36973:17:0;;;;;;;;;;;36936:54;5397:10;37003:32;;;;:18;:32;;;;;;;;-1:-1:-1;;;;;37003:42:0;;;;;;;;;;;;:53;;-1:-1:-1;;37003:53:0;;;;;;;;;;37072:48;;5927:41:1;;;37003:42:0;;5397:10;37072:48;;5900:18:1;37072:48:0;;;;;;;36809:319;;:::o;37977:406::-;38144:28;38154:4;38160:2;38164:7;38144:9;:28::i;:::-;-1:-1:-1;;;;;38201:13:0;;9645:19;:23;;38201:89;;;;;38234:56;38265:4;38271:2;38275:7;38284:5;38234:30;:56::i;:::-;38233:57;38201:89;38183:193;;;38324:40;;-1:-1:-1;;;38324:40:0;;;;;;;;;;;38183:193;37977:406;;;;:::o;51605:291::-;51724:13;51760:17;51768:8;51760:7;:17::i;:::-;51755:49;;51786:18;;-1:-1:-1;;;51786:18:0;;;;;;;;;;;51755:49;51815:23;51841:20;;;:10;:20;;;;;51815:46;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51815:46:0;;51605:291;-1:-1:-1;;;;;;;51605:291:0:o;52344:275::-;6687:6;;-1:-1:-1;;;;;6687:6:0;5397:10;6834:23;6826:68;;;;-1:-1:-1;;;6826:68:0;;;;;;;:::i;:::-;52456:17:::1;52476:13:::0;52500:22:::1;52510:8:::0;52520:1:::1;52500:9;:22::i;:::-;52533:29;52546:9;52557:4;52533:12;:29::i;:::-;52578:33;::::0;52600:10:::1;5232:51:1::0;;52578:33:0::1;::::0;5220:2:1;5205:18;52578:33:0::1;;;;;;;52445:174;52344:275:::0;;:::o;7523:238::-;6687:6;;-1:-1:-1;;;;;6687:6:0;5397:10;6834:23;6826:68;;;;-1:-1:-1;;;6826:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;7626:22:0;::::1;7604:110;;;::::0;-1:-1:-1;;;7604:110:0;;6405:2:1;7604:110:0::1;::::0;::::1;6387:21:1::0;6444:2;6424:18;;;6417:30;6483:34;6463:18;;;6456:62;-1:-1:-1;;;6534:18:1;;;6527:36;6580:19;;7604:110:0::1;6203:402:1::0;7604:110:0::1;7725:28;7744:8;7725:18;:28::i;:::-;7523:238:::0;:::o;38638:213::-;38695:4;38751:7;51588:1;38732:26;;:66;;;;;38785:13;;38775:7;:23;38732:66;:111;;;;-1:-1:-1;;38816:20:0;;;;:11;:20;;;;;:27;-1:-1:-1;;;38816:27:0;;;;38815:28;;38638:213::o;48090:196::-;48205:24;;;;:15;:24;;;;;;:29;;-1:-1:-1;;;;;;48205:29:0;-1:-1:-1;;;;;48205:29:0;;;;;;;;;48250:28;;48205:24;;48250:28;;;;;;;48090:196;;;:::o;51904:216::-;52025:17;52033:8;52025:7;:17::i;:::-;52020:49;;52051:18;;-1:-1:-1;;;52051:18:0;;;;;;;;;;;52020:49;52080:20;;;;:10;:20;;;;;;;;:32;;;;;;;;:::i;43038:2130::-;43153:35;43191:21;43204:7;43191:12;:21::i;:::-;43153:59;;43251:4;-1:-1:-1;;;;;43229:26:0;:13;:18;;;-1:-1:-1;;;;;43229:26:0;;43225:67;;43264:28;;-1:-1:-1;;;43264:28:0;;;;;;;;;;;43225:67;43305:22;5397:10;-1:-1:-1;;;;;43331:20:0;;;;:73;;-1:-1:-1;43368:36:0;43385:4;5397:10;37199:214;:::i;43368:36::-;43331:126;;;-1:-1:-1;5397:10:0;43421:20;43433:7;43421:11;:20::i;:::-;-1:-1:-1;;;;;43421:36:0;;43331:126;43305:153;;43476:17;43471:66;;43502:35;;-1:-1:-1;;;43502:35:0;;;;;;;;;;;43471:66;-1:-1:-1;;;;;43552:16:0;;43548:52;;43577:23;;-1:-1:-1;;;43577:23:0;;;;;;;;;;;43548:52;43721:35;43738:1;43742:7;43751:4;43721:8;:35::i;:::-;-1:-1:-1;;;;;44052:18:0;;;;;;;:12;:18;;;;;;;;:31;;-1:-1:-1;;44052:31:0;;;;;;;-1:-1:-1;;44052:31:0;;;;;;;44098:16;;;;;;;;;:29;;;;;;;;-1:-1:-1;44098:29:0;;;;;;;;;;;44178:20;;;:11;:20;;;;;;44213:18;;-1:-1:-1;;;;;;44246:49:0;;;;-1:-1:-1;;;44279:15:0;44246:49;;;;;;;;;;44569:11;;44629:24;;;;;44672:13;;44178:20;;44629:24;;44672:13;44668:384;;44882:13;;44867:11;:28;44863:174;;44920:20;;44989:28;;;;44963:54;;-1:-1:-1;;;44963:54:0;-1:-1:-1;;;;;;44963:54:0;;;-1:-1:-1;;;;;44920:20:0;;44963:54;;;;44863:174;44027:1036;;;45099:7;45095:2;-1:-1:-1;;;;;45080:27:0;45089:4;-1:-1:-1;;;;;45080:27:0;;;;;;;;;;;43142:2026;;43038:2130;;;:::o;33497:1141::-;-1:-1:-1;;;;;;;;;;;;;;;;;;;;;;;;;33640:7:0;;51588:1;33689:23;;:47;;;;;33723:13;;33716:4;:20;33689:47;33685:886;;;33757:31;33791:17;;;:11;:17;;;;;;;;;33757:51;;;;;;;;;-1:-1:-1;;;;;33757:51:0;;;;-1:-1:-1;;;33757:51:0;;;;;;;;;;;-1:-1:-1;;;33757:51:0;;;;;;;;;;;;;;33827:729;;33877:14;;-1:-1:-1;;;;;33877:28:0;;33873:101;;33941:9;33497:1141;-1:-1:-1;;;33497:1141:0:o;33873:101::-;-1:-1:-1;;;34316:6:0;34361:17;;;;:11;:17;;;;;;;;;34349:29;;;;;;;;;-1:-1:-1;;;;;34349:29:0;;;;;-1:-1:-1;;;34349:29:0;;;;;;;;;;;-1:-1:-1;;;34349:29:0;;;;;;;;;;;;;34409:28;34405:109;;34477:9;33497:1141;-1:-1:-1;;;33497:1141:0:o;34405:109::-;34276:261;;;33738:833;33685:886;34599:31;;-1:-1:-1;;;34599:31:0;;;;;;;;;;;7921:191;8014:6;;;-1:-1:-1;;;;;8031:17:0;;;-1:-1:-1;;;;;;8031:17:0;;;;;;;8064:40;;8014:6;;;8031:17;8014:6;;8064:40;;7995:16;;8064:40;7984:128;7921:191;:::o;48778:772::-;48975:155;;-1:-1:-1;;;48975:155:0;;48941:4;;-1:-1:-1;;;;;48975:36:0;;;;;:155;;5397:10;;49061:4;;49084:7;;49110:5;;48975:155;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48975:155:0;;;;;;;;-1:-1:-1;;48975:155:0;;;;;;;;;;;;:::i;:::-;;;48958:585;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;49301:13:0;;49297:235;;49347:40;;-1:-1:-1;;;49347:40:0;;;;;;;;;;;49297:235;49490:6;49484:13;49475:6;49471:2;49467:15;49460:38;48958:585;-1:-1:-1;;;;;;49186:55:0;-1:-1:-1;;;49186:55:0;;-1:-1:-1;48778:772:0;;;;;;:::o;38935:104::-;39004:27;39014:2;39018:8;39004:27;;;;;;;;;;;;39535:20;39558:13;-1:-1:-1;;;;;39586:16:0;;39582:48;;39611:19;;-1:-1:-1;;;39611:19:0;;;;;;;;;;;39582:48;39645:13;39641:44;;39667:18;;-1:-1:-1;;;39667:18:0;;;;;;;;;;;39641:44;-1:-1:-1;;;;;40036:16:0;;;;;;:12;:16;;;;;;;;:44;;-1:-1:-1;;40095:49:0;;40036:44;;;;;;;;40095:49;;;;-1:-1:-1;;40036:44:0;;;;;;40095:49;;;;;;;;;;;;;;;;40161:25;;;:11;:25;;;;;;:35;;-1:-1:-1;;;;;;40211:66:0;;;-1:-1:-1;;;40261:15:0;40211:66;;;;;;;;;;;;;40161:25;;40358:23;;;;9645:19;:23;40398:822;;40438:504;40469:38;;40494:12;;-1:-1:-1;;;;;40469:38:0;;;40486:1;;40469:38;;40486:1;;40469:38;40561:212;40630:1;40663:2;40696:14;;;;;;40741:5;40561:30;:212::i;:::-;40530:365;;40831:40;;-1:-1:-1;;;40831:40:0;;;;;;;;;;;40530:365;40937:3;40922:12;:18;40438:504;;41023:12;41006:13;;:29;41002:43;;41037:8;;;41002:43;40398:822;;;41086:119;41117:40;;41142:14;;;;;-1:-1:-1;;;;;41117:40:0;;;41134:1;;41117:40;;41134:1;;41117:40;41200:3;41185:12;:18;41086:119;;40398:822;-1:-1:-1;41234:13:0;:28;;;41284:60;;41317:2;41321:12;41335:8;41284:60;:::i;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:631:1;78:5;108:18;149:2;141:6;138:14;135:40;;;155:18;;:::i;:::-;230:2;224:9;198:2;284:15;;-1:-1:-1;;280:24:1;;;306:2;276:33;272:42;260:55;;;330:18;;;350:22;;;327:46;324:72;;;376:18;;:::i;:::-;416:10;412:2;405:22;445:6;436:15;;475:6;467;460:22;515:3;506:6;501:3;497:16;494:25;491:45;;;532:1;529;522:12;491:45;582:6;577:3;570:4;562:6;558:17;545:44;637:1;630:4;621:6;613;609:19;605:30;598:41;;;;14:631;;;;;:::o;650:173::-;718:20;;-1:-1:-1;;;;;767:31:1;;757:42;;747:70;;813:1;810;803:12;747:70;650:173;;;:::o;828:221::-;871:5;924:3;917:4;909:6;905:17;901:27;891:55;;942:1;939;932:12;891:55;964:79;1039:3;1030:6;1017:20;1010:4;1002:6;998:17;964:79;:::i;:::-;955:88;828:221;-1:-1:-1;;;828:221:1:o;1054:186::-;1113:6;1166:2;1154:9;1145:7;1141:23;1137:32;1134:52;;;1182:1;1179;1172:12;1134:52;1205:29;1224:9;1205:29;:::i;1245:260::-;1313:6;1321;1374:2;1362:9;1353:7;1349:23;1345:32;1342:52;;;1390:1;1387;1380:12;1342:52;1413:29;1432:9;1413:29;:::i;:::-;1403:39;;1461:38;1495:2;1484:9;1480:18;1461:38;:::i;:::-;1451:48;;1245:260;;;;;:::o;1510:328::-;1587:6;1595;1603;1656:2;1644:9;1635:7;1631:23;1627:32;1624:52;;;1672:1;1669;1662:12;1624:52;1695:29;1714:9;1695:29;:::i;:::-;1685:39;;1743:38;1777:2;1766:9;1762:18;1743:38;:::i;:::-;1733:48;;1828:2;1817:9;1813:18;1800:32;1790:42;;1510:328;;;;;:::o;1843:666::-;1938:6;1946;1954;1962;2015:3;2003:9;1994:7;1990:23;1986:33;1983:53;;;2032:1;2029;2022:12;1983:53;2055:29;2074:9;2055:29;:::i;:::-;2045:39;;2103:38;2137:2;2126:9;2122:18;2103:38;:::i;:::-;2093:48;;2188:2;2177:9;2173:18;2160:32;2150:42;;2243:2;2232:9;2228:18;2215:32;2270:18;2262:6;2259:30;2256:50;;;2302:1;2299;2292:12;2256:50;2325:22;;2378:4;2370:13;;2366:27;-1:-1:-1;2356:55:1;;2407:1;2404;2397:12;2356:55;2430:73;2495:7;2490:2;2477:16;2472:2;2468;2464:11;2430:73;:::i;:::-;2420:83;;;1843:666;;;;;;;:::o;2514:347::-;2579:6;2587;2640:2;2628:9;2619:7;2615:23;2611:32;2608:52;;;2656:1;2653;2646:12;2608:52;2679:29;2698:9;2679:29;:::i;:::-;2669:39;;2758:2;2747:9;2743:18;2730:32;2805:5;2798:13;2791:21;2784:5;2781:32;2771:60;;2827:1;2824;2817:12;2771:60;2850:5;2840:15;;;2514:347;;;;;:::o;2866:254::-;2934:6;2942;2995:2;2983:9;2974:7;2970:23;2966:32;2963:52;;;3011:1;3008;3001:12;2963:52;3034:29;3053:9;3034:29;:::i;:::-;3024:39;3110:2;3095:18;;;;3082:32;;-1:-1:-1;;;2866:254:1:o;3125:245::-;3183:6;3236:2;3224:9;3215:7;3211:23;3207:32;3204:52;;;3252:1;3249;3242:12;3204:52;3291:9;3278:23;3310:30;3334:5;3310:30;:::i;3375:249::-;3444:6;3497:2;3485:9;3476:7;3472:23;3468:32;3465:52;;;3513:1;3510;3503:12;3465:52;3545:9;3539:16;3564:30;3588:5;3564:30;:::i;3629:396::-;3707:6;3715;3768:2;3756:9;3747:7;3743:23;3739:32;3736:52;;;3784:1;3781;3774:12;3736:52;3824:9;3811:23;3857:18;3849:6;3846:30;3843:50;;;3889:1;3886;3879:12;3843:50;3912;3954:7;3945:6;3934:9;3930:22;3912:50;:::i;:::-;3902:60;;;3981:38;4015:2;4004:9;4000:18;3981:38;:::i;4030:180::-;4089:6;4142:2;4130:9;4121:7;4117:23;4113:32;4110:52;;;4158:1;4155;4148:12;4110:52;-1:-1:-1;4181:23:1;;4030:180;-1:-1:-1;4030:180:1:o;4215:390::-;4293:6;4301;4354:2;4342:9;4333:7;4329:23;4325:32;4322:52;;;4370:1;4367;4360:12;4322:52;4406:9;4393:23;4383:33;;4467:2;4456:9;4452:18;4439:32;4494:18;4486:6;4483:30;4480:50;;;4526:1;4523;4516:12;4480:50;4549;4591:7;4582:6;4571:9;4567:22;4549:50;:::i;:::-;4539:60;;;4215:390;;;;;:::o;4610:471::-;4651:3;4689:5;4683:12;4716:6;4711:3;4704:19;4741:1;4751:162;4765:6;4762:1;4759:13;4751:162;;;4827:4;4883:13;;;4879:22;;4873:29;4855:11;;;4851:20;;4844:59;4780:12;4751:162;;;4931:6;4928:1;4925:13;4922:87;;;4997:1;4990:4;4981:6;4976:3;4972:16;4968:27;4961:38;4922:87;-1:-1:-1;5063:2:1;5042:15;-1:-1:-1;;5038:29:1;5029:39;;;;5070:4;5025:50;;4610:471;-1:-1:-1;;4610:471:1:o;5294:488::-;-1:-1:-1;;;;;5563:15:1;;;5545:34;;5615:15;;5610:2;5595:18;;5588:43;5662:2;5647:18;;5640:34;;;5710:3;5705:2;5690:18;;5683:31;;;5488:4;;5731:45;;5756:19;;5748:6;5731:45;:::i;:::-;5723:53;5294:488;-1:-1:-1;;;;;;5294:488:1:o;5979:219::-;6128:2;6117:9;6110:21;6091:4;6148:44;6188:2;6177:9;6173:18;6165:6;6148:44;:::i;6610:356::-;6812:2;6794:21;;;6831:18;;;6824:30;6890:34;6885:2;6870:18;;6863:62;6957:2;6942:18;;6610:356::o;7153:380::-;7232:1;7228:12;;;;7275;;;7296:61;;7350:4;7342:6;7338:17;7328:27;;7296:61;7403:2;7395:6;7392:14;7372:18;7369:38;7366:161;;;7449:10;7444:3;7440:20;7437:1;7430:31;7484:4;7481:1;7474:15;7512:4;7509:1;7502:15;7366:161;;7153:380;;;:::o;7538:127::-;7599:10;7594:3;7590:20;7587:1;7580:31;7630:4;7627:1;7620:15;7654:4;7651:1;7644:15;7670:131;-1:-1:-1;;;;;;7744:32:1;;7734:43;;7724:71;;7791:1;7788;7781:12
Swarm Source
ipfs://84d358b34224a3f04860558df9c79cf02c1fc5542592e41de90b5523b5d522bb
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.