ETH Price: $3,418.47 (+3.21%)

Token

SEED - WATER (WTR)
 

Overview

Max Total Supply

2,022 WTR

Holders

915

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
2 WTR
0x755c8d16d5298395922d791db8eaef7294de0cd4
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SeedNFT

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 17 : SeedNFT.sol
// SPDX-License-Identifier: AGPL-3.0

pragma solidity ^0.8.9;

import "./helpers/Ownable.sol";
import "./helpers/Pausable.sol";
import "./helpers/ERC721AWithRoyalties.sol";
import {LicenseVersion, CantBeEvil} from "./licenses/CantBeEvil.sol";

/*                                                                         
                                         ,,,                                    
                                        ╫▓▓▓▓▓⌐                                 
                                       ╔▓▓▓▓▓▀                                  
                              φφ╖╓φ▓▓▓▓▓▀▀╙╙ ▄φφ▄                               
               ╓▄▓▓▓▓▓▓▓▄,   ╚▓▓▓▓╙`        ▐▓▓▓▓▓▓╗▄╖╥▄▓▓▓▓▓µ                  
            ╓▓▓▀▀╙▀▀▓▓▓▓▓▓▓   ╟▓▓           └▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▀▄▄╖                
           ▐▓▀        ╙╣▓▓▓   ]▓▓▄,▄φ▓▓╕      ╙▓▓▓▓`        ║▓▓▓▓▓              
           ╟▓      ,        ╓▓▓▓▓▓▓▓▓▓▓▀       ▓▓▓▓φ▄▄φ▓▓▓▓b└▓▓▓▓▓▓,            
            ╙▓▓▓▓▓▓▓▓▓▓▓▄   ▓▓▓▀             ╓▓▓▓▓▓╙╙╙╙╙▀▀╙   └╙╙╙▀╣▓▓          
        ,╓╓    └╙▀╝▓▓▓▓▓▓b  ╟▓▌             å▓▓▓▓▓                   ▓▓▄        
     ╓▓▓▓▓▓▓         ╙▓▓▓Γ ╓▓▓▓╖,╓Φ▓▌╓╥φ▓▓╕ ▓▓▓▓▓▓▓▓▓▓▌,,,     ╓▓▓▓▓φ▓▓▓        
    ▐▓▓▓▓▓▓Γ          ▐▓▌  ╙▀╙╙▀▀▀╙╙▀▓▓▓▓▓▌ └╙▀▀▀╝▓▓▓▓▓▓▓▓▓   ]▓▓▓▓╝▓▓▓⌐        
    ╚▓▓▓▓▓▓,        ,▄▓▓b            ╙╙▀▀`         ╣▓▓▓▓▓▓Γ   ╣▓▓    ║▓▓        
     ╙▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▓▌     ▓▌     ]▓          ,╓▄╗╗╣▄╓    ▓▓▓▓µ  ,▓▓▓⌐       
        ▄▄,      ╙╝╝▀▀╙     Φ▓▓▓▓▓   ▐▓b       á▓╨   ╙▓▓▓▓  ╘▓▓▓▓▌ ▐▓▓▓▀        
      ]▓▓▓▓▓   ╓╓╓,           ▓▌    d▓▓▓▓▓▌▄▄╖   ▓µ      ╓▓▓    ╟▓▓▌▄▓▓▓▌         
      ╫▓╙▓▀╣▓ ▓▓▓▓▓▀  #▓▓▓   ╫▓▌   ║▓▓▀   ▓▓⌐ ▓▓▓▓φφφ▓▓▓╙      ╚▓▓▓▓▓▓▓         
      ╫▓   ▐▓ ▓▓▌`   ▓▓▀└╚▓ ]▓▓    ▓▓    ▄▓▌ ▐▓▓Γ    ,             ╙▓▓▀,,,,     
      ║▓  ,▓▌ ▓▓⌐╔▓ j▓▓   ╟⌐ ▓▓▄  ,╙╙    ╟▓▌  ╫▓▓▄φ▓▓▓▓        #▓▓▓  ▄▓▓▓▓▓Γ    
      ▐▓, ╣▀  ▓▓ ▓▓▓╖╙▓   ╟c ╙▓▓▓▓▓▓⌐    ╣▓¬    ╙▀▀▀▀╙         ▓▓▓▓  ▓▓`        
      ▐▓╝▓▓▄ ▐▓▌ ▓▓▓▓b└▌  ╙¬     └╠`                    ▄φµ    ╘▓▓▌  ▓▓▓        
      ║▌  ║▓▄╘▓▓ ▓▓║▓¬ ▓    ▓▄   ]▓▌ #▓▓▓▓ ╔▓▓    ╣▓  é▓▀▓▓ ▓▌ ]▓▌╙▓ ▐▓▓        
      ▓▌   ▓▓ ╫▌║▓ ╟▓ ]▓  , ╫▓⌐  ▐▓▌]▓▀╙╟▓Γ║▓▓   c▓▌ r▀   ▓ ▓Γ#▓▓▌ ▓▄▐▓⌐        
     ]▌    ╟▓ ║▓j▓  ▓L╘▓  ╫▌║▓   ▓▓Γ╟▓  ▐▓⌐║▓Γ  ▐▓▓  ▌   ]▓Φ▓ ▓▓▓  ╫▓▓▓▌        
      ▓▓▓  ╣▌ ▓▌]▓⌐╔▓Γ ▓  ▓▌▐▓▓▓▓▓▀]▓▓  ╝▀╔▓Γ   ║▓▓ ║Γ   ╣▐▓  ╟▓▓   ╙▓▓▌        
        ╟▓▓▀ ╣▓ ▓▓ ▓▓ ]▓ ╔▓Γ╟▓▓▀   ▓▓Γ   ]▓▓⌐   ]▓▓ ▓ ╓▓▓▌║▓  ▐▓▓▓   ╙╙         
            ▓▓▌▐▓▓▐▓▓▄j▓▓▓▓v▓▓▓▌  ▐▓▓    ╚▓▓▌   ▐▓▌║▓▓▀ ╞▒ ▓  j▓▓▓▓▄            
           ▓▓▓▌▓▓▓▓▓▓▓▄ `   ▓▓ ║▓╦ ╫▓   ▄ ╚▓▓▓▓▓▓▓]▓     ▓ ╫▓  ▓▓▓▓▀            
            ╙╝"▓▓▓▓▓▓▓▓▓    ▓▓  ▓▓▌ ▓⌐  ▓▓ ▓▓▌└║▓▌╫▌     ╣ ▓▓▓▓▄╙╙              
               ╫▓▓▓▓▓▓▓▓▓  ▓▓▓  ▐▓▓ ▓▓, ╓▓⌐▓▓  j▓⌐▓▓    ▐▓ ▓▓▓▓╜                
                 ╙╣▓▓▓▓▀ ▄▓▓▓▓   ▓▓⌐▓▓▓▓▓▌á▓▌  ▐▓▒▓▓▌  ]▓▌ ╙▀└                  
                        ║▓▓▓▓▌   ▓▓▓╗▄▄▄  ╣▀    ▓Γ└▓▓▌  └                       
                         ╙▀╝▀    ╫▓▓▓▓▓▓▓µ         ╙▀╙                          
                                  ╙╙▀▀▀▀▀                                       
*/

contract SeedNFT is Ownable, ERC721AWithRoyalties, Pausable, CantBeEvil(LicenseVersion.CBE_PR_HS) {
  string public _baseTokenURI;

  uint256 public _price;
  uint256 public _maxSupply;
  uint256 public _maxPerAddress;
  uint256 public _publicSaleTime;
  uint256 public _maxTxPerAddress;
  mapping(address => uint256) private _purchases;

  event Purchase(address indexed addr, uint256 indexed atPrice, uint256 indexed count);

  constructor(
    string memory name,
    string memory symbol,
    string memory baseTokenURI,
    uint256 price,
    uint256 maxSupply,
    uint256 maxPerAddress,
    uint256 publicSaleTime,
    uint256 maxTxPerAddress,
   // price - 0, maxSupply - 1, maxPerAddress - 2, publicSaleTime - 3, _maxTxPerAddress - 4
    address royaltyRecipient,
    uint256 royaltyAmount
  ) ERC721AWithRoyalties(name, symbol, maxSupply, royaltyRecipient, royaltyAmount) {
    _baseTokenURI = baseTokenURI;
    _price = price;
    _maxSupply = maxSupply;
    _maxPerAddress = maxPerAddress;
    _publicSaleTime = publicSaleTime;
    _maxTxPerAddress = maxTxPerAddress;
  }

  function setSaleInformation(
    uint256 publicSaleTime,
    uint256 maxPerAddress,
    uint256 price,
    uint256 maxTxPerAddress
  ) external onlyOwner {
    _publicSaleTime = publicSaleTime;
    _maxPerAddress = maxPerAddress;
    _price = price;
    _maxTxPerAddress = maxTxPerAddress;
  }

  function setBaseUri(
    string memory baseUri
  ) external onlyOwner {
    _baseTokenURI = baseUri;
  }

  function _baseURI() override internal view virtual returns (string memory) {
    return string(
      abi.encodePacked(
        _baseTokenURI
      )
    );
  }

  function mint(address to, uint256 count) external payable onlyOwner {
    ensureMintConditions(count);
    _safeMint(to, count);
  }

  function purchase(uint256 count) external payable whenNotPaused {
    require(msg.value == count * _price);
    ensurePublicMintConditions(msg.sender, count, _maxPerAddress);
    require(isPublicSaleActive(), "BASE_COLLECTION/CANNOT_MINT");

    _purchases[msg.sender] += count;
    _safeMint(msg.sender, count);
    uint256 totalPrice = count * _price;
    emit Purchase(msg.sender, totalPrice, count);
  }

  function ensureMintConditions(uint256 count) internal view {
    require(totalSupply() + count <= _maxSupply, "BASE_COLLECTION/EXCEEDS_MAX_SUPPLY");
  }

  function ensurePublicMintConditions(address to, uint256 count, uint256 maxPerAddress) internal view {
    ensureMintConditions(count);
    require((_maxTxPerAddress == 0) || (count <= _maxTxPerAddress), "BASE_COLLECTION/EXCEEDS_MAX_PER_TRANSACTION");
    uint256 totalMintFromAddress = _purchases[to] + count;
    require ((maxPerAddress == 0) || (totalMintFromAddress <= maxPerAddress), "BASE_COLLECTION/EXCEEDS_INDIVIDUAL_SUPPLY");

  }

  function isPublicSaleActive() public view returns (bool) {
    return (_publicSaleTime == 0 || _publicSaleTime < block.timestamp);
  }

  function isPreSaleActive() public pure returns (bool) {
    return false;
  }

  function MAX_TOTAL_MINT() public view returns (uint256) {
    return _maxSupply;
  }

  function PRICE() public view returns (uint256) {
    return _price;
  }

  function MAX_TOTAL_MINT_PER_ADDRESS() public view returns (uint256) {
    return _maxPerAddress;
  }

  function pause() external onlyOwner {
    _pause();
  }

  function unpause() external onlyOwner {
    _unpause();
  }
  function supportsInterface(bytes4 interfaceId) public view virtual override(CantBeEvil, ERC721AWithRoyalties) returns (bool) {
    return
        super.supportsInterface(interfaceId);
  }
}

File 2 of 17 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

import "./Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 3 of 17 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/Pausable.sol)

pragma solidity ^0.8.0;

import "./Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 of 17 : ERC721AWithRoyalties.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.9;

import "./Ownable.sol";
import "./ERC721A.sol";
import "./IERC2981Royalties.sol";

// @author rollauver.eth

contract ERC721AWithRoyalties is
  Ownable,
  ERC721A,
  IERC2981Royalties
{
  struct RoyaltyInfo {
    address recipient;
    uint24 amount;
  }
  RoyaltyInfo private _royalties;

  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_,
    address royaltyRecipient,
    uint256 royaltyValue
  ) ERC721A(name_, symbol_, maxBatchSize_) {
    _setRoyalties(royaltyRecipient, royaltyValue);
  }
  
  /// @inheritdoc ERC165
  function supportsInterface(bytes4 interfaceId)
    public
    view
    virtual
    override
    returns (bool)
  {
    return
      interfaceId == type(IERC2981Royalties).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /// @dev Sets token royalties
  /// @param recipient recipient of the royalties
  /// @param value percentage (using 2 decimals - 10000 = 100, 0 = 0)
  function _setRoyalties(address recipient, uint256 value) internal {
    require(value <= 10000, 'ERC2981Royalties: Too high');
    _royalties = RoyaltyInfo(recipient, uint24(value));
  }

  /// @inheritdoc IERC2981Royalties
  function royaltyInfo(uint256, uint256 value)
    external
    view
    override
    returns (address receiver, uint256 royaltyAmount)
  {
    RoyaltyInfo memory royalties = _royalties;
    receiver = royalties.recipient;
    royaltyAmount = (value * royalties.amount) / 10000;
  }

  function updateRoyalties(address recipient, uint256 value) external onlyOwner {
    _setRoyalties(recipient, value);
  }
}

File 5 of 17 : CantBeEvil.sol
// SPDX-License-Identifier: MIT
// a16z Contracts v0.0.1 (CantBeEvil.sol)
pragma solidity ^0.8.13;

import "../helpers/Strings.sol";
import "../helpers/ERC165.sol";
import "./ICantBeEvil.sol";

enum LicenseVersion {
    CBE_CC0,
    CBE_ECR,
    CBE_NECR,
    CBE_NECR_HS,
    CBE_PR,
    CBE_PR_HS
}

contract CantBeEvil is ERC165, ICantBeEvil {
    using Strings for uint;
    string internal constant _BASE_LICENSE_URI = "ar://_D9kN1WrNWbCq55BSAGRbTB4bS3v8QAPTYmBThSbX3A/";
    LicenseVersion public licenseVersion; // return string
    constructor(LicenseVersion _licenseVersion) {
        licenseVersion = _licenseVersion;
    }

    function getLicenseURI() public view returns (string memory) {
        return string.concat(_BASE_LICENSE_URI, uint(licenseVersion).toString());
    }

    function getLicenseName() public view returns (string memory) {
        return _getLicenseVersionKeyByValue(licenseVersion);
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165) returns (bool) {
        return
            interfaceId == type(ICantBeEvil).interfaceId ||
            super.supportsInterface(interfaceId);
    }

    function _getLicenseVersionKeyByValue(LicenseVersion _licenseVersion) internal pure returns (string memory) {
        require(uint8(_licenseVersion) <= 6);
        if (LicenseVersion.CBE_CC0 == _licenseVersion) return "CBE_CC0";
        if (LicenseVersion.CBE_ECR == _licenseVersion) return "CBE_ECR";
        if (LicenseVersion.CBE_NECR == _licenseVersion) return "CBE_NECR";
        if (LicenseVersion.CBE_NECR_HS == _licenseVersion) return "CBE_NECR_HS";
        if (LicenseVersion.CBE_PR == _licenseVersion) return "CBE_PR";
        else return "CBE_PR_HS";
    }
}

File 6 of 17 : Context.sol
// 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;
    }
}

File 7 of 17 : ERC721A.sol
// SPDX-License-Identifier: MIT
// Creators: locationtba.eth, 2pmflow.eth

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./IERC721Metadata.sol";
import "./IERC721Enumerable.sol";
import "./Address.sol";
import "./Context.sol";
import "./Strings.sol";
import "./ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata and Enumerable extension. Built to optimize for lower gas during batch mints.
 *
 * Assumes serials are sequentially minted starting at 0 (e.g. 0, 1, 2, 3..).
 *
 * Does not support burning tokens to address(0).
 */
contract ERC721A is
  Context,
  ERC165,
  IERC721,
  IERC721Metadata,
  IERC721Enumerable
{
  using Address for address;
  using Strings for uint256;

  struct TokenOwnership {
    address addr;
    uint64 startTimestamp;
  }

  struct AddressData {
    uint128 balance;
    uint128 numberMinted;
  }

  uint256 private currentIndex = 1;

  uint256 internal immutable maxBatchSize;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

  // Mapping from token ID to ownership details
  // An empty struct value does not necessarily mean the token is unowned. See ownershipOf implementation for details.
  mapping(uint256 => TokenOwnership) private _ownerships;

  // Mapping owner address to address data
  mapping(address => AddressData) private _addressData;

  // Mapping from token ID to approved address
  mapping(uint256 => address) private _tokenApprovals;

  // Mapping from owner to operator approvals
  mapping(address => mapping(address => bool)) private _operatorApprovals;

  /**
   * @dev
   * `maxBatchSize` refers to how much a minter can mint at a time.
   */
  constructor(
    string memory name_,
    string memory symbol_,
    uint256 maxBatchSize_
  ) {
    require(maxBatchSize_ > 0, "ERC721A: max batch size must be nonzero");
    _name = name_;
    _symbol = symbol_;
    maxBatchSize = maxBatchSize_;
  }

  /**
   * @dev See {IERC721Enumerable-totalSupply}.
   */
  function totalSupply() public view override returns (uint256) {
    return currentIndex - 1;
  }

  /**
   * @dev See {IERC721Enumerable-tokenByIndex}.
   */
  function tokenByIndex(uint256 index) public view override returns (uint256) {
    require(index < totalSupply(), "ERC721A: global index out of bounds");
    return index;
  }

  /**
   * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
   * This read function is O(totalSupply). If calling from a separate contract, be sure to test gas first.
   * It may also degrade with extremely large collection sizes (e.g >> 10000), test for your use case.
   */
  function tokenOfOwnerByIndex(address owner, uint256 index)
    public
    view
    override
    returns (uint256)
  {
    require(index < balanceOf(owner), "ERC721A: owner index out of bounds");
    uint256 numMintedSoFar = totalSupply();
    uint256 tokenIdsIdx = 0;
    address currOwnershipAddr = address(0);
    for (uint256 i = 0; i < numMintedSoFar; i++) {
      TokenOwnership memory ownership = _ownerships[i];
      if (ownership.addr != address(0)) {
        currOwnershipAddr = ownership.addr;
      }
      if (currOwnershipAddr == owner) {
        if (tokenIdsIdx == index) {
          return i;
        }
        tokenIdsIdx++;
      }
    }
    revert("ERC721A: unable to get token of owner by index");
  }

  /**
   * @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 ||
      interfaceId == type(IERC721Enumerable).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /**
   * @dev See {IERC721-balanceOf}.
   */
  function balanceOf(address owner) public view override returns (uint256) {
    require(owner != address(0), "ERC721A: balance query for the zero address");
    return uint256(_addressData[owner].balance);
  }

  function _numberMinted(address owner) internal view returns (uint256) {
    require(
      owner != address(0),
      "ERC721A: number minted query for the zero address"
    );
    return uint256(_addressData[owner].numberMinted);
  }

  function ownershipOf(uint256 tokenId)
    internal
    view
    returns (TokenOwnership memory)
  {
    require(_exists(tokenId), "ERC721A: owner query for nonexistent token");

    uint256 lowestTokenToCheck;
    if (tokenId >= maxBatchSize) {
      lowestTokenToCheck = tokenId - maxBatchSize + 1;
    }

    for (uint256 curr = tokenId; curr >= lowestTokenToCheck; curr--) {
      TokenOwnership memory ownership = _ownerships[curr];
      if (ownership.addr != address(0)) {
        return ownership;
      }
    }

    revert("ERC721A: unable to determine the owner of token");
  }

  /**
   * @dev See {IERC721-ownerOf}.
   */
  function ownerOf(uint256 tokenId) public view override returns (address) {
    return ownershipOf(tokenId).addr;
  }

  /**
   * @dev See {IERC721Metadata-name}.
   */
  function name() public view virtual override returns (string memory) {
    return _name;
  }

  /**
   * @dev See {IERC721Metadata-symbol}.
   */
  function symbol() public view virtual override returns (string memory) {
    return _symbol;
  }

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(uint256 tokenId)
    public
    view
    virtual
    override
    returns (string memory)
  {
    require(
      _exists(tokenId),
      "ERC721Metadata: URI query for nonexistent token"
    );

    string memory baseURI = _baseURI();
    return
      bytes(baseURI).length > 0
        ? string(abi.encodePacked(baseURI, tokenId.toString()))
        : "";
  }

  /**
   * @dev Base URI for computing {tokenURI}. If set, the resulting URI for each
   * token will be the concatenation of the `baseURI` and the `tokenId`. Empty
   * by default, can be overriden in child contracts.
   */
  function _baseURI() internal view virtual returns (string memory) {
    return "";
  }

  /**
   * @dev See {IERC721-approve}.
   */
  function approve(address to, uint256 tokenId) public override {
    address owner = ERC721A.ownerOf(tokenId);
    require(to != owner, "ERC721A: approval to current owner");

    require(
      _msgSender() == owner || isApprovedForAll(owner, _msgSender()),
      "ERC721A: approve caller is not owner nor approved for all"
    );

    _approve(to, tokenId, owner);
  }

  /**
   * @dev See {IERC721-getApproved}.
   */
  function getApproved(uint256 tokenId) public view override returns (address) {
    require(_exists(tokenId), "ERC721A: approved query for nonexistent token");

    return _tokenApprovals[tokenId];
  }

  /**
   * @dev See {IERC721-setApprovalForAll}.
   */
  function setApprovalForAll(address operator, bool approved) public override {
    require(operator != _msgSender(), "ERC721A: approve to caller");

    _operatorApprovals[_msgSender()][operator] = approved;
    emit ApprovalForAll(_msgSender(), operator, approved);
  }

  /**
   * @dev See {IERC721-isApprovedForAll}.
   */
  function isApprovedForAll(address owner, address operator)
    public
    view
    virtual
    override
    returns (bool)
  {
    return _operatorApprovals[owner][operator];
  }

  /**
   * @dev See {IERC721-transferFrom}.
   */
  function transferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public override {
    _transfer(from, to, tokenId);
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public override {
    safeTransferFrom(from, to, tokenId, "");
  }

  /**
   * @dev See {IERC721-safeTransferFrom}.
   */
  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory _data
  ) public override {
    _transfer(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, _data),
      "ERC721A: 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`),
   */
  function _exists(uint256 tokenId) internal view returns (bool) {
    return tokenId < currentIndex;
  }

  function _safeMint(address to, uint256 quantity) internal {
    _safeMint(to, quantity, "");
  }

  /**
   * @dev Mints `quantity` tokens and transfers them to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `quantity` cannot be larger than the max batch size.
   *
   * Emits a {Transfer} event.
   */
  function _safeMint(
    address to,
    uint256 quantity,
    bytes memory _data
  ) internal {
    uint256 startTokenId = currentIndex;
    require(to != address(0), "ERC721A: mint to the zero address");
    // We know if the first token in the batch doesn't exist, the other ones don't as well, because of serial ordering.
    require(!_exists(startTokenId), "ERC721A: token already minted");
    require(quantity <= maxBatchSize, "ERC721A: quantity to mint too high");

    _beforeTokenTransfers(address(0), to, startTokenId, quantity);

    AddressData memory addressData = _addressData[to];
    _addressData[to] = AddressData(
      addressData.balance + uint128(quantity),
      addressData.numberMinted + uint128(quantity)
    );
    _ownerships[startTokenId] = TokenOwnership(to, uint64(block.timestamp));

    uint256 updatedIndex = startTokenId;

    for (uint256 i = 0; i < quantity; i++) {
      emit Transfer(address(0), to, updatedIndex);
      require(
        _checkOnERC721Received(address(0), to, updatedIndex, _data),
        "ERC721A: transfer to non ERC721Receiver implementer"
      );
      updatedIndex++;
    }

    currentIndex = updatedIndex;
    _afterTokenTransfers(address(0), to, startTokenId, quantity);
  }

  /**
   * @dev Transfers `tokenId` from `from` to `to`.
   *
   * Requirements:
   *
   * - `to` cannot be the zero address.
   * - `tokenId` token must be owned by `from`.
   *
   * Emits a {Transfer} event.
   */
  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) private {
    TokenOwnership memory prevOwnership = ownershipOf(tokenId);

    bool isApprovedOrOwner = (_msgSender() == prevOwnership.addr ||
      getApproved(tokenId) == _msgSender() ||
      isApprovedForAll(prevOwnership.addr, _msgSender()));

    require(
      isApprovedOrOwner,
      "ERC721A: transfer caller is not owner nor approved"
    );

    require(
      prevOwnership.addr == from,
      "ERC721A: transfer from incorrect owner"
    );
    require(to != address(0), "ERC721A: transfer to the zero address");

    _beforeTokenTransfers(from, to, tokenId, 1);

    // Clear approvals from the previous owner
    _approve(address(0), tokenId, prevOwnership.addr);

    _addressData[from].balance -= 1;
    _addressData[to].balance += 1;
    _ownerships[tokenId] = TokenOwnership(to, uint64(block.timestamp));

    // If the ownership slot of tokenId+1 is not explicitly set, that means the transfer initiator owns it.
    // Set the slot of tokenId+1 explicitly in storage to maintain correctness for ownerOf(tokenId+1) calls.
    uint256 nextTokenId = tokenId + 1;
    if (_ownerships[nextTokenId].addr == address(0)) {
      if (_exists(nextTokenId)) {
        _ownerships[nextTokenId] = TokenOwnership(
          prevOwnership.addr,
          prevOwnership.startTimestamp
        );
      }
    }

    emit Transfer(from, to, tokenId);
    _afterTokenTransfers(from, to, tokenId, 1);
  }

  /**
   * @dev Approve `to` to operate on `tokenId`
   *
   * Emits a {Approval} event.
   */
  function _approve(
    address to,
    uint256 tokenId,
    address owner
  ) private {
    _tokenApprovals[tokenId] = to;
    emit Approval(owner, to, tokenId);
  }

  uint256 public nextOwnerToExplicitlySet = 0;

  /**
   * @dev Explicitly set `owners` to eliminate loops in future calls of ownerOf().
   */
  function _setOwnersExplicit(uint256 quantity) internal {
    uint256 oldNextOwnerToSet = nextOwnerToExplicitlySet;
    require(quantity > 0, "quantity must be nonzero");
    uint256 endIndex = oldNextOwnerToSet + quantity - 1;
    if (endIndex > currentIndex - 1) {
      endIndex = currentIndex - 1;
    }
    // We know if the last one in the group exists, all in the group exist, due to serial ordering.
    require(_exists(endIndex), "not enough minted yet for this cleanup");
    for (uint256 i = oldNextOwnerToSet; i <= endIndex; i++) {
      if (_ownerships[i].addr == address(0)) {
        TokenOwnership memory ownership = ownershipOf(i);
        _ownerships[i] = TokenOwnership(
          ownership.addr,
          ownership.startTimestamp
        );
      }
    }
    nextOwnerToExplicitlySet = endIndex + 1;
  }

  /**
   * @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(to).onERC721Received.selector;
      } catch (bytes memory reason) {
        if (reason.length == 0) {
          revert("ERC721A: transfer to non ERC721Receiver implementer");
        } else {
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  /**
   * @dev Hook that is called before a set of serially-ordered token ids are about to be transferred. This includes minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
   * transferred to `to`.
   * - When `from` is zero, `tokenId` will be minted for `to`.
   */
  function _beforeTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}

  /**
   * @dev Hook that is called after a set of serially-ordered token ids have been transferred. This includes
   * minting.
   *
   * startTokenId - the first token id to be transferred
   * quantity - the amount to be transferred
   *
   * Calling conditions:
   *
   * - when `from` and `to` are both non-zero.
   * - `from` and `to` are never both zero.
   */
  function _afterTokenTransfers(
    address from,
    address to,
    uint256 startTokenId,
    uint256 quantity
  ) internal virtual {}
}

File 8 of 17 : IERC2981Royalties.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// @title IERC2981Royalties
/// @dev Interface for the ERC2981 - Token Royalty standard
interface IERC2981Royalties {
  /// @notice Called with the sale price to determine how much royalty
  //          is owed and to whom.
  /// @param _tokenId - the NFT asset queried for royalty information
  /// @param _value - the sale price of the NFT asset specified by _tokenId
  /// @return _receiver - address of who should be sent the royalty payment
  /// @return _royaltyAmount - the royalty payment amount for value sale price
  function royaltyInfo(uint256 _tokenId, uint256 _value)
    external
    view
    returns (address _receiver, uint256 _royaltyAmount);
}

File 9 of 17 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Strings.sol)

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

File 10 of 17 : ERC165.sol
// 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;
    }
}

File 11 of 17 : ICantBeEvil.sol
// SPDX-License-Identifier: MIT
// a16z Contracts v0.0.1 (ICantBeEvil.sol)
pragma solidity ^0.8.13;

interface ICantBeEvil {
    function getLicenseURI() external view returns (string memory);
    function getLicenseName() external view returns (string memory);
}

File 12 of 17 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;
}

File 13 of 17 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

/**
 * @title ERC721 token receiver interface
 * @dev Interface for any contract that wants to support safeTransfers
 * from ERC721 asset contracts.
 */
interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 14 of 17 : IERC721Metadata.sol
// 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);
}

File 15 of 17 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 16 of 17 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 17 of 17 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

Settings
{
  "remappings": [
    "ds-test/=lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "metadata": {
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "london",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"string","name":"baseTokenURI","type":"string"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxSupply","type":"uint256"},{"internalType":"uint256","name":"maxPerAddress","type":"uint256"},{"internalType":"uint256","name":"publicSaleTime","type":"uint256"},{"internalType":"uint256","name":"maxTxPerAddress","type":"uint256"},{"internalType":"address","name":"royaltyRecipient","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"addr","type":"address"},{"indexed":true,"internalType":"uint256","name":"atPrice","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"count","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":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_TOTAL_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_TOTAL_MINT_PER_ADDRESS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_maxTxPerAddress","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_price","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_publicSaleTime","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":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLicenseName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getLicenseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"isPreSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"isPublicSaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"licenseVersion","outputs":[{"internalType":"enum LicenseVersion","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"count","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nextOwnerToExplicitlySet","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"count","type":"uint256"}],"name":"purchase","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"baseUri","type":"string"}],"name":"setBaseUri","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"publicSaleTime","type":"uint256"},{"internalType":"uint256","name":"maxPerAddress","type":"uint256"},{"internalType":"uint256","name":"price","type":"uint256"},{"internalType":"uint256","name":"maxTxPerAddress","type":"uint256"}],"name":"setSaleInformation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"updateRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a06040526001805560006008553480156200001a57600080fd5b50604051620030d6380380620030d68339810160408190526200003d9162000321565b60058a8a888585848484620000523362000151565b60008111620000b85760405162461bcd60e51b815260206004820152602760248201527f455243373231413a206d61782062617463682073697a65206d757374206265206044820152666e6f6e7a65726f60c81b60648201526084015b60405180910390fd5b6002620000c6848262000490565b506003620000d5838262000490565b5060805250620000e890508282620001a1565b5050600a805460ff198116825585945090925061ffff191690506101008360058111156200011a576200011a6200055c565b0217905550600b90506200012f898262000490565b505050600c94909455600d92909255600e55600f556010555062000572915050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b612710811115620001f55760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f20686967680000000000006044820152606401620000af565b604080518082019091526001600160a01b0390921680835262ffffff909116602090920182905260098054600160a01b9093026001600160b81b0319909316909117919091179055565b634e487b7160e01b600052604160045260246000fd5b600082601f8301126200026757600080fd5b81516001600160401b03808211156200028457620002846200023f565b604051601f8301601f19908116603f01168101908282118183101715620002af57620002af6200023f565b81604052838152602092508683858801011115620002cc57600080fd5b600091505b83821015620002f05785820183015181830184015290820190620002d1565b600093810190920192909252949350505050565b80516001600160a01b03811681146200031c57600080fd5b919050565b6000806000806000806000806000806101408b8d0312156200034257600080fd5b8a516001600160401b03808211156200035a57600080fd5b620003688e838f0162000255565b9b5060208d01519150808211156200037f57600080fd5b6200038d8e838f0162000255565b9a5060408d0151915080821115620003a457600080fd5b50620003b38d828e0162000255565b98505060608b0151965060808b0151955060a08b0151945060c08b0151935060e08b01519250620003e86101008c0162000304565b91506101208b015190509295989b9194979a5092959850565b600181811c908216806200041657607f821691505b6020821081036200043757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200048b57600081815260208120601f850160051c81016020861015620004665750805b601f850160051c820191505b81811015620004875782815560010162000472565b5050505b505050565b81516001600160401b03811115620004ac57620004ac6200023f565b620004c481620004bd845462000401565b846200043d565b602080601f831160018114620004fc5760008415620004e35750858301515b600019600386901b1c1916600185901b17855562000487565b600085815260208120601f198616915b828110156200052d578886015182559484019460019091019084016200050c565b50858210156200054c5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b634e487b7160e01b600052602160045260246000fd5b608051612b3a6200059c600039600081816118b3015281816118dd01526120c40152612b3a6000f3fe60806040526004361061025c5760003560e01c80636c2f5acd11610144578063b85ef036116100b6578063cfc86f7b1161007a578063cfc86f7b146106a7578063d7224ba0146106bc578063e2d5ee2d146106d2578063e985e9c5146106e8578063efef39a114610731578063f2fde38b1461074457600080fd5b8063b85ef03614610627578063b88d4fde1461063d578063c7db28931461065d578063c87b56dd14610672578063cf9e8e691461069257600080fd5b80638da5cb5b116101085780638da5cb5b1461058b57806395d89b41146105a95780639d044ed3146105be578063a0bcfc7f146105d2578063a22cb465146105f2578063a341793b1461061257600080fd5b80636c2f5acd1461050c57806370a082311461052c578063715018a61461054c5780638456cb59146105615780638d859f3e1461057657600080fd5b80632a55205a116101dd5780634f6ccce7116101a15780634f6ccce71461045d57806350a5292f1461047d5780635c975abb146104a95780636352211e146104c157806366cfb1f3146104e1578063696fa41e146104f657600080fd5b80632a55205a146103b65780632f745c59146103f55780633f4ba83a1461041557806340c10f191461042a57806342842e0e1461043d57600080fd5b80631e84c413116102245780631e84c4131461033557806322f4596f1461034a578063235b6ea11461036057806323b872dd1461037657806326c240611461039657600080fd5b806301ffc9a71461026157806306fdde0314610296578063081812fc146102b8578063095ea7b3146102f057806318160ddd14610312575b600080fd5b34801561026d57600080fd5b5061028161027c366004612363565b610764565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab610775565b60405161028d91906123d0565b3480156102c457600080fd5b506102d86102d33660046123e3565b610807565b6040516001600160a01b03909116815260200161028d565b3480156102fc57600080fd5b5061031061030b366004612413565b610897565b005b34801561031e57600080fd5b506103276109ae565b60405190815260200161028d565b34801561034157600080fd5b506102816109c3565b34801561035657600080fd5b50610327600d5481565b34801561036c57600080fd5b50610327600c5481565b34801561038257600080fd5b5061031061039136600461243d565b6109db565b3480156103a257600080fd5b506103106103b1366004612479565b6109e6565b3480156103c257600080fd5b506103d66103d13660046124ab565b610a24565b604080516001600160a01b03909316835260208301919091520161028d565b34801561040157600080fd5b50610327610410366004612413565b610a79565b34801561042157600080fd5b50610310610bef565b610310610438366004612413565b610c23565b34801561044957600080fd5b5061031061045836600461243d565b610c64565b34801561046957600080fd5b506103276104783660046123e3565b610c7f565b34801561048957600080fd5b50600a5461049c90610100900460ff1681565b60405161028d91906124e3565b3480156104b557600080fd5b50600a5460ff16610281565b3480156104cd57600080fd5b506102d86104dc3660046123e3565b610ce7565b3480156104ed57600080fd5b50600e54610327565b34801561050257600080fd5b5061032760105481565b34801561051857600080fd5b50610310610527366004612413565b610cf9565b34801561053857600080fd5b5061032761054736600461250b565b610d2d565b34801561055857600080fd5b50610310610dbe565b34801561056d57600080fd5b50610310610df2565b34801561058257600080fd5b50600c54610327565b34801561059757600080fd5b506000546001600160a01b03166102d8565b3480156105b557600080fd5b506102ab610e24565b3480156105ca57600080fd5b506000610281565b3480156105de57600080fd5b506103106105ed3660046125b2565b610e33565b3480156105fe57600080fd5b5061031061060d3660046125fb565b610e69565b34801561061e57600080fd5b506102ab610f2d565b34801561063357600080fd5b50610327600f5481565b34801561064957600080fd5b50610310610658366004612637565b610f44565b34801561066957600080fd5b506102ab610f7d565b34801561067e57600080fd5b506102ab61068d3660046123e3565b610fe2565b34801561069e57600080fd5b50600d54610327565b3480156106b357600080fd5b506102ab6110af565b3480156106c857600080fd5b5061032760085481565b3480156106de57600080fd5b50610327600e5481565b3480156106f457600080fd5b506102816107033660046126b3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61031061073f3660046123e3565b61113d565b34801561075057600080fd5b5061031061075f36600461250b565b611271565b600061076f8261130c565b92915050565b606060028054610784906126e6565b80601f01602080910402602001604051908101604052809291908181526020018280546107b0906126e6565b80156107fd5780601f106107d2576101008083540402835291602001916107fd565b820191906000526020600020905b8154815290600101906020018083116107e057829003601f168201915b5050505050905090565b6000610814826001541190565b61087b5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108a282610ce7565b9050806001600160a01b0316836001600160a01b0316036109105760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610872565b336001600160a01b038216148061092c575061092c8133610703565b61099e5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610872565b6109a9838383611331565b505050565b6000600180546109be9190612736565b905090565b6000600f54600014806109be575042600f5410905090565b6109a983838361138d565b6000546001600160a01b03163314610a105760405162461bcd60e51b815260040161087290612749565b600f93909355600e91909155600c55601055565b604080518082019091526009546001600160a01b038116808352600160a01b90910462ffffff1660208301819052909160009161271090610a65908661277e565b610a6f91906127b3565b9150509250929050565b6000610a8483610d2d565b8210610add5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610872565b6000610ae76109ae565b905060008060005b83811015610b8f576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610b4257805192505b876001600160a01b0316836001600160a01b031603610b7c57868403610b6e5750935061076f92505050565b83610b78816127c7565b9450505b5080610b87816127c7565b915050610aef565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610872565b6000546001600160a01b03163314610c195760405162461bcd60e51b815260040161087290612749565b610c21611715565b565b6000546001600160a01b03163314610c4d5760405162461bcd60e51b815260040161087290612749565b610c56816117a8565b610c608282611817565b5050565b6109a983838360405180602001604052806000815250610f44565b6000610c896109ae565b8210610ce35760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610872565b5090565b6000610cf282611831565b5192915050565b6000546001600160a01b03163314610d235760405162461bcd60e51b815260040161087290612749565b610c6082826119db565b60006001600160a01b038216610d995760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610872565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b6000546001600160a01b03163314610de85760405162461bcd60e51b815260040161087290612749565b610c216000611a77565b6000546001600160a01b03163314610e1c5760405162461bcd60e51b815260040161087290612749565b610c21611ac7565b606060038054610784906126e6565b6000546001600160a01b03163314610e5d5760405162461bcd60e51b815260040161087290612749565b600b610c608282612826565b336001600160a01b03831603610ec15760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610872565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546060906109be90610100900460ff16611b42565b610f4f84848461138d565b610f5b84848484611cc0565b610f775760405162461bcd60e51b8152600401610872906128e6565b50505050565b6060604051806060016040528060318152602001612ad460319139600a54610fbd90610100900460ff166005811115610fb857610fb86124cd565b611dc2565b604051602001610fce929190612939565b604051602081830303815290604052905090565b6060610fef826001541190565b6110535760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610872565b600061105d611ec3565b9050600081511161107d57604051806020016040528060008152506110a8565b8061108784611dc2565b604051602001611098929190612939565b6040516020818303038152906040525b9392505050565b600b80546110bc906126e6565b80601f01602080910402602001604051908101604052809291908181526020018280546110e8906126e6565b80156111355780601f1061110a57610100808354040283529160200191611135565b820191906000526020600020905b81548152906001019060200180831161111857829003601f168201915b505050505081565b600a5460ff16156111835760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610872565b600c54611190908261277e565b341461119b57600080fd5b6111a83382600e54611ed7565b6111b06109c3565b6111fc5760405162461bcd60e51b815260206004820152601b60248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e5400000000006044820152606401610872565b336000908152601160205260408120805483929061121b908490612968565b9091555061122b90503382611817565b6000600c548261123b919061277e565b6040519091508290829033907f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c90600090a45050565b6000546001600160a01b0316331461129b5760405162461bcd60e51b815260040161087290612749565b6001600160a01b0381166113005760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610872565b61130981611a77565b50565b60006001600160e01b03198216630c934a3560e31b148061076f575061076f82611fe2565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061139882611831565b80519091506000906001600160a01b0316336001600160a01b031614806113cf5750336113c484610807565b6001600160a01b0316145b806113e1575081516113e19033610703565b90508061144b5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610872565b846001600160a01b031682600001516001600160a01b0316146114bf5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610872565b6001600160a01b0384166115235760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610872565b6115336000848460000151611331565b6001600160a01b03851660009081526005602052604081208054600192906115659084906001600160801b031661297b565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260056020526040812080546001945090926115b1918591166129a2565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055611639846001612968565b6000818152600460205260409020549091506001600160a01b03166116cb57611663816001541190565b156116cb5760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600a5460ff1661175e5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610872565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600d54816117b46109ae565b6117be9190612968565b11156113095760405162461bcd60e51b815260206004820152602260248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f535550506044820152614c5960f01b6064820152608401610872565b610c60828260405180602001604052806000815250612007565b6040805180820190915260008082526020820152611850826001541190565b6118af5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610872565b60007f00000000000000000000000000000000000000000000000000000000000000008310611910576119027f000000000000000000000000000000000000000000000000000000000000000084612736565b61190d906001612968565b90505b825b81811061197a576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561196757949350505050565b5080611972816129c2565b915050611912565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610872565b612710811115611a2d5760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f20686967680000000000006044820152606401610872565b604080518082019091526001600160a01b0390921680835262ffffff909116602090920182905260098054600160a01b9093026001600160b81b0319909316909117919091179055565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600a5460ff1615611b0d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610872565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861178b3390565b60606006826005811115611b5857611b586124cd565b60ff161115611b6657600080fd5b816005811115611b7857611b786124cd565b600003611ba257505060408051808201909152600781526604342455f4343360cc1b602082015290565b816005811115611bb457611bb46124cd565b600103611bde57505060408051808201909152600781526621a122afa2a1a960c91b602082015290565b816005811115611bf057611bf06124cd565b600203611c1b57505060408051808201909152600881526721a122afa722a1a960c11b602082015290565b816005811115611c2d57611c2d6124cd565b600303611c5b57505060408051808201909152600b81526a4342455f4e4543525f485360a81b602082015290565b816005811115611c6d57611c6d6124cd565b600403611c9657505060408051808201909152600681526521a122afa82960d11b602082015290565b50506040805180820190915260098152684342455f50525f485360b81b602082015290565b919050565b60006001600160a01b0384163b15611db657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d049033908990889088906004016129d9565b6020604051808303816000875af1925050508015611d3f575060408051601f3d908101601f19168201909252611d3c91810190612a16565b60015b611d9c573d808015611d6d576040519150601f19603f3d011682016040523d82523d6000602084013e611d72565b606091505b508051600003611d945760405162461bcd60e51b8152600401610872906128e6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611dba565b5060015b949350505050565b606081600003611de95750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e135780611dfd816127c7565b9150611e0c9050600a836127b3565b9150611ded565b60008167ffffffffffffffff811115611e2e57611e2e612526565b6040519080825280601f01601f191660200182016040528015611e58576020820181803683370190505b5090505b8415611dba57611e6d600183612736565b9150611e7a600a86612a33565b611e85906030612968565b60f81b818381518110611e9a57611e9a612a47565b60200101906001600160f81b031916908160001a905350611ebc600a866127b3565b9450611e5c565b6060600b604051602001610fce9190612a5d565b611ee0826117a8565b6010541580611ef157506010548211155b611f515760405162461bcd60e51b815260206004820152602b60248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5045525f60448201526a2a2920a729a0a1aa24a7a760a91b6064820152608401610872565b6001600160a01b038316600090815260116020526040812054611f75908490612968565b9050811580611f845750818111155b610f775760405162461bcd60e51b815260206004820152602960248201527f424153455f434f4c4c454354494f4e2f455843454544535f494e444956494455604482015268414c5f535550504c5960b81b6064820152608401610872565b60006001600160e01b0319821663152a902d60e11b148061076f575061076f826122e2565b6001546001600160a01b03841661206a5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610872565b612075816001541190565b156120c25760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610872565b7f000000000000000000000000000000000000000000000000000000000000000083111561213d5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610872565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906121999087906129a2565b6001600160801b031681526020018583602001516121b791906129a2565b6001600160801b039081169091526001600160a01b0380881660008181526005602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156122d75760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461229b6000888488611cc0565b6122b75760405162461bcd60e51b8152600401610872906128e6565b816122c1816127c7565b92505080806122cf906127c7565b91505061224e565b50600181905561170d565b60006001600160e01b031982166380ac58cd60e01b148061231357506001600160e01b03198216635b5e139f60e01b145b8061232e57506001600160e01b0319821663780e9d6360e01b145b8061076f57506301ffc9a760e01b6001600160e01b031983161461076f565b6001600160e01b03198116811461130957600080fd5b60006020828403121561237557600080fd5b81356110a88161234d565b60005b8381101561239b578181015183820152602001612383565b50506000910152565b600081518084526123bc816020860160208601612380565b601f01601f19169290920160200192915050565b6020815260006110a860208301846123a4565b6000602082840312156123f557600080fd5b5035919050565b80356001600160a01b0381168114611cbb57600080fd5b6000806040838503121561242657600080fd5b61242f836123fc565b946020939093013593505050565b60008060006060848603121561245257600080fd5b61245b846123fc565b9250612469602085016123fc565b9150604084013590509250925092565b6000806000806080858703121561248f57600080fd5b5050823594602084013594506040840135936060013592509050565b600080604083850312156124be57600080fd5b50508035926020909101359150565b634e487b7160e01b600052602160045260246000fd5b602081016006831061250557634e487b7160e01b600052602160045260246000fd5b91905290565b60006020828403121561251d57600080fd5b6110a8826123fc565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561255757612557612526565b604051601f8501601f19908116603f0116810190828211818310171561257f5761257f612526565b8160405280935085815286868601111561259857600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156125c457600080fd5b813567ffffffffffffffff8111156125db57600080fd5b8201601f810184136125ec57600080fd5b611dba8482356020840161253c565b6000806040838503121561260e57600080fd5b612617836123fc565b91506020830135801515811461262c57600080fd5b809150509250929050565b6000806000806080858703121561264d57600080fd5b612656856123fc565b9350612664602086016123fc565b925060408501359150606085013567ffffffffffffffff81111561268757600080fd5b8501601f8101871361269857600080fd5b6126a78782356020840161253c565b91505092959194509250565b600080604083850312156126c657600080fd5b6126cf836123fc565b91506126dd602084016123fc565b90509250929050565b600181811c908216806126fa57607f821691505b60208210810361271a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561076f5761076f612720565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600081600019048311821515161561279857612798612720565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826127c2576127c261279d565b500490565b6000600182016127d9576127d9612720565b5060010190565b601f8211156109a957600081815260208120601f850160051c810160208610156128075750805b601f850160051c820191505b8181101561170d57828155600101612813565b815167ffffffffffffffff81111561284057612840612526565b6128548161284e84546126e6565b846127e0565b602080601f83116001811461288957600084156128715750858301515b600019600386901b1c1916600185901b17855561170d565b600085815260208120601f198616915b828110156128b857888601518255948401946001909101908401612899565b50858210156128d65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000835161294b818460208801612380565b83519083019061295f818360208801612380565b01949350505050565b8082018082111561076f5761076f612720565b6001600160801b0382811682821603908082111561299b5761299b612720565b5092915050565b6001600160801b0381811683821601908082111561299b5761299b612720565b6000816129d1576129d1612720565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a0c908301846123a4565b9695505050505050565b600060208284031215612a2857600080fd5b81516110a88161234d565b600082612a4257612a4261279d565b500690565b634e487b7160e01b600052603260045260246000fd5b6000808354612a6b816126e6565b60018281168015612a835760018114612a9857612ac7565b60ff1984168752821515830287019450612ac7565b8760005260208060002060005b85811015612abe5781548a820152908401908201612aa5565b50505082870194505b5092969550505050505056fe61723a2f2f5f44396b4e3157724e576243713535425341475262544234625333763851415054596d42546853625833412fa26469706673582212203b89c8a2030e9aa16aac0f4c2967eaf9f3c7a4b87c7b93ec75dc3cf86ebbd4dc64736f6c634300081000330000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007e6000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000002000000000000000000000000ce06f9ca2d489b720a078cd68885ebc3097a327600000000000000000000000000000000000000000000000000000000000002bc000000000000000000000000000000000000000000000000000000000000000c53454544202d2057415445520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000357545200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a39674e5074456b475332784c6d66593745476b416f4552533767385154564e704137416f6d393769596d442f00000000000000000000

Deployed Bytecode

0x60806040526004361061025c5760003560e01c80636c2f5acd11610144578063b85ef036116100b6578063cfc86f7b1161007a578063cfc86f7b146106a7578063d7224ba0146106bc578063e2d5ee2d146106d2578063e985e9c5146106e8578063efef39a114610731578063f2fde38b1461074457600080fd5b8063b85ef03614610627578063b88d4fde1461063d578063c7db28931461065d578063c87b56dd14610672578063cf9e8e691461069257600080fd5b80638da5cb5b116101085780638da5cb5b1461058b57806395d89b41146105a95780639d044ed3146105be578063a0bcfc7f146105d2578063a22cb465146105f2578063a341793b1461061257600080fd5b80636c2f5acd1461050c57806370a082311461052c578063715018a61461054c5780638456cb59146105615780638d859f3e1461057657600080fd5b80632a55205a116101dd5780634f6ccce7116101a15780634f6ccce71461045d57806350a5292f1461047d5780635c975abb146104a95780636352211e146104c157806366cfb1f3146104e1578063696fa41e146104f657600080fd5b80632a55205a146103b65780632f745c59146103f55780633f4ba83a1461041557806340c10f191461042a57806342842e0e1461043d57600080fd5b80631e84c413116102245780631e84c4131461033557806322f4596f1461034a578063235b6ea11461036057806323b872dd1461037657806326c240611461039657600080fd5b806301ffc9a71461026157806306fdde0314610296578063081812fc146102b8578063095ea7b3146102f057806318160ddd14610312575b600080fd5b34801561026d57600080fd5b5061028161027c366004612363565b610764565b60405190151581526020015b60405180910390f35b3480156102a257600080fd5b506102ab610775565b60405161028d91906123d0565b3480156102c457600080fd5b506102d86102d33660046123e3565b610807565b6040516001600160a01b03909116815260200161028d565b3480156102fc57600080fd5b5061031061030b366004612413565b610897565b005b34801561031e57600080fd5b506103276109ae565b60405190815260200161028d565b34801561034157600080fd5b506102816109c3565b34801561035657600080fd5b50610327600d5481565b34801561036c57600080fd5b50610327600c5481565b34801561038257600080fd5b5061031061039136600461243d565b6109db565b3480156103a257600080fd5b506103106103b1366004612479565b6109e6565b3480156103c257600080fd5b506103d66103d13660046124ab565b610a24565b604080516001600160a01b03909316835260208301919091520161028d565b34801561040157600080fd5b50610327610410366004612413565b610a79565b34801561042157600080fd5b50610310610bef565b610310610438366004612413565b610c23565b34801561044957600080fd5b5061031061045836600461243d565b610c64565b34801561046957600080fd5b506103276104783660046123e3565b610c7f565b34801561048957600080fd5b50600a5461049c90610100900460ff1681565b60405161028d91906124e3565b3480156104b557600080fd5b50600a5460ff16610281565b3480156104cd57600080fd5b506102d86104dc3660046123e3565b610ce7565b3480156104ed57600080fd5b50600e54610327565b34801561050257600080fd5b5061032760105481565b34801561051857600080fd5b50610310610527366004612413565b610cf9565b34801561053857600080fd5b5061032761054736600461250b565b610d2d565b34801561055857600080fd5b50610310610dbe565b34801561056d57600080fd5b50610310610df2565b34801561058257600080fd5b50600c54610327565b34801561059757600080fd5b506000546001600160a01b03166102d8565b3480156105b557600080fd5b506102ab610e24565b3480156105ca57600080fd5b506000610281565b3480156105de57600080fd5b506103106105ed3660046125b2565b610e33565b3480156105fe57600080fd5b5061031061060d3660046125fb565b610e69565b34801561061e57600080fd5b506102ab610f2d565b34801561063357600080fd5b50610327600f5481565b34801561064957600080fd5b50610310610658366004612637565b610f44565b34801561066957600080fd5b506102ab610f7d565b34801561067e57600080fd5b506102ab61068d3660046123e3565b610fe2565b34801561069e57600080fd5b50600d54610327565b3480156106b357600080fd5b506102ab6110af565b3480156106c857600080fd5b5061032760085481565b3480156106de57600080fd5b50610327600e5481565b3480156106f457600080fd5b506102816107033660046126b3565b6001600160a01b03918216600090815260076020908152604080832093909416825291909152205460ff1690565b61031061073f3660046123e3565b61113d565b34801561075057600080fd5b5061031061075f36600461250b565b611271565b600061076f8261130c565b92915050565b606060028054610784906126e6565b80601f01602080910402602001604051908101604052809291908181526020018280546107b0906126e6565b80156107fd5780601f106107d2576101008083540402835291602001916107fd565b820191906000526020600020905b8154815290600101906020018083116107e057829003601f168201915b5050505050905090565b6000610814826001541190565b61087b5760405162461bcd60e51b815260206004820152602d60248201527f455243373231413a20617070726f76656420717565727920666f72206e6f6e6560448201526c3c34b9ba32b73a103a37b5b2b760991b60648201526084015b60405180910390fd5b506000908152600660205260409020546001600160a01b031690565b60006108a282610ce7565b9050806001600160a01b0316836001600160a01b0316036109105760405162461bcd60e51b815260206004820152602260248201527f455243373231413a20617070726f76616c20746f2063757272656e74206f776e60448201526132b960f11b6064820152608401610872565b336001600160a01b038216148061092c575061092c8133610703565b61099e5760405162461bcd60e51b815260206004820152603960248201527f455243373231413a20617070726f76652063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f76656420666f7220616c6c000000000000006064820152608401610872565b6109a9838383611331565b505050565b6000600180546109be9190612736565b905090565b6000600f54600014806109be575042600f5410905090565b6109a983838361138d565b6000546001600160a01b03163314610a105760405162461bcd60e51b815260040161087290612749565b600f93909355600e91909155600c55601055565b604080518082019091526009546001600160a01b038116808352600160a01b90910462ffffff1660208301819052909160009161271090610a65908661277e565b610a6f91906127b3565b9150509250929050565b6000610a8483610d2d565b8210610add5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a206f776e657220696e646578206f7574206f6620626f756e604482015261647360f01b6064820152608401610872565b6000610ae76109ae565b905060008060005b83811015610b8f576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff169183019190915215610b4257805192505b876001600160a01b0316836001600160a01b031603610b7c57868403610b6e5750935061076f92505050565b83610b78816127c7565b9450505b5080610b87816127c7565b915050610aef565b5060405162461bcd60e51b815260206004820152602e60248201527f455243373231413a20756e61626c6520746f2067657420746f6b656e206f662060448201526d0deeedccae440c4f240d2dcc8caf60931b6064820152608401610872565b6000546001600160a01b03163314610c195760405162461bcd60e51b815260040161087290612749565b610c21611715565b565b6000546001600160a01b03163314610c4d5760405162461bcd60e51b815260040161087290612749565b610c56816117a8565b610c608282611817565b5050565b6109a983838360405180602001604052806000815250610f44565b6000610c896109ae565b8210610ce35760405162461bcd60e51b815260206004820152602360248201527f455243373231413a20676c6f62616c20696e646578206f7574206f6620626f756044820152626e647360e81b6064820152608401610872565b5090565b6000610cf282611831565b5192915050565b6000546001600160a01b03163314610d235760405162461bcd60e51b815260040161087290612749565b610c6082826119db565b60006001600160a01b038216610d995760405162461bcd60e51b815260206004820152602b60248201527f455243373231413a2062616c616e636520717565727920666f7220746865207a60448201526a65726f206164647265737360a81b6064820152608401610872565b506001600160a01b03166000908152600560205260409020546001600160801b031690565b6000546001600160a01b03163314610de85760405162461bcd60e51b815260040161087290612749565b610c216000611a77565b6000546001600160a01b03163314610e1c5760405162461bcd60e51b815260040161087290612749565b610c21611ac7565b606060038054610784906126e6565b6000546001600160a01b03163314610e5d5760405162461bcd60e51b815260040161087290612749565b600b610c608282612826565b336001600160a01b03831603610ec15760405162461bcd60e51b815260206004820152601a60248201527f455243373231413a20617070726f766520746f2063616c6c65720000000000006044820152606401610872565b3360008181526007602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546060906109be90610100900460ff16611b42565b610f4f84848461138d565b610f5b84848484611cc0565b610f775760405162461bcd60e51b8152600401610872906128e6565b50505050565b6060604051806060016040528060318152602001612ad460319139600a54610fbd90610100900460ff166005811115610fb857610fb86124cd565b611dc2565b604051602001610fce929190612939565b604051602081830303815290604052905090565b6060610fef826001541190565b6110535760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201526e3732bc34b9ba32b73a103a37b5b2b760891b6064820152608401610872565b600061105d611ec3565b9050600081511161107d57604051806020016040528060008152506110a8565b8061108784611dc2565b604051602001611098929190612939565b6040516020818303038152906040525b9392505050565b600b80546110bc906126e6565b80601f01602080910402602001604051908101604052809291908181526020018280546110e8906126e6565b80156111355780601f1061110a57610100808354040283529160200191611135565b820191906000526020600020905b81548152906001019060200180831161111857829003601f168201915b505050505081565b600a5460ff16156111835760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610872565b600c54611190908261277e565b341461119b57600080fd5b6111a83382600e54611ed7565b6111b06109c3565b6111fc5760405162461bcd60e51b815260206004820152601b60248201527f424153455f434f4c4c454354494f4e2f43414e4e4f545f4d494e5400000000006044820152606401610872565b336000908152601160205260408120805483929061121b908490612968565b9091555061122b90503382611817565b6000600c548261123b919061277e565b6040519091508290829033907f12cb4648cf3058b17ceeb33e579f8b0bc269fe0843f3900b8e24b6c54871703c90600090a45050565b6000546001600160a01b0316331461129b5760405162461bcd60e51b815260040161087290612749565b6001600160a01b0381166113005760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610872565b61130981611a77565b50565b60006001600160e01b03198216630c934a3560e31b148061076f575061076f82611fe2565b60008281526006602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b600061139882611831565b80519091506000906001600160a01b0316336001600160a01b031614806113cf5750336113c484610807565b6001600160a01b0316145b806113e1575081516113e19033610703565b90508061144b5760405162461bcd60e51b815260206004820152603260248201527f455243373231413a207472616e736665722063616c6c6572206973206e6f74206044820152711bdddb995c881b9bdc88185c1c1c9bdd995960721b6064820152608401610872565b846001600160a01b031682600001516001600160a01b0316146114bf5760405162461bcd60e51b815260206004820152602660248201527f455243373231413a207472616e736665722066726f6d20696e636f72726563746044820152651037bbb732b960d11b6064820152608401610872565b6001600160a01b0384166115235760405162461bcd60e51b815260206004820152602560248201527f455243373231413a207472616e7366657220746f20746865207a65726f206164604482015264647265737360d81b6064820152608401610872565b6115336000848460000151611331565b6001600160a01b03851660009081526005602052604081208054600192906115659084906001600160801b031661297b565b82546101009290920a6001600160801b038181021990931691831602179091556001600160a01b038616600090815260056020526040812080546001945090926115b1918591166129a2565b82546001600160801b039182166101009390930a9283029190920219909116179055506040805180820182526001600160a01b03808716825267ffffffffffffffff428116602080850191825260008981526004909152948520935184549151909216600160a01b026001600160e01b03199091169190921617179055611639846001612968565b6000818152600460205260409020549091506001600160a01b03166116cb57611663816001541190565b156116cb5760408051808201825284516001600160a01b03908116825260208087015167ffffffffffffffff9081168285019081526000878152600490935294909120925183549451909116600160a01b026001600160e01b03199094169116179190911790555b83856001600160a01b0316876001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b505050505050565b600a5460ff1661175e5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610872565b600a805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600d54816117b46109ae565b6117be9190612968565b11156113095760405162461bcd60e51b815260206004820152602260248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f535550506044820152614c5960f01b6064820152608401610872565b610c60828260405180602001604052806000815250612007565b6040805180820190915260008082526020820152611850826001541190565b6118af5760405162461bcd60e51b815260206004820152602a60248201527f455243373231413a206f776e657220717565727920666f72206e6f6e657869736044820152693a32b73a103a37b5b2b760b11b6064820152608401610872565b60007f00000000000000000000000000000000000000000000000000000000000007e68310611910576119027f00000000000000000000000000000000000000000000000000000000000007e684612736565b61190d906001612968565b90505b825b81811061197a576000818152600460209081526040918290208251808401909352546001600160a01b038116808452600160a01b90910467ffffffffffffffff16918301919091521561196757949350505050565b5080611972816129c2565b915050611912565b5060405162461bcd60e51b815260206004820152602f60248201527f455243373231413a20756e61626c6520746f2064657465726d696e652074686560448201526e1037bbb732b91037b3103a37b5b2b760891b6064820152608401610872565b612710811115611a2d5760405162461bcd60e51b815260206004820152601a60248201527f45524332393831526f79616c746965733a20546f6f20686967680000000000006044820152606401610872565b604080518082019091526001600160a01b0390921680835262ffffff909116602090920182905260098054600160a01b9093026001600160b81b0319909316909117919091179055565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600a5460ff1615611b0d5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610872565b600a805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a25861178b3390565b60606006826005811115611b5857611b586124cd565b60ff161115611b6657600080fd5b816005811115611b7857611b786124cd565b600003611ba257505060408051808201909152600781526604342455f4343360cc1b602082015290565b816005811115611bb457611bb46124cd565b600103611bde57505060408051808201909152600781526621a122afa2a1a960c91b602082015290565b816005811115611bf057611bf06124cd565b600203611c1b57505060408051808201909152600881526721a122afa722a1a960c11b602082015290565b816005811115611c2d57611c2d6124cd565b600303611c5b57505060408051808201909152600b81526a4342455f4e4543525f485360a81b602082015290565b816005811115611c6d57611c6d6124cd565b600403611c9657505060408051808201909152600681526521a122afa82960d11b602082015290565b50506040805180820190915260098152684342455f50525f485360b81b602082015290565b919050565b60006001600160a01b0384163b15611db657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290611d049033908990889088906004016129d9565b6020604051808303816000875af1925050508015611d3f575060408051601f3d908101601f19168201909252611d3c91810190612a16565b60015b611d9c573d808015611d6d576040519150601f19603f3d011682016040523d82523d6000602084013e611d72565b606091505b508051600003611d945760405162461bcd60e51b8152600401610872906128e6565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611dba565b5060015b949350505050565b606081600003611de95750506040805180820190915260018152600360fc1b602082015290565b8160005b8115611e135780611dfd816127c7565b9150611e0c9050600a836127b3565b9150611ded565b60008167ffffffffffffffff811115611e2e57611e2e612526565b6040519080825280601f01601f191660200182016040528015611e58576020820181803683370190505b5090505b8415611dba57611e6d600183612736565b9150611e7a600a86612a33565b611e85906030612968565b60f81b818381518110611e9a57611e9a612a47565b60200101906001600160f81b031916908160001a905350611ebc600a866127b3565b9450611e5c565b6060600b604051602001610fce9190612a5d565b611ee0826117a8565b6010541580611ef157506010548211155b611f515760405162461bcd60e51b815260206004820152602b60248201527f424153455f434f4c4c454354494f4e2f455843454544535f4d41585f5045525f60448201526a2a2920a729a0a1aa24a7a760a91b6064820152608401610872565b6001600160a01b038316600090815260116020526040812054611f75908490612968565b9050811580611f845750818111155b610f775760405162461bcd60e51b815260206004820152602960248201527f424153455f434f4c4c454354494f4e2f455843454544535f494e444956494455604482015268414c5f535550504c5960b81b6064820152608401610872565b60006001600160e01b0319821663152a902d60e11b148061076f575061076f826122e2565b6001546001600160a01b03841661206a5760405162461bcd60e51b815260206004820152602160248201527f455243373231413a206d696e7420746f20746865207a65726f206164647265736044820152607360f81b6064820152608401610872565b612075816001541190565b156120c25760405162461bcd60e51b815260206004820152601d60248201527f455243373231413a20746f6b656e20616c7265616479206d696e7465640000006044820152606401610872565b7f00000000000000000000000000000000000000000000000000000000000007e683111561213d5760405162461bcd60e51b815260206004820152602260248201527f455243373231413a207175616e7469747920746f206d696e7420746f6f2068696044820152610ced60f31b6064820152608401610872565b6001600160a01b0384166000908152600560209081526040918290208251808401845290546001600160801b038082168352600160801b90910416918101919091528151808301909252805190919081906121999087906129a2565b6001600160801b031681526020018583602001516121b791906129a2565b6001600160801b039081169091526001600160a01b0380881660008181526005602090815260408083208751978301518716600160801b0297909616969096179094558451808601865291825267ffffffffffffffff4281168386019081528883526004909552948120915182549451909516600160a01b026001600160e01b031990941694909216939093179190911790915582905b858110156122d75760405182906001600160a01b038916906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a461229b6000888488611cc0565b6122b75760405162461bcd60e51b8152600401610872906128e6565b816122c1816127c7565b92505080806122cf906127c7565b91505061224e565b50600181905561170d565b60006001600160e01b031982166380ac58cd60e01b148061231357506001600160e01b03198216635b5e139f60e01b145b8061232e57506001600160e01b0319821663780e9d6360e01b145b8061076f57506301ffc9a760e01b6001600160e01b031983161461076f565b6001600160e01b03198116811461130957600080fd5b60006020828403121561237557600080fd5b81356110a88161234d565b60005b8381101561239b578181015183820152602001612383565b50506000910152565b600081518084526123bc816020860160208601612380565b601f01601f19169290920160200192915050565b6020815260006110a860208301846123a4565b6000602082840312156123f557600080fd5b5035919050565b80356001600160a01b0381168114611cbb57600080fd5b6000806040838503121561242657600080fd5b61242f836123fc565b946020939093013593505050565b60008060006060848603121561245257600080fd5b61245b846123fc565b9250612469602085016123fc565b9150604084013590509250925092565b6000806000806080858703121561248f57600080fd5b5050823594602084013594506040840135936060013592509050565b600080604083850312156124be57600080fd5b50508035926020909101359150565b634e487b7160e01b600052602160045260246000fd5b602081016006831061250557634e487b7160e01b600052602160045260246000fd5b91905290565b60006020828403121561251d57600080fd5b6110a8826123fc565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff8084111561255757612557612526565b604051601f8501601f19908116603f0116810190828211818310171561257f5761257f612526565b8160405280935085815286868601111561259857600080fd5b858560208301376000602087830101525050509392505050565b6000602082840312156125c457600080fd5b813567ffffffffffffffff8111156125db57600080fd5b8201601f810184136125ec57600080fd5b611dba8482356020840161253c565b6000806040838503121561260e57600080fd5b612617836123fc565b91506020830135801515811461262c57600080fd5b809150509250929050565b6000806000806080858703121561264d57600080fd5b612656856123fc565b9350612664602086016123fc565b925060408501359150606085013567ffffffffffffffff81111561268757600080fd5b8501601f8101871361269857600080fd5b6126a78782356020840161253c565b91505092959194509250565b600080604083850312156126c657600080fd5b6126cf836123fc565b91506126dd602084016123fc565b90509250929050565b600181811c908216806126fa57607f821691505b60208210810361271a57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b8181038181111561076f5761076f612720565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600081600019048311821515161561279857612798612720565b500290565b634e487b7160e01b600052601260045260246000fd5b6000826127c2576127c261279d565b500490565b6000600182016127d9576127d9612720565b5060010190565b601f8211156109a957600081815260208120601f850160051c810160208610156128075750805b601f850160051c820191505b8181101561170d57828155600101612813565b815167ffffffffffffffff81111561284057612840612526565b6128548161284e84546126e6565b846127e0565b602080601f83116001811461288957600084156128715750858301515b600019600386901b1c1916600185901b17855561170d565b600085815260208120601f198616915b828110156128b857888601518255948401946001909101908401612899565b50858210156128d65787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b60208082526033908201527f455243373231413a207472616e7366657220746f206e6f6e204552433732315260408201527232b1b2b4bb32b91034b6b83632b6b2b73a32b960691b606082015260800190565b6000835161294b818460208801612380565b83519083019061295f818360208801612380565b01949350505050565b8082018082111561076f5761076f612720565b6001600160801b0382811682821603908082111561299b5761299b612720565b5092915050565b6001600160801b0381811683821601908082111561299b5761299b612720565b6000816129d1576129d1612720565b506000190190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612a0c908301846123a4565b9695505050505050565b600060208284031215612a2857600080fd5b81516110a88161234d565b600082612a4257612a4261279d565b500690565b634e487b7160e01b600052603260045260246000fd5b6000808354612a6b816126e6565b60018281168015612a835760018114612a9857612ac7565b60ff1984168752821515830287019450612ac7565b8760005260208060002060005b85811015612abe5781548a820152908401908201612aa5565b50505082870194505b5092969550505050505056fe61723a2f2f5f44396b4e3157724e576243713535425341475262544234625333763851415054596d42546853625833412fa26469706673582212203b89c8a2030e9aa16aac0f4c2967eaf9f3c7a4b87c7b93ec75dc3cf86ebbd4dc64736f6c63430008100033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000140000000000000000000000000000000000000000000000000000000000000018000000000000000000000000000000000000000000000000000000000000001c0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000007e6000000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000640000000000000000000000000000000000000000000000000000000000000002000000000000000000000000ce06f9ca2d489b720a078cd68885ebc3097a327600000000000000000000000000000000000000000000000000000000000002bc000000000000000000000000000000000000000000000000000000000000000c53454544202d2057415445520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000357545200000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d5a39674e5074456b475332784c6d66593745476b416f4552533767385154564e704137416f6d393769596d442f00000000000000000000

-----Decoded View---------------
Arg [0] : name (string): SEED - WATER
Arg [1] : symbol (string): WTR
Arg [2] : baseTokenURI (string): ipfs://QmZ9gNPtEkGS2xLmfY7EGkAoERS7g8QTVNpA7Aom97iYmD/
Arg [3] : price (uint256): 0
Arg [4] : maxSupply (uint256): 2022
Arg [5] : maxPerAddress (uint256): 2
Arg [6] : publicSaleTime (uint256): 100
Arg [7] : maxTxPerAddress (uint256): 2
Arg [8] : royaltyRecipient (address): 0xcE06F9Ca2D489b720A078cD68885EBC3097A3276
Arg [9] : royaltyAmount (uint256): 700

-----Encoded View---------------
17 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [4] : 00000000000000000000000000000000000000000000000000000000000007e6
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000064
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000002
Arg [8] : 000000000000000000000000ce06f9ca2d489b720a078cd68885ebc3097a3276
Arg [9] : 00000000000000000000000000000000000000000000000000000000000002bc
Arg [10] : 000000000000000000000000000000000000000000000000000000000000000c
Arg [11] : 53454544202d2057415445520000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [13] : 5754520000000000000000000000000000000000000000000000000000000000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [15] : 697066733a2f2f516d5a39674e5074456b475332784c6d66593745476b416f45
Arg [16] : 52533767385154564e704137416f6d393769596d442f00000000000000000000


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.