Feature Tip: Add private address tag to any address under My Name Tag !
ERC-721
Overview
Max Total Supply
1,000,000 ROAR
Holders
40
Total Transfers
-
Market
Volume (24H)
N/A
Min Price (24H)
N/A
Max Price (24H)
N/A
Other Info
Token Contract
Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
PeppermintRorschach
Compiler Version
v0.8.4+commit.c7e474f2
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT // Written by: Rob Secord (https://twitter.com/robsecord) // Visit: Charged Particles - https://charged.fi // Visit: Taggr - https://taggr.io pragma solidity 0.8.4; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Counters.sol"; import "@openzeppelin/contracts/security/ReentrancyGuard.sol"; import "@charged-particles/peppermint/contracts/ERC721PreMint.sol"; import "./lib/BlackholePrevention.sol"; // 1 Million Peppermint Rorschachs - Demo of ERC721PreMint contract PeppermintRorschach is ERC721PreMint, ReentrancyGuard, BlackholePrevention { using Address for address payable; using Counters for Counters.Counter; /// @dev Some sales-related events event Purchase(address indexed newOwner, uint256 amount, uint256 lastTokenId); event PriceUpdate(uint256 newPrice); /// @dev Track number of tokens sold Counters.Counter internal _lastPurchasedTokenId; /// @dev ERC721 Base Token URI string internal _baseTokenURI; // Individual NFT Sale Price in ETH uint256 public _pricePer; // Feel the Burn! mapping (uint256 => uint256) internal _burns; /// @dev The Deployer of this contract is also the Owner and the Pre-Mint Receiver. constructor( string memory name, string memory symbol, string memory baseUri, uint256 maxSupply ) ERC721PreMint(name, symbol, _msgSender(), maxSupply) { _baseTokenURI = baseUri; // Since we pre-mint to "owner", allow this contract to transfer on behalf of "owner" for sales. _setApprovalForAll(_msgSender(), address(this), true); } /// @dev Let's Pre-Mint a Gazillion NFTs!! (wait, 2^^256-1 equals what again?) function preMint() external onlyOwner { _preMint(); } /** * @dev Purchases from the Pre-Mint Receiver are a simple matter of transferring the token. * For this reason, we can provide a very simple "batch" transfer mechanism in order to * save even more gas for our users. */ function purchase(uint256 amount) external payable virtual nonReentrant returns (uint256 amountTransferred) { uint256 index = _lastPurchasedTokenId.current(); if (index + amount > _maxSupply) { amount = _maxSupply - index; } uint256 cost; if (_pricePer > 0) { cost = _pricePer * amount; require(msg.value >= cost, "Insufficient payment"); } uint256[] memory tokenIds = new uint256[](amount); for (uint256 i = 0; i < amount; i++) { _lastPurchasedTokenId.increment(); tokenIds[i] = _lastPurchasedTokenId.current(); } amountTransferred = _batchTransfer(owner(), _msgSender(), tokenIds); emit Purchase(_msgSender(), amount, _lastPurchasedTokenId.current()); // Refund overspend if (msg.value > cost) { payable(_msgSender()).sendValue(msg.value - cost); } } /// @dev Set the price for sales to maintain a consistent purchase price function setPrice(uint256 newPrice) external onlyOwner { _pricePer = newPrice; emit PriceUpdate(newPrice); } /// @dev Provide a Base URI for Token Metadata (override defined in ERC721.sol) function _baseURI() internal view virtual override returns (string memory) { return _baseTokenURI; } // // Batch Transfers // function batchTransfer( address to, uint256[] memory tokenIds ) external virtual returns (uint256 amountTransferred) { amountTransferred = _batchTransfer(_msgSender(), to, tokenIds); } function batchTransferFrom( address from, address to, uint256[] memory tokenIds ) external virtual returns (uint256 amountTransferred) { amountTransferred = _batchTransfer(from, to, tokenIds); } function _batchTransfer( address from, address to, uint256[] memory tokenIds ) internal virtual returns (uint256 amountTransferred) { uint256 count = tokenIds.length; for (uint256 i = 0; i < count; i++) { uint256 tokenId = tokenIds[i]; // Skip invalid tokens; no need to cancel the whole tx for 1 failure // These are the exact same "require" checks performed in ERC721.sol for standard transfers. if ( (ownerOf(tokenId) != from) || (!_isApprovedOrOwner(from, tokenId)) || (to == address(0)) ) { continue; } _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); amountTransferred += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } // We can save a bit of gas here by updating these state-vars atthe end _balances[from] -= amountTransferred; _balances[to] += amountTransferred; } // Curious... /// @dev Very curious... function burn(uint256 tokenId) external virtual { _burn(tokenId); uint256 burns = _burns[tokenId]; uint256 index = _lastPurchasedTokenId.current(); if (index < _maxSupply && burns < 3) { _lastPurchasedTokenId.increment(); uint256 newTokenId = _lastPurchasedTokenId.current(); _burns[newTokenId] = burns + 1; _transfer(owner(), _msgSender(), tokenId); } } function getBurns(uint256 tokenId) external view returns (uint256) { return _burns[tokenId]; } /***********************************| | Only Owner | | (blackhole prevention) | |__________________________________*/ function withdrawEther(address payable receiver, uint256 amount) external onlyOwner { _withdrawEther(receiver, amount); } function withdrawErc20(address payable receiver, address tokenAddress, uint256 amount) external onlyOwner { _withdrawERC20(receiver, tokenAddress, amount); } function withdrawERC721(address payable receiver, address tokenAddress, uint256 tokenId) external onlyOwner { _withdrawERC721(receiver, tokenAddress, tokenId); } function withdrawERC1155(address payable receiver, address tokenAddress, uint256 tokenId, uint256 amount) external onlyOwner { _withdrawERC1155(receiver, tokenAddress, tokenId, amount); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Address.sol) pragma solidity ^0.8.1; /** * @dev Collection of functions related to the address type */ library Address { /** * @dev Returns true if `account` is a contract. * * [IMPORTANT] * ==== * It is unsafe to assume that an address for which this function returns * false is an externally-owned account (EOA) and not a contract. * * Among others, `isContract` will return false for the following * types of addresses: * * - an externally-owned account * - a contract in construction * - an address where a contract will be created * - an address where a contract lived, but was destroyed * ==== * * [IMPORTANT] * ==== * You shouldn't rely on `isContract` to protect against flash loan attacks! * * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract * constructor. * ==== */ function isContract(address account) internal view returns (bool) { // This method relies on extcodesize/address.code.length, which returns 0 // for contracts in construction, since the code is only stored at the end // of the constructor execution. return account.code.length > 0; } /** * @dev Replacement for Solidity's `transfer`: sends `amount` wei to * `recipient`, forwarding all available gas and reverting on errors. * * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost * of certain opcodes, possibly making contracts go over the 2300 gas limit * imposed by `transfer`, making them unable to receive funds via * `transfer`. {sendValue} removes this limitation. * * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more]. * * IMPORTANT: because control is transferred to `recipient`, care must be * taken to not create reentrancy vulnerabilities. Consider using * {ReentrancyGuard} or the * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern]. */ function sendValue(address payable recipient, uint256 amount) internal { require(address(this).balance >= amount, "Address: insufficient balance"); (bool success, ) = recipient.call{value: amount}(""); require(success, "Address: unable to send value, recipient may have reverted"); } /** * @dev Performs a Solidity function call using a low level `call`. A * plain `call` is an unsafe replacement for a function call: use this * function instead. * * If `target` reverts with a revert reason, it is bubbled up by this * function (like regular Solidity function calls). * * Returns the raw returned data. To convert to the expected return value, * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`]. * * Requirements: * * - `target` must be a contract. * - calling `target` with `data` must not revert. * * _Available since v3.1._ */ function functionCall(address target, bytes memory data) internal returns (bytes memory) { return functionCall(target, data, "Address: low-level call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with * `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { return functionCallWithValue(target, data, 0, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but also transferring `value` wei to `target`. * * Requirements: * * - the calling contract must have an ETH balance of at least `value`. * - the called Solidity function must be `payable`. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value ) internal returns (bytes memory) { return functionCallWithValue(target, data, value, "Address: low-level call with value failed"); } /** * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but * with `errorMessage` as a fallback revert reason when `target` reverts. * * _Available since v3.1._ */ function functionCallWithValue( address target, bytes memory data, uint256 value, string memory errorMessage ) internal returns (bytes memory) { require(address(this).balance >= value, "Address: insufficient balance for call"); require(isContract(target), "Address: call to non-contract"); (bool success, bytes memory returndata) = target.call{value: value}(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) { return functionStaticCall(target, data, "Address: low-level static call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a static call. * * _Available since v3.3._ */ function functionStaticCall( address target, bytes memory data, string memory errorMessage ) internal view returns (bytes memory) { require(isContract(target), "Address: static call to non-contract"); (bool success, bytes memory returndata) = target.staticcall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) { return functionDelegateCall(target, data, "Address: low-level delegate call failed"); } /** * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`], * but performing a delegate call. * * _Available since v3.4._ */ function functionDelegateCall( address target, bytes memory data, string memory errorMessage ) internal returns (bytes memory) { require(isContract(target), "Address: delegate call to non-contract"); (bool success, bytes memory returndata) = target.delegatecall(data); return verifyCallResult(success, returndata, errorMessage); } /** * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the * revert reason using the provided one. * * _Available since v4.3._ */ function verifyCallResult( bool success, bytes memory returndata, string memory errorMessage ) internal pure returns (bytes memory) { if (success) { return returndata; } else { // Look for revert reason and bubble it up if present if (returndata.length > 0) { // The easiest way to bubble the revert reason is using memory via assembly /// @solidity memory-safe-assembly assembly { let returndata_size := mload(returndata) revert(add(32, returndata), returndata_size) } } else { revert(errorMessage); } } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Counters.sol) pragma solidity ^0.8.0; /** * @title Counters * @author Matt Condon (@shrugs) * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number * of elements in a mapping, issuing ERC721 ids, or counting request ids. * * Include with `using Counters for Counters.Counter;` */ library Counters { struct Counter { // This variable should never be directly accessed by users of the library: interactions must be restricted to // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add // this feature: see https://github.com/ethereum/solidity/issues/4637 uint256 _value; // default: 0 } function current(Counter storage counter) internal view returns (uint256) { return counter._value; } function increment(Counter storage counter) internal { unchecked { counter._value += 1; } } function decrement(Counter storage counter) internal { uint256 value = counter._value; require(value > 0, "Counter: decrement overflow"); unchecked { counter._value = value - 1; } } function reset(Counter storage counter) internal { counter._value = 0; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol) pragma solidity ^0.8.0; /** * @dev Contract module that helps prevent reentrant calls to a function. * * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier * available, which can be applied to functions to make sure there are no nested * (reentrant) calls to them. * * Note that because there is a single `nonReentrant` guard, functions marked as * `nonReentrant` may not call one another. This can be worked around by making * those functions `private`, and then adding `external` `nonReentrant` entry * points to them. * * TIP: If you would like to learn more about reentrancy and alternative ways * to protect against it, check out our blog post * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul]. */ abstract contract ReentrancyGuard { // Booleans are more expensive than uint256 or any type that takes up a full // word because each write operation emits an extra SLOAD to first read the // slot's contents, replace the bits taken up by the boolean, and then write // back. This is the compiler's defense against contract upgrades and // pointer aliasing, and it cannot be disabled. // The values being non-zero value makes deployment a bit more expensive, // but in exchange the refund on every call to nonReentrant will be lower in // amount. Since refunds are capped to a percentage of the total // transaction's gas, it is best to keep them low in cases like this one, to // increase the likelihood of the full refund coming into effect. uint256 private constant _NOT_ENTERED = 1; uint256 private constant _ENTERED = 2; uint256 private _status; constructor() { _status = _NOT_ENTERED; } /** * @dev Prevents a contract from calling itself, directly or indirectly. * Calling a `nonReentrant` function from another `nonReentrant` * function is not supported. It is possible to prevent this from happening * by making the `nonReentrant` function external, and making it call a * `private` function that does the actual work. */ modifier nonReentrant() { // On the first call to nonReentrant, _notEntered will be true require(_status != _ENTERED, "ReentrancyGuard: reentrant call"); // Any calls to nonReentrant after this point will fail _status = _ENTERED; _; // By storing the original value once again, a refund is triggered (see // https://eips.ethereum.org/EIPS/eip-2200) _status = _NOT_ENTERED; } }
// SPDX-License-Identifier: MIT // Written by: Rob Secord (https://twitter.com/robsecord) // Co-founder @ Charged Particles - Visit: https://charged.fi // Co-founder @ Taggr - Visit: https://taggr.io pragma solidity 0.8.4; import "@openzeppelin/contracts/access/Ownable.sol"; import "./lib/ERC721EnumerablePreMint.sol"; /** * @dev This implements a Pre-Mint version of {ERC721} that adds the ability to Pre-Mint * all the token ids in the contract as assign an initial owner for each token id. * * On-chain state for Pre-Mint does not need to be initially stored if Max-Supply is known. * Minting is a simple matter of assigning a balance to the pre-mint receiver, * and modifying the "read" methods to account for the pre-mint receiver as owner. * We use the Consecutive Transfer Method as defined in EIP-2309 to signal inital ownership. * Almost everything else remains standard. * We also default to the contract "owner" as the pre-mint receiver, but this can be changed. */ contract ERC721PreMint is Ownable, ERC721EnumerablePreMint { /// @dev EIP-2309: https://eips.ethereum.org/EIPS/eip-2309 event ConsecutiveTransfer(uint256 indexed fromTokenId, uint256 toTokenId, address indexed fromAddress, address indexed toAddress); /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection, * as well as a `minter` and a `maxSupply` for pre-minting the collection. */ constructor( string memory name, string memory symbol, address minter, uint256 maxSupply ) ERC721(name, symbol) { // Set vars defined in ERC721EnumerablePreMint.sol _maxSupply = maxSupply; _preMintReceiver = minter; } /** * @dev Pre-mint the max-supply of token IDs to the minter account. * Token IDs are in base-1 sequential order. */ function _preMint() internal { // Update balance for initial owner, defined in ERC721.sol _balances[_preMintReceiver] = _maxSupply; // Emit the Consecutive Transfer Event emit ConsecutiveTransfer(1, _maxSupply, address(0), _preMintReceiver); } }
// SPDX-License-Identifier: MIT // BlackholePrevention.sol -- Part of the Charged Particles Protocol // Copyright (c) 2021 Firma Lux, Inc. <https://charged.fi> // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal // in the Software without restriction, including without limitation the rights // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell // copies of the Software, and to permit persons to whom the Software is // furnished to do so, subject to the following conditions: // // The above copyright notice and this permission notice shall be included in all // copies or substantial portions of the Software. // // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, // FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL THE // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE // SOFTWARE. pragma solidity >=0.8.0; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/token/ERC20/IERC20.sol"; import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol"; /** * @notice Prevents ETH or Tokens from getting stuck in a contract by allowing * the Owner/DAO to pull them out on behalf of a user * This is only meant to contracts that are not expected to hold tokens, but do handle transferring them. */ contract BlackholePrevention { using Address for address payable; using SafeERC20 for IERC20; event WithdrawEther(address indexed receiver, uint256 amount); event WithdrawERC20(address indexed receiver, address indexed tokenAddress, uint256 amount); event WithdrawERC721(address indexed receiver, address indexed tokenAddress, uint256 indexed tokenId); event WithdrawERC1155(address indexed receiver, address indexed tokenAddress, uint256 indexed tokenId, uint256 amount); function _withdrawEther(address payable receiver, uint256 amount) internal virtual { require(receiver != address(0x0), "BHP:E-403"); if (address(this).balance >= amount) { receiver.sendValue(amount); emit WithdrawEther(receiver, amount); } } function _withdrawERC20(address payable receiver, address tokenAddress, uint256 amount) internal virtual { require(receiver != address(0x0), "BHP:E-403"); if (IERC20(tokenAddress).balanceOf(address(this)) >= amount) { IERC20(tokenAddress).safeTransfer(receiver, amount); emit WithdrawERC20(receiver, tokenAddress, amount); } } function _withdrawERC721(address payable receiver, address tokenAddress, uint256 tokenId) internal virtual { require(receiver != address(0x0), "BHP:E-403"); if (IERC721(tokenAddress).ownerOf(tokenId) == address(this)) { IERC721(tokenAddress).transferFrom(address(this), receiver, tokenId); emit WithdrawERC721(receiver, tokenAddress, tokenId); } } function _withdrawERC1155(address payable receiver, address tokenAddress, uint256 tokenId, uint256 amount) internal virtual { require(receiver != address(0x0), "BHP:E-403"); if (IERC1155(tokenAddress).balanceOf(address(this), tokenId) >= amount) { IERC1155(tokenAddress).safeTransferFrom(address(this), receiver, tokenId, amount, ""); emit WithdrawERC1155(receiver, tokenAddress, tokenId, amount); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol) pragma solidity ^0.8.0; import "../utils/Context.sol"; /** * @dev Contract module which provides a basic access control mechanism, where * there is an account (an owner) that can be granted exclusive access to * specific functions. * * By default, the owner account will be the one that deploys the contract. This * can later be changed with {transferOwnership}. * * This module is used through inheritance. It will make available the modifier * `onlyOwner`, which can be applied to your functions to restrict their use to * the owner. */ abstract contract Ownable is Context { address private _owner; event OwnershipTransferred(address indexed previousOwner, address indexed newOwner); /** * @dev Initializes the contract setting the deployer as the initial owner. */ constructor() { _transferOwnership(_msgSender()); } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { _checkOwner(); _; } /** * @dev Returns the address of the current owner. */ function owner() public view virtual returns (address) { return _owner; } /** * @dev Throws if the sender is not the owner. */ function _checkOwner() internal view virtual { require(owner() == _msgSender(), "Ownable: caller is not the owner"); } /** * @dev Leaves the contract without owner. It will not be possible to call * `onlyOwner` functions anymore. Can only be called by the current owner. * * NOTE: Renouncing ownership will leave the contract without an owner, * thereby removing any functionality that is only available to the owner. */ function renounceOwnership() public virtual onlyOwner { _transferOwnership(address(0)); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Can only be called by the current owner. */ function transferOwnership(address newOwner) public virtual onlyOwner { require(newOwner != address(0), "Ownable: new owner is the zero address"); _transferOwnership(newOwner); } /** * @dev Transfers ownership of the contract to a new account (`newOwner`). * Internal function without access restriction. */ function _transferOwnership(address newOwner) internal virtual { address oldOwner = _owner; _owner = newOwner; emit OwnershipTransferred(oldOwner, newOwner); } }
// SPDX-License-Identifier: MIT // Modified from: OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol) // Modified by: Rob Secord (https://twitter.com/robsecord) // Co-founder @ Charged Particles - Visit: https://charged.fi // Co-founder @ Taggr - Visit: https://taggr.io pragma solidity ^0.8.0; import "./ERC721.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/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. * * @dev This implementation also includes support for pre-minting a max-supply of tokens up-front. * * Note on pre-mint: * Assumes a Max-Supply which is entirely pre-minted to initial address with sequential Token IDs. * For this reason, the "allTokens" state vars are unneccesary and have been removed. * Also defines 2 light-weight state vars: "_preMintReceiver" & "_maxSupply" * Overrides "ownerOf" & "_exists" */ abstract contract ERC721EnumerablePreMint 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; // Tracking for the Pre-Mint Receiver address internal _preMintReceiver; // Max-Supply for Pre-Mint uint256 internal _maxSupply; /** * @dev See {IERC165-supportsInterface}. * * Note on Pre-Mint: this implementation maintains the exact same interface for IERC721Enumerable */ 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"); uint256 tokenId = _ownedTokens[owner][index]; // All indices within the Pre-Mint range are base-1 sequential and owned by the Pre-Mint Receiver. if (tokenId == 0 && owner == _preMintReceiver) { tokenId = index + 1; } return tokenId; } /** * @dev See {IERC721Enumerable-totalSupply}. */ function totalSupply() public view virtual override returns (uint256) { // The Total Supply is simply the Max Supply return _maxSupply; } /** * @dev See {IERC721Enumerable-tokenByIndex}. */ function tokenByIndex(uint256 index) public view virtual override returns (uint256) { require(index < _maxSupply, "ERC721Enumerable: global index out of bounds"); // Array index is 0-based, whereas Token ID is 1-based (sequential). return index + 1; } /** * @dev Override the ERC721 "ownerOf" function to account for the Pre-Mint Receiver. */ function ownerOf(uint256 tokenId) public view virtual override(IERC721, ERC721) returns (address) { // Anything beyond the Pre-Minted supply will use the standard "ownerOf" if (tokenId > _maxSupply) { return super.ownerOf(tokenId); } // Since we have Pre-Minted the Max-Supply to the "Pre-Mint Receiver" account, we know: // - if the "_owners" mapping has not been assigned, then the owner is the Pre-Mint Receiver. // - after the NFT is transferred, the "_owners" mapping will be updated with the new owner. address owner_ = _owners[tokenId]; if (owner_ == address(0)) { owner_ = _preMintReceiver; } return owner_; } /** * @dev Override the ERC721 "_exists" function to account for the Pre-Minted Max-Supply. */ function _exists(uint256 tokenId) internal view virtual override(ERC721) returns (bool) { // Anything beyond the Pre-Minted supply will use the standard "_exists" if (tokenId > _maxSupply) { return super._exists(tokenId); } // We know the Max-Supply has been Pre-Minted with Sequential Token IDs return (tokenId > 0 && tokenId <= _maxSupply); } /** * @dev See {IERC721Enumerable-_beforeTokenTransfer}. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual override { super._beforeTokenTransfer(from, to, tokenId); if (from != to) { _removeTokenFromOwnerEnumeration(from, tokenId); _addTokenToOwnerEnumeration(to, tokenId); } } /** * @dev See {IERC721Enumerable-_addTokenToOwnerEnumeration}. */ function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private { uint256 length = ERC721.balanceOf(to); _ownedTokens[to][length] = tokenId; _ownedTokensIndex[tokenId] = length; } /** * @dev See {IERC721Enumerable-_removeTokenFromOwnerEnumeration}. */ 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]; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/Context.sol) pragma solidity ^0.8.0; /** * @dev Provides information about the current execution context, including the * sender of the transaction and its data. While these are generally available * via msg.sender and msg.data, they should not be accessed in such a direct * manner, since when dealing with meta-transactions the account sending and * paying for execution may not be the actual sender (as far as an application * is concerned). * * This contract is only required for intermediate, library-like contracts. */ abstract contract Context { function _msgSender() internal view virtual returns (address) { return msg.sender; } function _msgData() internal view virtual returns (bytes calldata) { return msg.data; } }
// SPDX-License-Identifier: MIT // Modifed from: OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol) // Modified by: Rob Secord (https://twitter.com/robsecord) // Co-founder @ Charged Particles - Visit: https://charged.fi // Co-founder @ Taggr - Visit: https://taggr.io pragma solidity ^0.8.0; import "@openzeppelin/contracts/token/ERC721/IERC721.sol"; import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol"; import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol"; import "@openzeppelin/contracts/utils/Address.sol"; import "@openzeppelin/contracts/utils/Context.sol"; import "@openzeppelin/contracts/utils/Strings.sol"; import "@openzeppelin/contracts/utils/introspection/ERC165.sol"; /** * @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}. * * NOTE: Pre-Mint: * The only changes made here are: * - change scope of "_owners" from private to internal * - change scope of "_balances" from private to internal * - remove "ERC721" scope-resolution from "ownerOf" calls in order to override "ownerOf" * - modify the _burn function to burn to an alternate Null Address (prevents reassignment back to Pre-Mint Receiver) */ 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) internal _owners; // Mapping owner address to token count mapping(address => uint256) internal _balances; // Mapping from token ID to approved address mapping(uint256 => address) private _tokenApprovals; // Mapping from owner to operator approvals mapping(address => mapping(address => bool)) private _operatorApprovals; /** * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection. */ constructor(string memory name_, string memory symbol_) { _name = name_; _symbol = symbol_; } /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) { return interfaceId == type(IERC721).interfaceId || interfaceId == type(IERC721Metadata).interfaceId || super.supportsInterface(interfaceId); } /** * @dev See {IERC721-balanceOf}. */ function balanceOf(address owner) public view virtual override returns (uint256) { require(owner != address(0), "ERC721: address zero is not a valid owner"); return _balances[owner]; } /** * @dev See {IERC721-ownerOf}. */ function ownerOf(uint256 tokenId) public view virtual override returns (address) { address owner = _owners[tokenId]; require(owner != address(0), "ERC721: invalid token ID"); return owner; } /** * @dev See {IERC721Metadata-name}. */ function name() public view virtual override returns (string memory) { return _name; } /** * @dev See {IERC721Metadata-symbol}. */ function symbol() public view virtual override returns (string memory) { return _symbol; } /** * @dev See {IERC721Metadata-tokenURI}. */ function tokenURI(uint256 tokenId) public view virtual override returns (string memory) { _requireMinted(tokenId); string memory baseURI = _baseURI(); return bytes(baseURI).length > 0 ? string(abi.encodePacked(baseURI, tokenId.toString())) : ""; } /** * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each * token will be the concatenation of the `baseURI` and the `tokenId`. Empty * by default, can be overridden in child contracts. */ function _baseURI() internal view virtual returns (string memory) { return ""; } /** * @dev See {IERC721-approve}. */ function approve(address to, uint256 tokenId) public virtual override { address owner = ownerOf(tokenId); require(to != owner, "ERC721: approval to current owner"); require( _msgSender() == owner || isApprovedForAll(owner, _msgSender()), "ERC721: approve caller is not token owner nor approved for all" ); _approve(to, tokenId); } /** * @dev See {IERC721-getApproved}. */ function getApproved(uint256 tokenId) public view virtual override returns (address) { _requireMinted(tokenId); return _tokenApprovals[tokenId]; } /** * @dev See {IERC721-setApprovalForAll}. */ function setApprovalForAll(address operator, bool approved) public virtual override { _setApprovalForAll(_msgSender(), operator, approved); } /** * @dev See {IERC721-isApprovedForAll}. */ function isApprovedForAll(address owner, address operator) public view virtual override returns (bool) { return _operatorApprovals[owner][operator]; } /** * @dev See {IERC721-transferFrom}. */ function transferFrom( address from, address to, uint256 tokenId ) public virtual override { //solhint-disable-next-line max-line-length require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _transfer(from, to, tokenId); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId ) public virtual override { safeTransferFrom(from, to, tokenId, ""); } /** * @dev See {IERC721-safeTransferFrom}. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes memory data ) public virtual override { require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: caller is not token owner nor approved"); _safeTransfer(from, to, tokenId, data); } /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * `data` is additional data, it has no specified format and it is sent in call to `to`. * * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g. * implement alternative mechanisms to perform token transfer, such as signature-based. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeTransfer( address from, address to, uint256 tokenId, bytes memory data ) internal virtual { _transfer(from, to, tokenId); require(_checkOnERC721Received(from, to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer"); } /** * @dev Returns whether `tokenId` exists. * * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}. * * Tokens start existing when they are minted (`_mint`), * and stop existing when they are burned (`_burn`). */ function _exists(uint256 tokenId) internal view virtual returns (bool) { return _owners[tokenId] != address(0); } /** * @dev Returns whether `spender` is allowed to manage `tokenId`. * * Requirements: * * - `tokenId` must exist. */ function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) { address owner = ownerOf(tokenId); return (spender == owner || isApprovedForAll(owner, spender) || getApproved(tokenId) == spender); } /** * @dev Safely mints `tokenId` and transfers it to `to`. * * Requirements: * * - `tokenId` must not exist. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function _safeMint(address to, uint256 tokenId) internal virtual { _safeMint(to, tokenId, ""); } /** * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is * forwarded in {IERC721Receiver-onERC721Received} to contract recipients. */ function _safeMint( address to, uint256 tokenId, bytes memory data ) internal virtual { _mint(to, tokenId); require( _checkOnERC721Received(address(0), to, tokenId, data), "ERC721: transfer to non ERC721Receiver implementer" ); } /** * @dev Mints `tokenId` and transfers it to `to`. * * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible * * Requirements: * * - `tokenId` must not exist. * - `to` cannot be the zero address. * * Emits a {Transfer} event. */ function _mint(address to, uint256 tokenId) internal virtual { require(to != address(0), "ERC721: mint to the zero address"); require(!_exists(tokenId), "ERC721: token already minted"); _beforeTokenTransfer(address(0), to, tokenId); _balances[to] += 1; _owners[tokenId] = to; emit Transfer(address(0), to, tokenId); _afterTokenTransfer(address(0), to, tokenId); } /** * @dev Destroys `tokenId`. * The approval is cleared when the token is burned. * * Requirements: * * - `tokenId` must exist. * * Emits a {Transfer} event. */ function _burn(uint256 tokenId) internal virtual { address owner = ownerOf(tokenId); _beforeTokenTransfer(owner, address(0), tokenId); // Clear approvals _approve(address(0), tokenId); _balances[owner] -= 1; // Prevent re-assigning the token back to the Pre-Mint Receiver _owners[tokenId] = 0x000000000000000000000000000000000000dEaD; emit Transfer(owner, address(0), tokenId); _afterTokenTransfer(owner, address(0), tokenId); } /** * @dev Transfers `tokenId` from `from` to `to`. * As opposed to {transferFrom}, this imposes no restrictions on msg.sender. * * Requirements: * * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * * Emits a {Transfer} event. */ function _transfer( address from, address to, uint256 tokenId ) internal virtual { require(ownerOf(tokenId) == from, "ERC721: transfer from incorrect owner"); require(to != address(0), "ERC721: transfer to the zero address"); _beforeTokenTransfer(from, to, tokenId); // Clear approvals from the previous owner _approve(address(0), tokenId); _balances[from] -= 1; _balances[to] += 1; _owners[tokenId] = to; emit Transfer(from, to, tokenId); _afterTokenTransfer(from, to, tokenId); } /** * @dev Approve `to` to operate on `tokenId` * * Emits an {Approval} event. */ function _approve(address to, uint256 tokenId) internal virtual { _tokenApprovals[tokenId] = to; emit Approval(ownerOf(tokenId), to, tokenId); } /** * @dev Approve `operator` to operate on all of `owner` tokens * * Emits an {ApprovalForAll} event. */ function _setApprovalForAll( address owner, address operator, bool approved ) internal virtual { require(owner != operator, "ERC721: approve to caller"); _operatorApprovals[owner][operator] = approved; emit ApprovalForAll(owner, operator, approved); } /** * @dev Reverts if the `tokenId` has not been minted yet. */ function _requireMinted(uint256 tokenId) internal view virtual { require(_exists(tokenId), "ERC721: invalid token ID"); } /** * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address. * The call is not executed if the target address is not a contract. * * @param from address representing the previous owner of the given token ID * @param to target address that will receive the tokens * @param tokenId uint256 ID of the token to be transferred * @param data bytes optional data to send along with the call * @return bool whether the call correctly returned the expected magic value */ function _checkOnERC721Received( address from, address to, uint256 tokenId, bytes memory data ) private returns (bool) { if (to.isContract()) { try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, data) returns (bytes4 retval) { return retval == IERC721Receiver.onERC721Received.selector; } catch (bytes memory reason) { if (reason.length == 0) { revert("ERC721: transfer to non ERC721Receiver implementer"); } else { /// @solidity memory-safe-assembly assembly { revert(add(32, reason), mload(reason)) } } } } else { return true; } } /** * @dev Hook that is called before any token transfer. This includes minting * and burning. * * Calling conditions: * * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be * transferred to `to`. * - When `from` is zero, `tokenId` will be minted for `to`. * - When `to` is zero, ``from``'s `tokenId` will be burned. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _beforeTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} /** * @dev Hook that is called after any transfer of tokens. This includes * minting and burning. * * Calling conditions: * * - when `from` and `to` are both non-zero. * - `from` and `to` are never both zero. * * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks]. */ function _afterTokenTransfer( address from, address to, uint256 tokenId ) internal virtual {} }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol) 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); /** * @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 // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC721 compliant contract. */ interface IERC721 is IERC165 { /** * @dev Emitted when `tokenId` token is transferred from `from` to `to`. */ event Transfer(address indexed from, address indexed to, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token. */ event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId); /** * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets. */ event ApprovalForAll(address indexed owner, address indexed operator, bool approved); /** * @dev Returns the number of tokens in ``owner``'s account. */ function balanceOf(address owner) external view returns (uint256 balance); /** * @dev Returns the owner of the `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function ownerOf(uint256 tokenId) external view returns (address owner); /** * @dev Safely transfers `tokenId` token from `from` to `to`. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId, bytes calldata data ) external; /** * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients * are aware of the ERC721 protocol to prevent tokens from being forever locked. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must exist and be owned by `from`. * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}. * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer. * * Emits a {Transfer} event. */ function safeTransferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Transfers `tokenId` token from `from` to `to`. * * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible. * * Requirements: * * - `from` cannot be the zero address. * - `to` cannot be the zero address. * - `tokenId` token must be owned by `from`. * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 tokenId ) external; /** * @dev Gives permission to `to` to transfer `tokenId` token to another account. * The approval is cleared when the token is transferred. * * Only a single account can be approved at a time, so approving the zero address clears previous approvals. * * Requirements: * * - The caller must own the token or be an approved operator. * - `tokenId` must exist. * * Emits an {Approval} event. */ function approve(address to, uint256 tokenId) external; /** * @dev Approve or remove `operator` as an operator for the caller. * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller. * * Requirements: * * - The `operator` cannot be the caller. * * Emits an {ApprovalForAll} event. */ function setApprovalForAll(address operator, bool _approved) external; /** * @dev Returns the account approved for `tokenId` token. * * Requirements: * * - `tokenId` must exist. */ function getApproved(uint256 tokenId) external view returns (address operator); /** * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`. * * See {setApprovalForAll} */ function isApprovedForAll(address owner, address operator) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC721/IERC721Receiver.sol) pragma solidity ^0.8.0; /** * @title ERC721 token receiver interface * @dev Interface for any contract that wants to support safeTransfers * from ERC721 asset contracts. */ interface IERC721Receiver { /** * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom} * by `operator` from `from`, this function is called. * * It must return its Solidity selector to confirm the token transfer. * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted. * * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`. */ function onERC721Received( address operator, address from, uint256 tokenId, bytes calldata data ) external returns (bytes4); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol) pragma solidity ^0.8.0; import "../IERC721.sol"; /** * @title ERC-721 Non-Fungible Token Standard, optional metadata extension * @dev See https://eips.ethereum.org/EIPS/eip-721 */ interface IERC721Metadata is IERC721 { /** * @dev Returns the token collection name. */ function name() external view returns (string memory); /** * @dev Returns the token collection symbol. */ function symbol() external view returns (string memory); /** * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token. */ function tokenURI(uint256 tokenId) external view returns (string memory); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol) pragma solidity ^0.8.0; /** * @dev String operations. */ library Strings { bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef"; uint8 private constant _ADDRESS_LENGTH = 20; /** * @dev Converts a `uint256` to its ASCII `string` decimal representation. */ function toString(uint256 value) internal pure returns (string memory) { // Inspired by OraclizeAPI's implementation - MIT licence // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol if (value == 0) { return "0"; } uint256 temp = value; uint256 digits; while (temp != 0) { digits++; temp /= 10; } bytes memory buffer = new bytes(digits); while (value != 0) { digits -= 1; buffer[digits] = bytes1(uint8(48 + uint256(value % 10))); value /= 10; } return string(buffer); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation. */ function toHexString(uint256 value) internal pure returns (string memory) { if (value == 0) { return "0x00"; } uint256 temp = value; uint256 length = 0; while (temp != 0) { length++; temp >>= 8; } return toHexString(value, length); } /** * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length. */ function toHexString(uint256 value, uint256 length) internal pure returns (string memory) { bytes memory buffer = new bytes(2 * length + 2); buffer[0] = "0"; buffer[1] = "x"; for (uint256 i = 2 * length + 1; i > 1; --i) { buffer[i] = _HEX_SYMBOLS[value & 0xf]; value >>= 4; } require(value == 0, "Strings: hex length insufficient"); return string(buffer); } /** * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation. */ function toHexString(address addr) internal pure returns (string memory) { return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH); } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol) pragma solidity ^0.8.0; import "./IERC165.sol"; /** * @dev Implementation of the {IERC165} interface. * * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check * for the additional interface id that will be supported. For example: * * ```solidity * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { * return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId); * } * ``` * * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation. */ abstract contract ERC165 is IERC165 { /** * @dev See {IERC165-supportsInterface}. */ function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) { return interfaceId == type(IERC165).interfaceId; } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC165 standard, as defined in the * https://eips.ethereum.org/EIPS/eip-165[EIP]. * * Implementers can declare support of contract interfaces, which can then be * queried by others ({ERC165Checker}). * * For an implementation, see {ERC165}. */ interface IERC165 { /** * @dev Returns true if this contract implements the interface defined by * `interfaceId`. See the corresponding * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section] * to learn more about how these ids are created. * * This function call must use less than 30 000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 standard as defined in the EIP. */ interface IERC20 { /** * @dev Emitted when `value` tokens are moved from one account (`from`) to * another (`to`). * * Note that `value` may be zero. */ event Transfer(address indexed from, address indexed to, uint256 value); /** * @dev Emitted when the allowance of a `spender` for an `owner` is set by * a call to {approve}. `value` is the new allowance. */ event Approval(address indexed owner, address indexed spender, uint256 value); /** * @dev Returns the amount of tokens in existence. */ function totalSupply() external view returns (uint256); /** * @dev Returns the amount of tokens owned by `account`. */ function balanceOf(address account) external view returns (uint256); /** * @dev Moves `amount` tokens from the caller's account to `to`. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transfer(address to, uint256 amount) external returns (bool); /** * @dev Returns the remaining number of tokens that `spender` will be * allowed to spend on behalf of `owner` through {transferFrom}. This is * zero by default. * * This value changes when {approve} or {transferFrom} are called. */ function allowance(address owner, address spender) external view returns (uint256); /** * @dev Sets `amount` as the allowance of `spender` over the caller's tokens. * * Returns a boolean value indicating whether the operation succeeded. * * IMPORTANT: Beware that changing an allowance with this method brings the risk * that someone may use both the old and the new allowance by unfortunate * transaction ordering. One possible solution to mitigate this race * condition is to first reduce the spender's allowance to 0 and set the * desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * * Emits an {Approval} event. */ function approve(address spender, uint256 amount) external returns (bool); /** * @dev Moves `amount` tokens from `from` to `to` using the * allowance mechanism. `amount` is then deducted from the caller's * allowance. * * Returns a boolean value indicating whether the operation succeeded. * * Emits a {Transfer} event. */ function transferFrom( address from, address to, uint256 amount ) external returns (bool); }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC20/utils/SafeERC20.sol) pragma solidity ^0.8.0; import "../IERC20.sol"; import "../extensions/draft-IERC20Permit.sol"; import "../../../utils/Address.sol"; /** * @title SafeERC20 * @dev Wrappers around ERC20 operations that throw on failure (when the token * contract returns false). Tokens that return no value (and instead revert or * throw on failure) are also supported, non-reverting calls are assumed to be * successful. * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract, * which allows you to call the safe operations as `token.safeTransfer(...)`, etc. */ library SafeERC20 { using Address for address; function safeTransfer( IERC20 token, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value)); } function safeTransferFrom( IERC20 token, address from, address to, uint256 value ) internal { _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value)); } /** * @dev Deprecated. This function has issues similar to the ones found in * {IERC20-approve}, and its usage is discouraged. * * Whenever possible, use {safeIncreaseAllowance} and * {safeDecreaseAllowance} instead. */ function safeApprove( IERC20 token, address spender, uint256 value ) internal { // safeApprove should only be called when setting an initial allowance, // or when resetting it to zero. To increase and decrease it, use // 'safeIncreaseAllowance' and 'safeDecreaseAllowance' require( (value == 0) || (token.allowance(address(this), spender) == 0), "SafeERC20: approve from non-zero to non-zero allowance" ); _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value)); } function safeIncreaseAllowance( IERC20 token, address spender, uint256 value ) internal { uint256 newAllowance = token.allowance(address(this), spender) + value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } function safeDecreaseAllowance( IERC20 token, address spender, uint256 value ) internal { unchecked { uint256 oldAllowance = token.allowance(address(this), spender); require(oldAllowance >= value, "SafeERC20: decreased allowance below zero"); uint256 newAllowance = oldAllowance - value; _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance)); } } function safePermit( IERC20Permit token, address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) internal { uint256 nonceBefore = token.nonces(owner); token.permit(owner, spender, value, deadline, v, r, s); uint256 nonceAfter = token.nonces(owner); require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed"); } /** * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement * on the return value: the return value is optional (but if data is returned, it must not be false). * @param token The token targeted by the call. * @param data The call data (encoded using abi.encode or one of its variants). */ function _callOptionalReturn(IERC20 token, bytes memory data) private { // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that // the target address contains contract code and also asserts for success in the low-level call. bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed"); if (returndata.length > 0) { // Return data is optional require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed"); } } }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol) pragma solidity ^0.8.0; import "../../utils/introspection/IERC165.sol"; /** * @dev Required interface of an ERC1155 compliant contract, as defined in the * https://eips.ethereum.org/EIPS/eip-1155[EIP]. * * _Available since v3.1._ */ interface IERC1155 is IERC165 { /** * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`. */ event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value); /** * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all * transfers. */ event TransferBatch( address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values ); /** * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to * `approved`. */ event ApprovalForAll(address indexed account, address indexed operator, bool approved); /** * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI. * * If an {URI} event was emitted for `id`, the standard * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value * returned by {IERC1155MetadataURI-uri}. */ event URI(string value, uint256 indexed id); /** * @dev Returns the amount of tokens of token type `id` owned by `account`. * * Requirements: * * - `account` cannot be the zero address. */ function balanceOf(address account, uint256 id) external view returns (uint256); /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}. * * Requirements: * * - `accounts` and `ids` must have the same length. */ function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory); /** * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`, * * Emits an {ApprovalForAll} event. * * Requirements: * * - `operator` cannot be the caller. */ function setApprovalForAll(address operator, bool approved) external; /** * @dev Returns true if `operator` is approved to transfer ``account``'s tokens. * * See {setApprovalForAll}. */ function isApprovedForAll(address account, address operator) external view returns (bool); /** * @dev Transfers `amount` tokens of token type `id` from `from` to `to`. * * Emits a {TransferSingle} event. * * Requirements: * * - `to` cannot be the zero address. * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}. * - `from` must have a balance of tokens of type `id` of at least `amount`. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the * acceptance magic value. */ function safeTransferFrom( address from, address to, uint256 id, uint256 amount, bytes calldata data ) external; /** * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}. * * Emits a {TransferBatch} event. * * Requirements: * * - `ids` and `amounts` must have the same length. * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the * acceptance magic value. */ function safeBatchTransferFrom( address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data ) external; }
// SPDX-License-Identifier: MIT // OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol) pragma solidity ^0.8.0; /** * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612]. * * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't * need to send a transaction, and thus is not required to hold Ether at all. */ interface IERC20Permit { /** * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens, * given ``owner``'s signed approval. * * IMPORTANT: The same issues {IERC20-approve} has related to transaction * ordering also apply here. * * Emits an {Approval} event. * * Requirements: * * - `spender` cannot be the zero address. * - `deadline` must be a timestamp in the future. * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner` * over the EIP712-formatted function arguments. * - the signature must use ``owner``'s current nonce (see {nonces}). * * For more information on the signature format, see the * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP * section]. */ function permit( address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s ) external; /** * @dev Returns the current nonce for `owner`. This value must be * included whenever a signature is generated for {permit}. * * Every successful call to {permit} increases ``owner``'s nonce by one. This * prevents a signature from being used multiple times. */ function nonces(address owner) external view returns (uint256); /** * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}. */ // solhint-disable-next-line func-name-mixedcase function DOMAIN_SEPARATOR() external view returns (bytes32); }
{ "optimizer": { "enabled": true, "runs": 200 }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "metadata": { "useLiteralContent": true }, "libraries": {} }
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":"baseUri","type":"string"},{"internalType":"uint256","name":"maxSupply","type":"uint256"}],"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":"uint256","name":"fromTokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"toTokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"fromAddress","type":"address"},{"indexed":true,"internalType":"address","name":"toAddress","type":"address"}],"name":"ConsecutiveTransfer","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":false,"internalType":"uint256","name":"newPrice","type":"uint256"}],"name":"PriceUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"newOwner","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"lastTokenId","type":"uint256"}],"name":"Purchase","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawERC1155","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawERC20","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":true,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"WithdrawERC721","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"receiver","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawEther","type":"event"},{"inputs":[],"name":"_pricePer","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchTransfer","outputs":[{"internalType":"uint256","name":"amountTransferred","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"batchTransferFrom","outputs":[{"internalType":"uint256","name":"amountTransferred","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getBurns","outputs":[{"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":"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":"preMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"purchase","outputs":[{"internalType":"uint256","name":"amountTransferred","type":"uint256"}],"stateMutability":"payable","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":"newPrice","type":"uint256"}],"name":"setPrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"receiver","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawERC1155","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"receiver","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"receiver","type":"address"},{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawErc20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"receiver","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawEther","outputs":[],"stateMutability":"nonpayable","type":"function"}]
Contract Creation Code
60806040523480156200001157600080fd5b5060405162002d7a38038062002d7a833981016040819052620000349162000348565b8383338383836200004533620000cb565b81516200005a906001906020850190620001ef565b50805162000070906002906020840190620001ef565b505050600a55600980546001600160a01b0319166001600160a01b039290921691909117905550506001600b558151620000b290600d906020850190620001ef565b50620000c1333060016200011b565b5050505062000430565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b816001600160a01b0316836001600160a01b03161415620001825760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015260640160405180910390fd5b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b828054620001fd90620003dd565b90600052602060002090601f0160209004810192826200022157600085556200026c565b82601f106200023c57805160ff19168380011785556200026c565b828001600101855582156200026c579182015b828111156200026c5782518255916020019190600101906200024f565b506200027a9291506200027e565b5090565b5b808211156200027a57600081556001016200027f565b600082601f830112620002a6578081fd5b81516001600160401b0380821115620002c357620002c36200041a565b604051601f8301601f19908116603f01168101908282118183101715620002ee57620002ee6200041a565b816040528381526020925086838588010111156200030a578485fd5b8491505b838210156200032d57858201830151818301840152908201906200030e565b838211156200033e57848385830101525b9695505050505050565b600080600080608085870312156200035e578384fd5b84516001600160401b038082111562000375578586fd5b620003838883890162000295565b9550602087015191508082111562000399578485fd5b620003a78883890162000295565b94506040870151915080821115620003bd578384fd5b50620003cc8782880162000295565b606096909601519497939650505050565b600181811c90821680620003f257607f821691505b602082108114156200041457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b61293a80620004406000396000f3fe6080604052600436106101d85760003560e01c80636352211e11610102578063a22cb46511610095578063e985e9c511610064578063e985e9c51461054d578063efef39a114610596578063f2fde38b146105a9578063f3993d11146105c957600080fd5b8063a22cb465146104cd578063ac3c9952146104ed578063b88d4fde1461050d578063c87b56dd1461052d57600080fd5b80638da5cb5b116100d15780638da5cb5b1461045a57806391b7f5ed1461047857806395d89b4114610498578063a0edb48b146104ad57600080fd5b80636352211e146103d857806370a08231146103f8578063715018a614610418578063875066d91461042d57600080fd5b80632f745c591161017a57806342966c681161014957806342966c68146103625780634f6ccce714610382578063522f6815146103a257806353093df0146103c257600080fd5b80632f745c59146102ed5780633cd29ac81461030d5780634025feb21461032257806342842e0e1461034257600080fd5b8063095ea7b3116101b6578063095ea7b31461026c5780631593dee11461028e57806318160ddd146102ae57806323b872dd146102cd57600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f836600461256e565b6105e9565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b50610227610614565b604051610209919061268a565b34801561024057600080fd5b5061025461024f3660046125a6565b6106a6565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c610287366004612344565b6106cd565b005b34801561029a57600080fd5b5061028c6102a93660046122bf565b6107e8565b3480156102ba57600080fd5b50600a545b604051908152602001610209565b3480156102d957600080fd5b5061028c6102e8366004612407565b6107fb565b3480156102f957600080fd5b506102bf610308366004612344565b61082c565b34801561031957600080fd5b5061028c6108f2565b34801561032e57600080fd5b5061028c61033d3660046122bf565b610904565b34801561034e57600080fd5b5061028c61035d366004612407565b610917565b34801561036e57600080fd5b5061028c61037d3660046125a6565b610932565b34801561038e57600080fd5b506102bf61039d3660046125a6565b6109c3565b3480156103ae57600080fd5b5061028c6103bd366004612344565b610a36565b3480156103ce57600080fd5b506102bf600e5481565b3480156103e457600080fd5b506102546103f33660046125a6565b610a4c565b34801561040457600080fd5b506102bf610413366004612287565b610a91565b34801561042457600080fd5b5061028c610b17565b34801561043957600080fd5b506102bf6104483660046125a6565b6000908152600f602052604090205490565b34801561046657600080fd5b506000546001600160a01b0316610254565b34801561048457600080fd5b5061028c6104933660046125a6565b610b29565b3480156104a457600080fd5b50610227610b6c565b3480156104b957600080fd5b5061028c6104c83660046122ff565b610b7b565b3480156104d957600080fd5b5061028c6104e8366004612525565b610b8f565b3480156104f957600080fd5b506102bf6105083660046124d7565b610b9a565b34801561051957600080fd5b5061028c61052836600461241b565b610ba7565b34801561053957600080fd5b506102276105483660046125a6565b610bd9565b34801561055957600080fd5b506101fd61056836600461236f565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6102bf6105a43660046125a6565b610c3f565b3480156105b557600080fd5b5061028c6105c4366004612287565b610e70565b3480156105d557600080fd5b506102bf6105e43660046123a7565b610ee9565b60006001600160e01b0319821663780e9d6360e01b148061060e575061060e82610efe565b92915050565b6060600180546106239061281f565b80601f016020809104026020016040519081016040528092919081815260200182805461064f9061281f565b801561069c5780601f106106715761010080835404028352916020019161069c565b820191906000526020600020905b81548152906001019060200180831161067f57829003601f168201915b5050505050905090565b60006106b182610f4e565b506000908152600560205260409020546001600160a01b031690565b60006106d882610a4c565b9050806001600160a01b0316836001600160a01b0316141561074b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061076757506107678133610568565b6107d95760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610742565b6107e38383610f9e565b505050565b6107f061100c565b6107e3838383611066565b6108053382611170565b6108215760405162461bcd60e51b815260040161074290612712565b6107e38383836111ee565b600061083783610a91565b82106108995760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610742565b6001600160a01b0383166000908152600760209081526040808320858452909152902054801580156108d857506009546001600160a01b038581169116145b156108eb576108e8836001612791565b90505b9392505050565b6108fa61100c565b610902611395565b565b61090c61100c565b6107e38383836113ff565b6107e383838360405180602001604052806000815250610ba7565b61093b8161155c565b6000818152600f602052604081205490610954600c5490565b9050600a54811080156109675750600382105b156107e35761097a600c80546001019055565b6000610985600c5490565b9050610992836001612791565b6000828152600f60205260409020556109bd6109b66000546001600160a01b031690565b33866111ee565b50505050565b6000600a548210610a2b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610742565b61060e826001612791565b610a3e61100c565b610a488282611607565b5050565b6000600a54821115610a615761060e8261168e565b6000828152600360205260409020546001600160a01b03168061060e57506009546001600160a01b031692915050565b60006001600160a01b038216610afb5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610742565b506001600160a01b031660009081526004602052604090205490565b610b1f61100c565b61090260006116ee565b610b3161100c565b600e8190556040518181527fae46785019700e30375a5d7b4f91e32f8060ef085111f896ebf889450aa2ab5a9060200160405180910390a150565b6060600280546106239061281f565b610b8361100c565b6109bd8484848461173e565b610a483383836118b8565b60006108eb33848461197f565b610bb13383611170565b610bcd5760405162461bcd60e51b815260040161074290612712565b6109bd84848484611afd565b6060610be482610f4e565b6000610bee611b30565b90506000815111610c0e57604051806020016040528060008152506108eb565b80610c1884611b3f565b604051602001610c2992919061261e565b6040516020818303038152906040529392505050565b60006002600b541415610c945760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610742565b6002600b556000610ca4600c5490565b600a54909150610cb48483612791565b1115610ccb5780600a54610cc891906127dc565b92505b600e5460009015610d2d5783600e54610ce491906127bd565b905080341015610d2d5760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610742565b60008467ffffffffffffffff811115610d5657634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d7f578160200160208202803683370190505b50905060005b85811015610ddb57610d9b600c80546001019055565b600c54828281518110610dbe57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610dd38161285a565b915050610d85565b50610df8610df16000546001600160a01b031690565b338361197f565b9350336001600160a01b03167f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c86610e2f600c5490565b6040805192835260208301919091520160405180910390a281341115610e6357610e63610e5c83346127dc565b3390611c59565b50506001600b5550919050565b610e7861100c565b6001600160a01b038116610edd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610742565b610ee6816116ee565b50565b6000610ef684848461197f565b949350505050565b60006001600160e01b031982166380ac58cd60e01b1480610f2f57506001600160e01b03198216635b5e139f60e01b145b8061060e57506301ffc9a760e01b6001600160e01b031983161461060e565b610f5781611d72565b610ee65760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610742565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fd382610a4c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000546001600160a01b031633146109025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610742565b6001600160a01b03831661108c5760405162461bcd60e51b8152600401610742906126ef565b6040516370a0823160e01b815230600482015281906001600160a01b038416906370a082319060240160206040518083038186803b1580156110cd57600080fd5b505afa1580156110e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110591906125be565b106107e35761111e6001600160a01b0383168483611db1565b816001600160a01b0316836001600160a01b03167f33c35f9541201e342d5e7467016e65a0a06182eb12a5f17103f71cec95b6cb298360405161116391815260200190565b60405180910390a3505050565b60008061117c83610a4c565b9050806001600160a01b0316846001600160a01b031614806111c357506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80610ef65750836001600160a01b03166111dc846106a6565b6001600160a01b031614949350505050565b826001600160a01b031661120182610a4c565b6001600160a01b0316146112655760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610742565b6001600160a01b0382166112c75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610742565b6112d2838383611e03565b6112dd600082610f9e565b6001600160a01b03831660009081526004602052604081208054600192906113069084906127dc565b90915550506001600160a01b0382166000908152600460205260408120805460019290611334908490612791565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a54600980546001600160a01b0390811660009081526004602052604080822085905592549251929091169290916001917fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d916113f591815260200190565b60405180910390a4565b6001600160a01b0383166114255760405162461bcd60e51b8152600401610742906126ef565b6040516331a9108f60e11b81526004810182905230906001600160a01b03841690636352211e9060240160206040518083038186803b15801561146757600080fd5b505afa15801561147b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149f91906122a3565b6001600160a01b031614156107e3576040516323b872dd60e01b81523060048201526001600160a01b038481166024830152604482018390528316906323b872dd90606401600060405180830381600087803b1580156114fe57600080fd5b505af1158015611512573d6000803e3d6000fd5b5050505080826001600160a01b0316846001600160a01b03167f43734303d11078efad5d02b38924b4e91a189fb2cbbcd429fc52d9f8cedbcdc760405160405180910390a4505050565b600061156782610a4c565b905061157581600084611e03565b611580600083610f9e565b6001600160a01b03811660009081526004602052604081208054600192906115a99084906127dc565b909155505060008281526003602052604080822080546001600160a01b03191661dead179055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b03821661162d5760405162461bcd60e51b8152600401610742906126ef565b804710610a48576116476001600160a01b03831682611c59565b816001600160a01b03167fdb35132c111efe920cede025e819975671cfd1b8fcc1174762c8670c4e94c2118260405161168291815260200190565b60405180910390a25050565b6000818152600360205260408120546001600160a01b03168061060e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610742565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0384166117645760405162461bcd60e51b8152600401610742906126ef565b604051627eeac760e11b81523060048201526024810183905281906001600160a01b0385169062fdd58e9060440160206040518083038186803b1580156117aa57600080fd5b505afa1580156117be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e291906125be565b106109bd57604051637921219560e11b81523060048201526001600160a01b038581166024830152604482018490526064820183905260a06084830152600060a483015284169063f242432a9060c401600060405180830381600087803b15801561184c57600080fd5b505af1158015611860573d6000803e3d6000fd5b5050505081836001600160a01b0316856001600160a01b03167fd19a6af682b2b021929d6816639021ffe41d313e2c6878d5dc4924b523be56b2846040516118aa91815260200190565b60405180910390a450505050565b816001600160a01b0316836001600160a01b0316141561191a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610742565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319101611163565b8051600090815b81811015611a995760008482815181106119b057634e487b7160e01b600052603260045260246000fd5b60200260200101519050866001600160a01b03166119cd82610a4c565b6001600160a01b03161415806119ea57506119e88782611170565b155b806119fc57506001600160a01b038616155b15611a075750611a87565b611a12878783611e03565b611a1d600082610f9e565b611a28600185612791565b60008281526003602052604080822080546001600160a01b0319166001600160a01b038b8116918217909255915193975084939192908b16917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505b80611a918161285a565b915050611986565b506001600160a01b03851660009081526004602052604081208054849290611ac29084906127dc565b90915550506001600160a01b03841660009081526004602052604081208054849290611aef908490612791565b909155509195945050505050565b611b088484846111ee565b611b1484848484611e30565b6109bd5760405162461bcd60e51b81526004016107429061269d565b6060600d80546106239061281f565b606081611b635750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b8d5780611b778161285a565b9150611b869050600a836127a9565b9150611b67565b60008167ffffffffffffffff811115611bb657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611be0576020820181803683370190505b5090505b8415610ef657611bf56001836127dc565b9150611c02600a86612875565b611c0d906030612791565b60f81b818381518110611c3057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611c52600a866127a9565b9450611be4565b80471015611ca95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610742565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611cf6576040519150601f19603f3d011682016040523d82523d6000602084013e611cfb565b606091505b50509050806107e35760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610742565b6000600a54821115611d9d576000828152600360205260409020546001600160a01b0316151561060e565b60008211801561060e575050600a54101590565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526107e3908490611f3d565b816001600160a01b0316836001600160a01b0316146107e357611e26838261200f565b6107e382826120ac565b60006001600160a01b0384163b15611f3257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e7490339089908890889060040161264d565b602060405180830381600087803b158015611e8e57600080fd5b505af1925050508015611ebe575060408051601f3d908101601f19168201909252611ebb9181019061258a565b60015b611f18573d808015611eec576040519150601f19603f3d011682016040523d82523d6000602084013e611ef1565b606091505b508051611f105760405162461bcd60e51b81526004016107429061269d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ef6565b506001949350505050565b6000611f92826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166120f09092919063ffffffff16565b8051909150156107e35780806020019051810190611fb09190612552565b6107e35760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610742565b6000600161201c84610a91565b61202691906127dc565b600083815260086020526040902054909150808214612079576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60006120b783610a91565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6060610ef68484600085856001600160a01b0385163b6121525760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610742565b600080866001600160a01b0316858760405161216e9190612602565b60006040518083038185875af1925050503d80600081146121ab576040519150601f19603f3d011682016040523d82523d6000602084013e6121b0565b606091505b50915091506121c08282866121cb565b979650505050505050565b606083156121da5750816108eb565b8251156121ea5782518084602001fd5b8160405162461bcd60e51b8152600401610742919061268a565b600082601f830112612214578081fd5b8135602067ffffffffffffffff821115612230576122306128b5565b8160051b61223f828201612760565b838152828101908684018388018501891015612259578687fd5b8693505b8584101561227b57803583526001939093019291840191840161225d565b50979650505050505050565b600060208284031215612298578081fd5b81356108eb816128cb565b6000602082840312156122b4578081fd5b81516108eb816128cb565b6000806000606084860312156122d3578182fd5b83356122de816128cb565b925060208401356122ee816128cb565b929592945050506040919091013590565b60008060008060808587031215612314578081fd5b843561231f816128cb565b9350602085013561232f816128cb565b93969395505050506040820135916060013590565b60008060408385031215612356578182fd5b8235612361816128cb565b946020939093013593505050565b60008060408385031215612381578182fd5b823561238c816128cb565b9150602083013561239c816128cb565b809150509250929050565b6000806000606084860312156123bb578283fd5b83356123c6816128cb565b925060208401356123d6816128cb565b9150604084013567ffffffffffffffff8111156123f1578182fd5b6123fd86828701612204565b9150509250925092565b6000806000606084860312156122d3578283fd5b60008060008060808587031215612430578384fd5b843561243b816128cb565b935060208581013561244c816128cb565b935060408601359250606086013567ffffffffffffffff8082111561246f578384fd5b818801915088601f830112612482578384fd5b813581811115612494576124946128b5565b6124a6601f8201601f19168501612760565b915080825289848285010111156124bb578485fd5b8084840185840137810190920192909252939692955090935050565b600080604083850312156124e9578182fd5b82356124f4816128cb565b9150602083013567ffffffffffffffff81111561250f578182fd5b61251b85828601612204565b9150509250929050565b60008060408385031215612537578182fd5b8235612542816128cb565b9150602083013561239c816128e0565b600060208284031215612563578081fd5b81516108eb816128e0565b60006020828403121561257f578081fd5b81356108eb816128ee565b60006020828403121561259b578081fd5b81516108eb816128ee565b6000602082840312156125b7578081fd5b5035919050565b6000602082840312156125cf578081fd5b5051919050565b600081518084526125ee8160208601602086016127f3565b601f01601f19169290920160200192915050565b600082516126148184602087016127f3565b9190910192915050565b600083516126308184602088016127f3565b8351908301906126448183602088016127f3565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612680908301846125d6565b9695505050505050565b6020815260006108eb60208301846125d6565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600990820152684248503a452d34303360b81b604082015260600190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612789576127896128b5565b604052919050565b600082198211156127a4576127a4612889565b500190565b6000826127b8576127b861289f565b500490565b60008160001904831182151516156127d7576127d7612889565b500290565b6000828210156127ee576127ee612889565b500390565b60005b8381101561280e5781810151838201526020016127f6565b838111156109bd5750506000910152565b600181811c9082168061283357607f821691505b6020821081141561285457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561286e5761286e612889565b5060010190565b6000826128845761288461289f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610ee657600080fd5b8015158114610ee657600080fd5b6001600160e01b031981168114610ee657600080fdfea2646970667358221220d0c9fa3b91e3d96d75b4dbb375561661c4e016dd35242aeaf5a14e89641cec9f64736f6c63430008040033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000000225065707065726d696e7420526f72736368616368202d2047656e6573697320314d4d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004524f415200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004768747470733a2f2f75732d63656e7472616c312d74616767722d6e66742e636c6f756466756e6374696f6e732e6e65742f6170692f7072656d696e742f726f727363686163682f00000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101d85760003560e01c80636352211e11610102578063a22cb46511610095578063e985e9c511610064578063e985e9c51461054d578063efef39a114610596578063f2fde38b146105a9578063f3993d11146105c957600080fd5b8063a22cb465146104cd578063ac3c9952146104ed578063b88d4fde1461050d578063c87b56dd1461052d57600080fd5b80638da5cb5b116100d15780638da5cb5b1461045a57806391b7f5ed1461047857806395d89b4114610498578063a0edb48b146104ad57600080fd5b80636352211e146103d857806370a08231146103f8578063715018a614610418578063875066d91461042d57600080fd5b80632f745c591161017a57806342966c681161014957806342966c68146103625780634f6ccce714610382578063522f6815146103a257806353093df0146103c257600080fd5b80632f745c59146102ed5780633cd29ac81461030d5780634025feb21461032257806342842e0e1461034257600080fd5b8063095ea7b3116101b6578063095ea7b31461026c5780631593dee11461028e57806318160ddd146102ae57806323b872dd146102cd57600080fd5b806301ffc9a7146101dd57806306fdde0314610212578063081812fc14610234575b600080fd5b3480156101e957600080fd5b506101fd6101f836600461256e565b6105e9565b60405190151581526020015b60405180910390f35b34801561021e57600080fd5b50610227610614565b604051610209919061268a565b34801561024057600080fd5b5061025461024f3660046125a6565b6106a6565b6040516001600160a01b039091168152602001610209565b34801561027857600080fd5b5061028c610287366004612344565b6106cd565b005b34801561029a57600080fd5b5061028c6102a93660046122bf565b6107e8565b3480156102ba57600080fd5b50600a545b604051908152602001610209565b3480156102d957600080fd5b5061028c6102e8366004612407565b6107fb565b3480156102f957600080fd5b506102bf610308366004612344565b61082c565b34801561031957600080fd5b5061028c6108f2565b34801561032e57600080fd5b5061028c61033d3660046122bf565b610904565b34801561034e57600080fd5b5061028c61035d366004612407565b610917565b34801561036e57600080fd5b5061028c61037d3660046125a6565b610932565b34801561038e57600080fd5b506102bf61039d3660046125a6565b6109c3565b3480156103ae57600080fd5b5061028c6103bd366004612344565b610a36565b3480156103ce57600080fd5b506102bf600e5481565b3480156103e457600080fd5b506102546103f33660046125a6565b610a4c565b34801561040457600080fd5b506102bf610413366004612287565b610a91565b34801561042457600080fd5b5061028c610b17565b34801561043957600080fd5b506102bf6104483660046125a6565b6000908152600f602052604090205490565b34801561046657600080fd5b506000546001600160a01b0316610254565b34801561048457600080fd5b5061028c6104933660046125a6565b610b29565b3480156104a457600080fd5b50610227610b6c565b3480156104b957600080fd5b5061028c6104c83660046122ff565b610b7b565b3480156104d957600080fd5b5061028c6104e8366004612525565b610b8f565b3480156104f957600080fd5b506102bf6105083660046124d7565b610b9a565b34801561051957600080fd5b5061028c61052836600461241b565b610ba7565b34801561053957600080fd5b506102276105483660046125a6565b610bd9565b34801561055957600080fd5b506101fd61056836600461236f565b6001600160a01b03918216600090815260066020908152604080832093909416825291909152205460ff1690565b6102bf6105a43660046125a6565b610c3f565b3480156105b557600080fd5b5061028c6105c4366004612287565b610e70565b3480156105d557600080fd5b506102bf6105e43660046123a7565b610ee9565b60006001600160e01b0319821663780e9d6360e01b148061060e575061060e82610efe565b92915050565b6060600180546106239061281f565b80601f016020809104026020016040519081016040528092919081815260200182805461064f9061281f565b801561069c5780601f106106715761010080835404028352916020019161069c565b820191906000526020600020905b81548152906001019060200180831161067f57829003601f168201915b5050505050905090565b60006106b182610f4e565b506000908152600560205260409020546001600160a01b031690565b60006106d882610a4c565b9050806001600160a01b0316836001600160a01b0316141561074b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b60648201526084015b60405180910390fd5b336001600160a01b038216148061076757506107678133610568565b6107d95760405162461bcd60e51b815260206004820152603e60248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f60448201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c00006064820152608401610742565b6107e38383610f9e565b505050565b6107f061100c565b6107e3838383611066565b6108053382611170565b6108215760405162461bcd60e51b815260040161074290612712565b6107e38383836111ee565b600061083783610a91565b82106108995760405162461bcd60e51b815260206004820152602b60248201527f455243373231456e756d657261626c653a206f776e657220696e646578206f7560448201526a74206f6620626f756e647360a81b6064820152608401610742565b6001600160a01b0383166000908152600760209081526040808320858452909152902054801580156108d857506009546001600160a01b038581169116145b156108eb576108e8836001612791565b90505b9392505050565b6108fa61100c565b610902611395565b565b61090c61100c565b6107e38383836113ff565b6107e383838360405180602001604052806000815250610ba7565b61093b8161155c565b6000818152600f602052604081205490610954600c5490565b9050600a54811080156109675750600382105b156107e35761097a600c80546001019055565b6000610985600c5490565b9050610992836001612791565b6000828152600f60205260409020556109bd6109b66000546001600160a01b031690565b33866111ee565b50505050565b6000600a548210610a2b5760405162461bcd60e51b815260206004820152602c60248201527f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60448201526b7574206f6620626f756e647360a01b6064820152608401610742565b61060e826001612791565b610a3e61100c565b610a488282611607565b5050565b6000600a54821115610a615761060e8261168e565b6000828152600360205260409020546001600160a01b03168061060e57506009546001600160a01b031692915050565b60006001600160a01b038216610afb5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a2061646472657373207a65726f206973206e6f7420612076616044820152683634b21037bbb732b960b91b6064820152608401610742565b506001600160a01b031660009081526004602052604090205490565b610b1f61100c565b61090260006116ee565b610b3161100c565b600e8190556040518181527fae46785019700e30375a5d7b4f91e32f8060ef085111f896ebf889450aa2ab5a9060200160405180910390a150565b6060600280546106239061281f565b610b8361100c565b6109bd8484848461173e565b610a483383836118b8565b60006108eb33848461197f565b610bb13383611170565b610bcd5760405162461bcd60e51b815260040161074290612712565b6109bd84848484611afd565b6060610be482610f4e565b6000610bee611b30565b90506000815111610c0e57604051806020016040528060008152506108eb565b80610c1884611b3f565b604051602001610c2992919061261e565b6040516020818303038152906040529392505050565b60006002600b541415610c945760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610742565b6002600b556000610ca4600c5490565b600a54909150610cb48483612791565b1115610ccb5780600a54610cc891906127dc565b92505b600e5460009015610d2d5783600e54610ce491906127bd565b905080341015610d2d5760405162461bcd60e51b8152602060048201526014602482015273125b9cdd59999a58da595b9d081c185e5b595b9d60621b6044820152606401610742565b60008467ffffffffffffffff811115610d5657634e487b7160e01b600052604160045260246000fd5b604051908082528060200260200182016040528015610d7f578160200160208202803683370190505b50905060005b85811015610ddb57610d9b600c80546001019055565b600c54828281518110610dbe57634e487b7160e01b600052603260045260246000fd5b602090810291909101015280610dd38161285a565b915050610d85565b50610df8610df16000546001600160a01b031690565b338361197f565b9350336001600160a01b03167f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c86610e2f600c5490565b6040805192835260208301919091520160405180910390a281341115610e6357610e63610e5c83346127dc565b3390611c59565b50506001600b5550919050565b610e7861100c565b6001600160a01b038116610edd5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610742565b610ee6816116ee565b50565b6000610ef684848461197f565b949350505050565b60006001600160e01b031982166380ac58cd60e01b1480610f2f57506001600160e01b03198216635b5e139f60e01b145b8061060e57506301ffc9a760e01b6001600160e01b031983161461060e565b610f5781611d72565b610ee65760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610742565b600081815260056020526040902080546001600160a01b0319166001600160a01b0384169081179091558190610fd382610a4c565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000546001600160a01b031633146109025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610742565b6001600160a01b03831661108c5760405162461bcd60e51b8152600401610742906126ef565b6040516370a0823160e01b815230600482015281906001600160a01b038416906370a082319060240160206040518083038186803b1580156110cd57600080fd5b505afa1580156110e1573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061110591906125be565b106107e35761111e6001600160a01b0383168483611db1565b816001600160a01b0316836001600160a01b03167f33c35f9541201e342d5e7467016e65a0a06182eb12a5f17103f71cec95b6cb298360405161116391815260200190565b60405180910390a3505050565b60008061117c83610a4c565b9050806001600160a01b0316846001600160a01b031614806111c357506001600160a01b0380821660009081526006602090815260408083209388168352929052205460ff165b80610ef65750836001600160a01b03166111dc846106a6565b6001600160a01b031614949350505050565b826001600160a01b031661120182610a4c565b6001600160a01b0316146112655760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201526437bbb732b960d91b6064820152608401610742565b6001600160a01b0382166112c75760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610742565b6112d2838383611e03565b6112dd600082610f9e565b6001600160a01b03831660009081526004602052604081208054600192906113069084906127dc565b90915550506001600160a01b0382166000908152600460205260408120805460019290611334908490612791565b909155505060008181526003602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a54600980546001600160a01b0390811660009081526004602052604080822085905592549251929091169290916001917fdeaa91b6123d068f5821d0fb0678463d1a8a6079fe8af5de3ce5e896dcf9133d916113f591815260200190565b60405180910390a4565b6001600160a01b0383166114255760405162461bcd60e51b8152600401610742906126ef565b6040516331a9108f60e11b81526004810182905230906001600160a01b03841690636352211e9060240160206040518083038186803b15801561146757600080fd5b505afa15801561147b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061149f91906122a3565b6001600160a01b031614156107e3576040516323b872dd60e01b81523060048201526001600160a01b038481166024830152604482018390528316906323b872dd90606401600060405180830381600087803b1580156114fe57600080fd5b505af1158015611512573d6000803e3d6000fd5b5050505080826001600160a01b0316846001600160a01b03167f43734303d11078efad5d02b38924b4e91a189fb2cbbcd429fc52d9f8cedbcdc760405160405180910390a4505050565b600061156782610a4c565b905061157581600084611e03565b611580600083610f9e565b6001600160a01b03811660009081526004602052604081208054600192906115a99084906127dc565b909155505060008281526003602052604080822080546001600160a01b03191661dead179055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b6001600160a01b03821661162d5760405162461bcd60e51b8152600401610742906126ef565b804710610a48576116476001600160a01b03831682611c59565b816001600160a01b03167fdb35132c111efe920cede025e819975671cfd1b8fcc1174762c8670c4e94c2118260405161168291815260200190565b60405180910390a25050565b6000818152600360205260408120546001600160a01b03168061060e5760405162461bcd60e51b8152602060048201526018602482015277115490cdcc8c4e881a5b9d985b1a59081d1bdad95b88125160421b6044820152606401610742565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6001600160a01b0384166117645760405162461bcd60e51b8152600401610742906126ef565b604051627eeac760e11b81523060048201526024810183905281906001600160a01b0385169062fdd58e9060440160206040518083038186803b1580156117aa57600080fd5b505afa1580156117be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117e291906125be565b106109bd57604051637921219560e11b81523060048201526001600160a01b038581166024830152604482018490526064820183905260a06084830152600060a483015284169063f242432a9060c401600060405180830381600087803b15801561184c57600080fd5b505af1158015611860573d6000803e3d6000fd5b5050505081836001600160a01b0316856001600160a01b03167fd19a6af682b2b021929d6816639021ffe41d313e2c6878d5dc4924b523be56b2846040516118aa91815260200190565b60405180910390a450505050565b816001600160a01b0316836001600160a01b0316141561191a5760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610742565b6001600160a01b03838116600081815260066020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319101611163565b8051600090815b81811015611a995760008482815181106119b057634e487b7160e01b600052603260045260246000fd5b60200260200101519050866001600160a01b03166119cd82610a4c565b6001600160a01b03161415806119ea57506119e88782611170565b155b806119fc57506001600160a01b038616155b15611a075750611a87565b611a12878783611e03565b611a1d600082610f9e565b611a28600185612791565b60008281526003602052604080822080546001600160a01b0319166001600160a01b038b8116918217909255915193975084939192908b16917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9190a4505b80611a918161285a565b915050611986565b506001600160a01b03851660009081526004602052604081208054849290611ac29084906127dc565b90915550506001600160a01b03841660009081526004602052604081208054849290611aef908490612791565b909155509195945050505050565b611b088484846111ee565b611b1484848484611e30565b6109bd5760405162461bcd60e51b81526004016107429061269d565b6060600d80546106239061281f565b606081611b635750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611b8d5780611b778161285a565b9150611b869050600a836127a9565b9150611b67565b60008167ffffffffffffffff811115611bb657634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611be0576020820181803683370190505b5090505b8415610ef657611bf56001836127dc565b9150611c02600a86612875565b611c0d906030612791565b60f81b818381518110611c3057634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350611c52600a866127a9565b9450611be4565b80471015611ca95760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610742565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611cf6576040519150601f19603f3d011682016040523d82523d6000602084013e611cfb565b606091505b50509050806107e35760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610742565b6000600a54821115611d9d576000828152600360205260409020546001600160a01b0316151561060e565b60008211801561060e575050600a54101590565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526107e3908490611f3d565b816001600160a01b0316836001600160a01b0316146107e357611e26838261200f565b6107e382826120ac565b60006001600160a01b0384163b15611f3257604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611e7490339089908890889060040161264d565b602060405180830381600087803b158015611e8e57600080fd5b505af1925050508015611ebe575060408051601f3d908101601f19168201909252611ebb9181019061258a565b60015b611f18573d808015611eec576040519150601f19603f3d011682016040523d82523d6000602084013e611ef1565b606091505b508051611f105760405162461bcd60e51b81526004016107429061269d565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050610ef6565b506001949350505050565b6000611f92826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166120f09092919063ffffffff16565b8051909150156107e35780806020019051810190611fb09190612552565b6107e35760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610742565b6000600161201c84610a91565b61202691906127dc565b600083815260086020526040902054909150808214612079576001600160a01b03841660009081526007602090815260408083208584528252808320548484528184208190558352600890915290208190555b5060009182526008602090815260408084208490556001600160a01b039094168352600781528383209183525290812055565b60006120b783610a91565b6001600160a01b039093166000908152600760209081526040808320868452825280832085905593825260089052919091209190915550565b6060610ef68484600085856001600160a01b0385163b6121525760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610742565b600080866001600160a01b0316858760405161216e9190612602565b60006040518083038185875af1925050503d80600081146121ab576040519150601f19603f3d011682016040523d82523d6000602084013e6121b0565b606091505b50915091506121c08282866121cb565b979650505050505050565b606083156121da5750816108eb565b8251156121ea5782518084602001fd5b8160405162461bcd60e51b8152600401610742919061268a565b600082601f830112612214578081fd5b8135602067ffffffffffffffff821115612230576122306128b5565b8160051b61223f828201612760565b838152828101908684018388018501891015612259578687fd5b8693505b8584101561227b57803583526001939093019291840191840161225d565b50979650505050505050565b600060208284031215612298578081fd5b81356108eb816128cb565b6000602082840312156122b4578081fd5b81516108eb816128cb565b6000806000606084860312156122d3578182fd5b83356122de816128cb565b925060208401356122ee816128cb565b929592945050506040919091013590565b60008060008060808587031215612314578081fd5b843561231f816128cb565b9350602085013561232f816128cb565b93969395505050506040820135916060013590565b60008060408385031215612356578182fd5b8235612361816128cb565b946020939093013593505050565b60008060408385031215612381578182fd5b823561238c816128cb565b9150602083013561239c816128cb565b809150509250929050565b6000806000606084860312156123bb578283fd5b83356123c6816128cb565b925060208401356123d6816128cb565b9150604084013567ffffffffffffffff8111156123f1578182fd5b6123fd86828701612204565b9150509250925092565b6000806000606084860312156122d3578283fd5b60008060008060808587031215612430578384fd5b843561243b816128cb565b935060208581013561244c816128cb565b935060408601359250606086013567ffffffffffffffff8082111561246f578384fd5b818801915088601f830112612482578384fd5b813581811115612494576124946128b5565b6124a6601f8201601f19168501612760565b915080825289848285010111156124bb578485fd5b8084840185840137810190920192909252939692955090935050565b600080604083850312156124e9578182fd5b82356124f4816128cb565b9150602083013567ffffffffffffffff81111561250f578182fd5b61251b85828601612204565b9150509250929050565b60008060408385031215612537578182fd5b8235612542816128cb565b9150602083013561239c816128e0565b600060208284031215612563578081fd5b81516108eb816128e0565b60006020828403121561257f578081fd5b81356108eb816128ee565b60006020828403121561259b578081fd5b81516108eb816128ee565b6000602082840312156125b7578081fd5b5035919050565b6000602082840312156125cf578081fd5b5051919050565b600081518084526125ee8160208601602086016127f3565b601f01601f19169290920160200192915050565b600082516126148184602087016127f3565b9190910192915050565b600083516126308184602088016127f3565b8351908301906126448183602088016127f3565b01949350505050565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612680908301846125d6565b9695505050505050565b6020815260006108eb60208301846125d6565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252600990820152684248503a452d34303360b81b604082015260600190565b6020808252602e908201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560408201526d1c881b9bdc88185c1c1c9bdd995960921b606082015260800190565b604051601f8201601f1916810167ffffffffffffffff81118282101715612789576127896128b5565b604052919050565b600082198211156127a4576127a4612889565b500190565b6000826127b8576127b861289f565b500490565b60008160001904831182151516156127d7576127d7612889565b500290565b6000828210156127ee576127ee612889565b500390565b60005b8381101561280e5781810151838201526020016127f6565b838111156109bd5750506000910152565b600181811c9082168061283357607f821691505b6020821081141561285457634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561286e5761286e612889565b5060010190565b6000826128845761288461289f565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b0381168114610ee657600080fd5b8015158114610ee657600080fd5b6001600160e01b031981168114610ee657600080fdfea2646970667358221220d0c9fa3b91e3d96d75b4dbb375561661c4e016dd35242aeaf5a14e89641cec9f64736f6c63430008040033
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000000000000000000000f424000000000000000000000000000000000000000000000000000000000000000225065707065726d696e7420526f72736368616368202d2047656e6573697320314d4d0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004524f415200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004768747470733a2f2f75732d63656e7472616c312d74616767722d6e66742e636c6f756466756e6374696f6e732e6e65742f6170692f7072656d696e742f726f727363686163682f00000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Peppermint Rorschach - Genesis 1MM
Arg [1] : symbol (string): ROAR
Arg [2] : baseUri (string): https://us-central1-taggr-nft.cloudfunctions.net/api/premint/rorschach/
Arg [3] : maxSupply (uint256): 1000000
-----Encoded View---------------
13 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [3] : 00000000000000000000000000000000000000000000000000000000000f4240
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [5] : 5065707065726d696e7420526f72736368616368202d2047656e657369732031
Arg [6] : 4d4d000000000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [8] : 524f415200000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000047
Arg [10] : 68747470733a2f2f75732d63656e7472616c312d74616767722d6e66742e636c
Arg [11] : 6f756466756e6374696f6e732e6e65742f6170692f7072656d696e742f726f72
Arg [12] : 7363686163682f00000000000000000000000000000000000000000000000000
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.