ETH Price: $3,413.56 (+1.42%)

Hashmasks Elementals (ELMTL)
 

Overview

TokenID

9453

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Token Contract (WITH 0 Decimals)

Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

**Hashmasks: Elementals** by [Hamm](https://twitter.com/hamm_day), is a new collection inspired by the Hashmasks NFTs with 16,384 unique characters. Robots, Puppets, Voyagers, and Travellers explore the universe in search for answers to the mysteries of the Hashmasks. Hamm is a prominent artist in the NFT space, and has illustrated several projects including Nomads, the first ENS avatars. NFT's from this collection will be randomly assigned for each claimed Hashmask with this option. [View the Trait Rarity for this collection](https://www.thehashmasks.com/elementals-rarity)

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
HashmasksElementals

Compiler Version
v0.8.16+commit.07a7930e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : HashmasksElementals.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

import "./DoubleDropNFT.sol";

contract HashmasksElementals is DoubleDropNFT {
    constructor() DoubleDropNFT("Hashmasks Elementals", "ELMTL") {}
}

File 2 of 11 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

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

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

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

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

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

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

File 3 of 11 : IERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (interfaces/IERC2981.sol)

pragma solidity ^0.8.0;

import "../utils/introspection/IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard.
 *
 * A standardized way to retrieve royalty payment information for non-fungible tokens (NFTs) to enable universal
 * support for royalty payments across all NFT marketplaces and ecosystem participants.
 *
 * _Available since v4.5._
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Returns how much royalty is owed and to whom, based on a sale price that may be denominated in any unit of
     * exchange. The royalty amount is denominated and should be paid in that same unit of exchange.
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

File 4 of 11 : ERC2981.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/common/ERC2981.sol)

pragma solidity ^0.8.0;

import "../../interfaces/IERC2981.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the NFT Royalty Standard, a standardized way to retrieve royalty payment information.
 *
 * Royalty information can be specified globally for all token ids via {_setDefaultRoyalty}, and/or individually for
 * specific token ids via {_setTokenRoyalty}. The latter takes precedence over the first.
 *
 * Royalty is specified as a fraction of sale price. {_feeDenominator} is overridable but defaults to 10000, meaning the
 * fee is specified in basis points by default.
 *
 * IMPORTANT: ERC-2981 only specifies a way to signal royalty information and does not enforce its payment. See
 * https://eips.ethereum.org/EIPS/eip-2981#optional-royalty-payments[Rationale] in the EIP. Marketplaces are expected to
 * voluntarily pay royalties together with sales, but note that this standard is not yet widely supported.
 *
 * _Available since v4.5._
 */
abstract contract ERC2981 is IERC2981, ERC165 {
    struct RoyaltyInfo {
        address receiver;
        uint96 royaltyFraction;
    }

    RoyaltyInfo private _defaultRoyaltyInfo;
    mapping(uint256 => RoyaltyInfo) private _tokenRoyaltyInfo;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(IERC165, ERC165) returns (bool) {
        return interfaceId == type(IERC2981).interfaceId || super.supportsInterface(interfaceId);
    }

    /**
     * @inheritdoc IERC2981
     */
    function royaltyInfo(uint256 _tokenId, uint256 _salePrice) public view virtual override returns (address, uint256) {
        RoyaltyInfo memory royalty = _tokenRoyaltyInfo[_tokenId];

        if (royalty.receiver == address(0)) {
            royalty = _defaultRoyaltyInfo;
        }

        uint256 royaltyAmount = (_salePrice * royalty.royaltyFraction) / _feeDenominator();

        return (royalty.receiver, royaltyAmount);
    }

    /**
     * @dev The denominator with which to interpret the fee set in {_setTokenRoyalty} and {_setDefaultRoyalty} as a
     * fraction of the sale price. Defaults to 10000 so fees are expressed in basis points, but may be customized by an
     * override.
     */
    function _feeDenominator() internal pure virtual returns (uint96) {
        return 10000;
    }

    /**
     * @dev Sets the royalty information that all ids in this contract will default to.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setDefaultRoyalty(address receiver, uint96 feeNumerator) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: invalid receiver");

        _defaultRoyaltyInfo = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Removes default royalty information.
     */
    function _deleteDefaultRoyalty() internal virtual {
        delete _defaultRoyaltyInfo;
    }

    /**
     * @dev Sets the royalty information for a specific token id, overriding the global default.
     *
     * Requirements:
     *
     * - `receiver` cannot be the zero address.
     * - `feeNumerator` cannot be greater than the fee denominator.
     */
    function _setTokenRoyalty(
        uint256 tokenId,
        address receiver,
        uint96 feeNumerator
    ) internal virtual {
        require(feeNumerator <= _feeDenominator(), "ERC2981: royalty fee will exceed salePrice");
        require(receiver != address(0), "ERC2981: Invalid parameters");

        _tokenRoyaltyInfo[tokenId] = RoyaltyInfo(receiver, feeNumerator);
    }

    /**
     * @dev Resets royalty information for the token id back to the global default.
     */
    function _resetTokenRoyalty(uint256 tokenId) internal virtual {
        delete _tokenRoyaltyInfo[tokenId];
    }
}

File 5 of 11 : 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 6 of 11 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 7 of 11 : 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 8 of 11 : 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);
}

File 9 of 11 : ERC721.sol
// SPDX-License-Identifier: AGPL-3.0-only
pragma solidity >=0.8.0;

/// @notice Modern, minimalist, and gas efficient ERC-721 implementation.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721 {
    /*//////////////////////////////////////////////////////////////
                                 EVENTS
    //////////////////////////////////////////////////////////////*/

    event Transfer(address indexed from, address indexed to, uint256 indexed id);

    event Approval(address indexed owner, address indexed spender, uint256 indexed id);

    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /*//////////////////////////////////////////////////////////////
                         METADATA STORAGE/LOGIC
    //////////////////////////////////////////////////////////////*/

    string public name;

    string public symbol;

    function tokenURI(uint256 id) public view virtual returns (string memory);

    /*//////////////////////////////////////////////////////////////
                      ERC721 BALANCE/OWNER STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(uint256 => address) internal _ownerOf;

    mapping(address => uint256) internal _balanceOf;

    function ownerOf(uint256 id) public view virtual returns (address owner) {
        require((owner = _ownerOf[id]) != address(0), "NOT_MINTED");
    }

    function balanceOf(address owner) public view virtual returns (uint256) {
        require(owner != address(0), "ZERO_ADDRESS");

        return _balanceOf[owner];
    }

    /*//////////////////////////////////////////////////////////////
                         ERC721 APPROVAL STORAGE
    //////////////////////////////////////////////////////////////*/

    mapping(uint256 => address) public getApproved;

    mapping(address => mapping(address => bool)) public isApprovedForAll;

    /*//////////////////////////////////////////////////////////////
                               CONSTRUCTOR
    //////////////////////////////////////////////////////////////*/

    constructor(string memory _name, string memory _symbol) {
        name = _name;
        symbol = _symbol;
    }

    /*//////////////////////////////////////////////////////////////
                              ERC721 LOGIC
    //////////////////////////////////////////////////////////////*/

    function approve(address spender, uint256 id) public virtual {
        address owner = _ownerOf[id];

        require(msg.sender == owner || isApprovedForAll[owner][msg.sender], "NOT_AUTHORIZED");

        getApproved[id] = spender;

        emit Approval(owner, spender, id);
    }

    function setApprovalForAll(address operator, bool approved) public virtual {
        isApprovedForAll[msg.sender][operator] = approved;

        emit ApprovalForAll(msg.sender, operator, approved);
    }

    function transferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        require(from == _ownerOf[id], "WRONG_FROM");

        require(to != address(0), "INVALID_RECIPIENT");

        require(
            msg.sender == from || isApprovedForAll[from][msg.sender] || msg.sender == getApproved[id],
            "NOT_AUTHORIZED"
        );

        // Underflow of the sender's balance is impossible because we check for
        // ownership above and the recipient's balance can't realistically overflow.
        unchecked {
            _balanceOf[from]--;

            _balanceOf[to]++;
        }

        _ownerOf[id] = to;

        delete getApproved[id];

        emit Transfer(from, to, id);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        bytes calldata data
    ) public virtual {
        transferFrom(from, to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, from, id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    /*//////////////////////////////////////////////////////////////
                              ERC165 LOGIC
    //////////////////////////////////////////////////////////////*/

    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
            interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL MINT/BURN LOGIC
    //////////////////////////////////////////////////////////////*/

    function _mint(address to, uint256 id) internal virtual {
        require(to != address(0), "INVALID_RECIPIENT");

        require(_ownerOf[id] == address(0), "ALREADY_MINTED");

        // Counter overflow is incredibly unrealistic.
        unchecked {
            _balanceOf[to]++;
        }

        _ownerOf[id] = to;

        emit Transfer(address(0), to, id);
    }

    function _burn(uint256 id) internal virtual {
        address owner = _ownerOf[id];

        require(owner != address(0), "NOT_MINTED");

        // Ownership check above ensures no underflow.
        unchecked {
            _balanceOf[owner]--;
        }

        delete _ownerOf[id];

        delete getApproved[id];

        emit Transfer(owner, address(0), id);
    }

    /*//////////////////////////////////////////////////////////////
                        INTERNAL SAFE MINT LOGIC
    //////////////////////////////////////////////////////////////*/

    function _safeMint(address to, uint256 id) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, "") ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }

    function _safeMint(
        address to,
        uint256 id,
        bytes memory data
    ) internal virtual {
        _mint(to, id);

        require(
            to.code.length == 0 ||
                ERC721TokenReceiver(to).onERC721Received(msg.sender, address(0), id, data) ==
                ERC721TokenReceiver.onERC721Received.selector,
            "UNSAFE_RECIPIENT"
        );
    }
}

/// @notice A generic interface for a contract which properly accepts ERC721 tokens.
/// @author Solmate (https://github.com/transmissions11/solmate/blob/main/src/tokens/ERC721.sol)
abstract contract ERC721TokenReceiver {
    function onERC721Received(
        address,
        address,
        uint256,
        bytes calldata
    ) external virtual returns (bytes4) {
        return ERC721TokenReceiver.onERC721Received.selector;
    }
}

File 10 of 11 : DoubleDropNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

import "openzeppelin-contracts/contracts/access/Ownable.sol";
import "openzeppelin-contracts/contracts/token/common/ERC2981.sol";
import "openzeppelin-contracts/contracts/utils/Strings.sol";
import "solmate/tokens/ERC721.sol";

import "./IDoubleDropNFT.sol";

contract DoubleDropNFT is IDoubleDropNFT, ERC721, ERC2981, Ownable {
    using Strings for uint256;

    address public redeemer;
    bool public metadataFrozen;

    string public baseURI;
    uint256 public totalSupply;

    event RedeemerSet(address indexed previousRedeemer, address indexed newRedeemer);

    constructor(string memory _name, string memory _symbol) ERC721(_name, _symbol) Ownable() {}

    /**
     * @notice Redeems HashmasksDerivatives NFTs
     * Caller must be redeemer contract (DoubleDrop)
     */
    /// @param tokenIds The Hashmasks used to redeem these Derivatives.
    /// @param to The wallet to mint the NFTs to.
    function redeem(uint256[] calldata tokenIds, address to) public onlyRedeemer {
        for (uint256 i = 0; i < tokenIds.length; i++) {
            _mint(to, tokenIds[i]);
        }
        totalSupply = totalSupply + tokenIds.length;
    }

    function setBaseURI(string calldata uri) public onlyOwner {
        if (metadataFrozen) revert MetadataFrozen();

        baseURI = uri;
    }

    function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
        if (!exists(tokenId)) revert URIQueryForNonexistentToken();

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

    function exists(uint256 tokenId) public view returns (bool) {
        return _ownerOf[tokenId] != address(0);
    }

    /**
     * @notice Freezes metadata. Owners can no longer call setBaseURI.
     * Caller must be contract owner.
     */
    function freezeMetadata() public onlyOwner {
        metadataFrozen = true;
    }

    /**
     * @notice Set the DoubleDrop contract address
     * Caller must be contract owner.
     */
    /// @param redeemer_ The address of the DoubleDrop contract.
    function setRedeemer(address redeemer_) public onlyOwner {
        if (redeemer != address(0)) revert RedeemerAlreadySet();
        emit RedeemerSet(redeemer, redeemer_);
        redeemer = redeemer_;
    }

    /**
     * @notice Sets contract royalty information as specified by ERC2981
     * Caller must be contract owner.
     */
    /// @param receiver The royalties payout wallet address
    /// @param basisPoints The royalties percentage expressed as basis points. 100bps = 1%
    function setRoyalties(address receiver, uint96 basisPoints) public onlyOwner {
        _setDefaultRoyalty(receiver, basisPoints);
    }

    /**
     * @notice Removes royalty info from the contract as specified by ERC2981
     * Caller must be contract owner.
     * Useful for setting 0% royalties.
     */
    function deleteRoyaltyInfo() public onlyOwner {
        _deleteDefaultRoyalty();
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override (ERC2981, ERC721) returns (bool) {
        return interfaceId == type(IDoubleDropNFT).interfaceId || super.supportsInterface(interfaceId);
    }

    modifier onlyRedeemer() {
        if (redeemer == address(0)) revert RedeemerNotSet();
        if (msg.sender != redeemer) revert OnlyRedeemerCanMint();
        _;
    }

}

File 11 of 11 : IDoubleDropNFT.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.16;

interface IDoubleDropNFT {
    /**
     * The token does not exist.
     */
    error URIQueryForNonexistentToken();

    /**
     * Metadata frozen. Cannot set new base URI.
     */
    error MetadataFrozen();

    /**
     * Cannot set redeemer contract multiple times
     */
    error RedeemerAlreadySet();

    /**
     * Redeemer contract not set
     */
    error RedeemerNotSet();

    /**
     * Only the redeemer contract can mint
     */
    error OnlyRedeemerCanMint();

    function redeem(uint256[] calldata _tokenIds, address _to) external;
}

Settings
{
  "remappings": [
    "ERC721A/=lib/ERC721A/contracts/",
    "chainlink/=lib/chainlink/",
    "ds-test/=lib/solmate/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "solmate/=lib/solmate/src/"
  ],
  "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":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"MetadataFrozen","type":"error"},{"inputs":[],"name":"OnlyRedeemerCanMint","type":"error"},{"inputs":[],"name":"RedeemerAlreadySet","type":"error"},{"inputs":[],"name":"RedeemerNotSet","type":"error"},{"inputs":[],"name":"URIQueryForNonexistentToken","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousRedeemer","type":"address"},{"indexed":true,"internalType":"address","name":"newRedeemer","type":"address"}],"name":"RedeemerSet","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":"id","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteRoyaltyInfo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"exists","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"freezeMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"internalType":"address","name":"to","type":"address"}],"name":"redeem","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"redeemer","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"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":"id","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":"id","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":"uri","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"redeemer_","type":"address"}],"name":"setRedeemer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"basisPoints","type":"uint96"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280601481526020017f486173686d61736b7320456c656d656e74616c7300000000000000000000000081525060405180604001604052806005815260200164115313551360da1b81525081818160009081620000799190620001a8565b506001620000888282620001a8565b505050620000a56200009f620000ad60201b60201c565b620000b1565b505062000274565b3390565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b634e487b7160e01b600052604160045260246000fd5b600181811c908216806200012e57607f821691505b6020821081036200014f57634e487b7160e01b600052602260045260246000fd5b50919050565b601f821115620001a357600081815260208120601f850160051c810160208610156200017e5750805b601f850160051c820191505b818110156200019f578281556001016200018a565b5050505b505050565b81516001600160401b03811115620001c457620001c462000103565b620001dc81620001d5845462000119565b8462000155565b602080601f831160018114620002145760008415620001fb5750858301515b600019600386901b1c1916600185901b1785556200019f565b600085815260208120601f198616915b82811015620002455788860151825594840194600190910190840162000224565b5085821015620002645787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b61191d80620002846000396000f3fe608060405234801561001057600080fd5b50600436106101c45760003560e01c80636c0360eb116100f9578063b88d4fde11610097578063d111515d11610071578063d111515d146103e5578063e985e9c5146103ed578063f2fde38b1461041b578063fb3cc6c21461042e57600080fd5b8063b88d4fde146103ac578063c21b471b146103bf578063c87b56dd146103d257600080fd5b80638da5cb5b116100d35780638da5cb5b1461037857806395d89b4114610389578063a22cb46514610391578063b1f24715146103a457600080fd5b80636c0360eb1461035557806370a082311461035d578063715018a61461037057600080fd5b80632ba29d3811610166578063492e47d211610140578063492e47d2146102f15780634f558e791461030457806355f804b31461032f5780636352211e1461034257600080fd5b80632ba29d38146102b85780633307ce84146102cb57806342842e0e146102de57600080fd5b8063095ea7b3116101a2578063095ea7b31461024757806318160ddd1461025c57806323b872dd146102735780632a55205a1461028657600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d736600461125d565b610442565b60405190151581526020015b60405180910390f35b6101f961046d565b6040516101e891906112a5565b61022f6102143660046112d8565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101e8565b61025a610255366004611308565b6104fb565b005b610265600b5481565b6040519081526020016101e8565b61025a610281366004611332565b6105e2565b61029961029436600461136e565b6107a9565b604080516001600160a01b0390931683526020830191909152016101e8565b60095461022f906001600160a01b031681565b61025a6102d9366004611390565b610857565b61025a6102ec366004611332565b6108e5565b61025a6102ff3660046113ab565b6109dd565b6101dc6103123660046112d8565b6000908152600260205260409020546001600160a01b0316151590565b61025a61033d366004611471565b610a87565b61022f6103503660046112d8565b610ac7565b6101f9610b1e565b61026561036b366004611390565b610b2b565b61025a610b8e565b6008546001600160a01b031661022f565b6101f9610ba2565b61025a61039f3660046114b3565b610baf565b61025a610c1b565b61025a6103ba3660046114ef565b610c2d565b61025a6103cd36600461155e565b610d15565b6101f96103e03660046112d8565b610d2b565b61025a610dbf565b6101dc6103fb366004611596565b600560209081526000928352604080842090915290825290205460ff1681565b61025a610429366004611390565b610ddc565b6009546101dc90600160a01b900460ff1681565b60006001600160e01b0319821663249723e960e11b1480610467575061046782610e55565b92915050565b6000805461047a906115c9565b80601f01602080910402602001604051908101604052809291908181526020018280546104a6906115c9565b80156104f35780601f106104c8576101008083540402835291602001916104f3565b820191906000526020600020905b8154815290600101906020018083116104d657829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061054457506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6105865760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600260205260409020546001600160a01b038481169116146106385760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b604482015260640161057d565b6001600160a01b0382166106825760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b604482015260640161057d565b336001600160a01b03841614806106bc57506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b806106dd57506000818152600460205260409020546001600160a01b031633145b61071a5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b604482015260640161057d565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161081e5750604080518082019091526006546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061083d906001600160601b031687611619565b610847919061164e565b91519350909150505b9250929050565b61085f610e8a565b6009546001600160a01b031615610889576040516365dfe20d60e11b815260040160405180910390fd5b6009546040516001600160a01b038084169216907f0afe77732b5b8cabc6ac736f0a4467093cf0a1f689580ca012283818afc3f9ca90600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6108f08383836105e2565b6001600160a01b0382163b15806109995750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610969573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098d9190611662565b6001600160e01b031916145b6109d85760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b604482015260640161057d565b505050565b6009546001600160a01b0316610a065760405163cb5db5a760e01b815260040160405180910390fd5b6009546001600160a01b03163314610a3157604051633b94306b60e01b815260040160405180910390fd5b60005b82811015610a7057610a5e82858584818110610a5257610a5261167f565b90506020020135610ee4565b80610a6881611695565b915050610a34565b50600b54610a7f9083906116ae565b600b55505050565b610a8f610e8a565b600954600160a01b900460ff1615610aba5760405163777821ff60e11b815260040160405180910390fd5b600a6109d8828483611725565b6000818152600260205260409020546001600160a01b031680610b195760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b604482015260640161057d565b919050565b600a805461047a906115c9565b60006001600160a01b038216610b725760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015260640161057d565b506001600160a01b031660009081526003602052604090205490565b610b96610e8a565b610ba06000610fef565b565b6001805461047a906115c9565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c23610e8a565b610ba06000600655565b610c388585856105e2565b6001600160a01b0384163b1580610ccf5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610c809033908a908990899089906004016117e5565b6020604051808303816000875af1158015610c9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc39190611662565b6001600160e01b031916145b610d0e5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b604482015260640161057d565b5050505050565b610d1d610e8a565b610d278282611041565b5050565b6000818152600260205260409020546060906001600160a01b0316610d6357604051630a14c4b560e41b815260040160405180910390fd5b600a8054610d70906115c9565b9050600003610d8e5760405180602001604052806000815250610467565b600a610d998361113e565b604051602001610daa929190611839565b60405160208183030381529060405292915050565b610dc7610e8a565b6009805460ff60a01b1916600160a01b179055565b610de4610e8a565b6001600160a01b038116610e495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161057d565b610e5281610fef565b50565b60006001600160e01b0319821663152a902d60e11b148061046757506301ffc9a760e01b6001600160e01b0319831614610467565b6008546001600160a01b03163314610ba05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161057d565b6001600160a01b038216610f2e5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b604482015260640161057d565b6000818152600260205260409020546001600160a01b031615610f845760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b604482015260640161057d565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b03821611156110af5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840161057d565b6001600160a01b0382166111055760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640161057d565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b6060816000036111655750506040805180820190915260018152600360fc1b602082015290565b8160005b811561118f578061117981611695565b91506111889050600a8361164e565b9150611169565b60008167ffffffffffffffff8111156111aa576111aa6116c1565b6040519080825280601f01601f1916602001820160405280156111d4576020820181803683370190505b5090505b841561123f576111e96001836118c0565b91506111f6600a866118d3565b6112019060306116ae565b60f81b8183815181106112165761121661167f565b60200101906001600160f81b031916908160001a905350611238600a8661164e565b94506111d8565b949350505050565b6001600160e01b031981168114610e5257600080fd5b60006020828403121561126f57600080fd5b813561127a81611247565b9392505050565b60005b8381101561129c578181015183820152602001611284565b50506000910152565b60208152600082518060208401526112c4816040850160208701611281565b601f01601f19169190910160400192915050565b6000602082840312156112ea57600080fd5b5035919050565b80356001600160a01b0381168114610b1957600080fd5b6000806040838503121561131b57600080fd5b611324836112f1565b946020939093013593505050565b60008060006060848603121561134757600080fd5b611350846112f1565b925061135e602085016112f1565b9150604084013590509250925092565b6000806040838503121561138157600080fd5b50508035926020909101359150565b6000602082840312156113a257600080fd5b61127a826112f1565b6000806000604084860312156113c057600080fd5b833567ffffffffffffffff808211156113d857600080fd5b818601915086601f8301126113ec57600080fd5b8135818111156113fb57600080fd5b8760208260051b850101111561141057600080fd5b60209283019550935061142691860190506112f1565b90509250925092565b60008083601f84011261144157600080fd5b50813567ffffffffffffffff81111561145957600080fd5b60208301915083602082850101111561085057600080fd5b6000806020838503121561148457600080fd5b823567ffffffffffffffff81111561149b57600080fd5b6114a78582860161142f565b90969095509350505050565b600080604083850312156114c657600080fd5b6114cf836112f1565b9150602083013580151581146114e457600080fd5b809150509250929050565b60008060008060006080868803121561150757600080fd5b611510866112f1565b945061151e602087016112f1565b935060408601359250606086013567ffffffffffffffff81111561154157600080fd5b61154d8882890161142f565b969995985093965092949392505050565b6000806040838503121561157157600080fd5b61157a836112f1565b915060208301356001600160601b03811681146114e457600080fd5b600080604083850312156115a957600080fd5b6115b2836112f1565b91506115c0602084016112f1565b90509250929050565b600181811c908216806115dd57607f821691505b6020821081036115fd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561163357611633611603565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261165d5761165d611638565b500490565b60006020828403121561167457600080fd5b815161127a81611247565b634e487b7160e01b600052603260045260246000fd5b6000600182016116a7576116a7611603565b5060010190565b8082018082111561046757610467611603565b634e487b7160e01b600052604160045260246000fd5b601f8211156109d857600081815260208120601f850160051c810160208610156116fe5750805b601f850160051c820191505b8181101561171d5782815560010161170a565b505050505050565b67ffffffffffffffff83111561173d5761173d6116c1565b6117518361174b83546115c9565b836116d7565b6000601f841160018114611785576000851561176d5750838201355b600019600387901b1c1916600186901b178355610d0e565b600083815260209020601f19861690835b828110156117b65786850135825560209485019460019092019101611796565b50868210156117d35760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b6000808454611847816115c9565b6001828116801561185f5760018114611874576118a3565b60ff19841687528215158302870194506118a3565b8860005260208060002060005b8581101561189a5781548a820152908401908201611881565b50505082870194505b5050505083516118b7818360208801611281565b01949350505050565b8181038181111561046757610467611603565b6000826118e2576118e2611638565b50069056fea264697066735822122001d9732eebfadee3f68d5eae69c63e295758ddaa9c80384b02a98473f798078064736f6c63430008100033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101c45760003560e01c80636c0360eb116100f9578063b88d4fde11610097578063d111515d11610071578063d111515d146103e5578063e985e9c5146103ed578063f2fde38b1461041b578063fb3cc6c21461042e57600080fd5b8063b88d4fde146103ac578063c21b471b146103bf578063c87b56dd146103d257600080fd5b80638da5cb5b116100d35780638da5cb5b1461037857806395d89b4114610389578063a22cb46514610391578063b1f24715146103a457600080fd5b80636c0360eb1461035557806370a082311461035d578063715018a61461037057600080fd5b80632ba29d3811610166578063492e47d211610140578063492e47d2146102f15780634f558e791461030457806355f804b31461032f5780636352211e1461034257600080fd5b80632ba29d38146102b85780633307ce84146102cb57806342842e0e146102de57600080fd5b8063095ea7b3116101a2578063095ea7b31461024757806318160ddd1461025c57806323b872dd146102735780632a55205a1461028657600080fd5b806301ffc9a7146101c957806306fdde03146101f1578063081812fc14610206575b600080fd5b6101dc6101d736600461125d565b610442565b60405190151581526020015b60405180910390f35b6101f961046d565b6040516101e891906112a5565b61022f6102143660046112d8565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b0390911681526020016101e8565b61025a610255366004611308565b6104fb565b005b610265600b5481565b6040519081526020016101e8565b61025a610281366004611332565b6105e2565b61029961029436600461136e565b6107a9565b604080516001600160a01b0390931683526020830191909152016101e8565b60095461022f906001600160a01b031681565b61025a6102d9366004611390565b610857565b61025a6102ec366004611332565b6108e5565b61025a6102ff3660046113ab565b6109dd565b6101dc6103123660046112d8565b6000908152600260205260409020546001600160a01b0316151590565b61025a61033d366004611471565b610a87565b61022f6103503660046112d8565b610ac7565b6101f9610b1e565b61026561036b366004611390565b610b2b565b61025a610b8e565b6008546001600160a01b031661022f565b6101f9610ba2565b61025a61039f3660046114b3565b610baf565b61025a610c1b565b61025a6103ba3660046114ef565b610c2d565b61025a6103cd36600461155e565b610d15565b6101f96103e03660046112d8565b610d2b565b61025a610dbf565b6101dc6103fb366004611596565b600560209081526000928352604080842090915290825290205460ff1681565b61025a610429366004611390565b610ddc565b6009546101dc90600160a01b900460ff1681565b60006001600160e01b0319821663249723e960e11b1480610467575061046782610e55565b92915050565b6000805461047a906115c9565b80601f01602080910402602001604051908101604052809291908181526020018280546104a6906115c9565b80156104f35780601f106104c8576101008083540402835291602001916104f3565b820191906000526020600020905b8154815290600101906020018083116104d657829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b03163381148061054457506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6105865760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600260205260409020546001600160a01b038481169116146106385760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b604482015260640161057d565b6001600160a01b0382166106825760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b604482015260640161057d565b336001600160a01b03841614806106bc57506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b806106dd57506000818152600460205260409020546001600160a01b031633145b61071a5760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b604482015260640161057d565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b031692820192909252829161081e5750604080518082019091526006546001600160a01b0381168252600160a01b90046001600160601b031660208201525b60208101516000906127109061083d906001600160601b031687611619565b610847919061164e565b91519350909150505b9250929050565b61085f610e8a565b6009546001600160a01b031615610889576040516365dfe20d60e11b815260040160405180910390fd5b6009546040516001600160a01b038084169216907f0afe77732b5b8cabc6ac736f0a4467093cf0a1f689580ca012283818afc3f9ca90600090a3600980546001600160a01b0319166001600160a01b0392909216919091179055565b6108f08383836105e2565b6001600160a01b0382163b15806109995750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610969573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098d9190611662565b6001600160e01b031916145b6109d85760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b604482015260640161057d565b505050565b6009546001600160a01b0316610a065760405163cb5db5a760e01b815260040160405180910390fd5b6009546001600160a01b03163314610a3157604051633b94306b60e01b815260040160405180910390fd5b60005b82811015610a7057610a5e82858584818110610a5257610a5261167f565b90506020020135610ee4565b80610a6881611695565b915050610a34565b50600b54610a7f9083906116ae565b600b55505050565b610a8f610e8a565b600954600160a01b900460ff1615610aba5760405163777821ff60e11b815260040160405180910390fd5b600a6109d8828483611725565b6000818152600260205260409020546001600160a01b031680610b195760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b604482015260640161057d565b919050565b600a805461047a906115c9565b60006001600160a01b038216610b725760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b604482015260640161057d565b506001600160a01b031660009081526003602052604090205490565b610b96610e8a565b610ba06000610fef565b565b6001805461047a906115c9565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b610c23610e8a565b610ba06000600655565b610c388585856105e2565b6001600160a01b0384163b1580610ccf5750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a0290610c809033908a908990899089906004016117e5565b6020604051808303816000875af1158015610c9f573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cc39190611662565b6001600160e01b031916145b610d0e5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b604482015260640161057d565b5050505050565b610d1d610e8a565b610d278282611041565b5050565b6000818152600260205260409020546060906001600160a01b0316610d6357604051630a14c4b560e41b815260040160405180910390fd5b600a8054610d70906115c9565b9050600003610d8e5760405180602001604052806000815250610467565b600a610d998361113e565b604051602001610daa929190611839565b60405160208183030381529060405292915050565b610dc7610e8a565b6009805460ff60a01b1916600160a01b179055565b610de4610e8a565b6001600160a01b038116610e495760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161057d565b610e5281610fef565b50565b60006001600160e01b0319821663152a902d60e11b148061046757506301ffc9a760e01b6001600160e01b0319831614610467565b6008546001600160a01b03163314610ba05760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161057d565b6001600160a01b038216610f2e5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b604482015260640161057d565b6000818152600260205260409020546001600160a01b031615610f845760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b604482015260640161057d565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600880546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6127106001600160601b03821611156110af5760405162461bcd60e51b815260206004820152602a60248201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646044820152692073616c65507269636560b01b606482015260840161057d565b6001600160a01b0382166111055760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c696420726563656976657200000000000000604482015260640161057d565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b6060816000036111655750506040805180820190915260018152600360fc1b602082015290565b8160005b811561118f578061117981611695565b91506111889050600a8361164e565b9150611169565b60008167ffffffffffffffff8111156111aa576111aa6116c1565b6040519080825280601f01601f1916602001820160405280156111d4576020820181803683370190505b5090505b841561123f576111e96001836118c0565b91506111f6600a866118d3565b6112019060306116ae565b60f81b8183815181106112165761121661167f565b60200101906001600160f81b031916908160001a905350611238600a8661164e565b94506111d8565b949350505050565b6001600160e01b031981168114610e5257600080fd5b60006020828403121561126f57600080fd5b813561127a81611247565b9392505050565b60005b8381101561129c578181015183820152602001611284565b50506000910152565b60208152600082518060208401526112c4816040850160208701611281565b601f01601f19169190910160400192915050565b6000602082840312156112ea57600080fd5b5035919050565b80356001600160a01b0381168114610b1957600080fd5b6000806040838503121561131b57600080fd5b611324836112f1565b946020939093013593505050565b60008060006060848603121561134757600080fd5b611350846112f1565b925061135e602085016112f1565b9150604084013590509250925092565b6000806040838503121561138157600080fd5b50508035926020909101359150565b6000602082840312156113a257600080fd5b61127a826112f1565b6000806000604084860312156113c057600080fd5b833567ffffffffffffffff808211156113d857600080fd5b818601915086601f8301126113ec57600080fd5b8135818111156113fb57600080fd5b8760208260051b850101111561141057600080fd5b60209283019550935061142691860190506112f1565b90509250925092565b60008083601f84011261144157600080fd5b50813567ffffffffffffffff81111561145957600080fd5b60208301915083602082850101111561085057600080fd5b6000806020838503121561148457600080fd5b823567ffffffffffffffff81111561149b57600080fd5b6114a78582860161142f565b90969095509350505050565b600080604083850312156114c657600080fd5b6114cf836112f1565b9150602083013580151581146114e457600080fd5b809150509250929050565b60008060008060006080868803121561150757600080fd5b611510866112f1565b945061151e602087016112f1565b935060408601359250606086013567ffffffffffffffff81111561154157600080fd5b61154d8882890161142f565b969995985093965092949392505050565b6000806040838503121561157157600080fd5b61157a836112f1565b915060208301356001600160601b03811681146114e457600080fd5b600080604083850312156115a957600080fd5b6115b2836112f1565b91506115c0602084016112f1565b90509250929050565b600181811c908216806115dd57607f821691505b6020821081036115fd57634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b600081600019048311821515161561163357611633611603565b500290565b634e487b7160e01b600052601260045260246000fd5b60008261165d5761165d611638565b500490565b60006020828403121561167457600080fd5b815161127a81611247565b634e487b7160e01b600052603260045260246000fd5b6000600182016116a7576116a7611603565b5060010190565b8082018082111561046757610467611603565b634e487b7160e01b600052604160045260246000fd5b601f8211156109d857600081815260208120601f850160051c810160208610156116fe5750805b601f850160051c820191505b8181101561171d5782815560010161170a565b505050505050565b67ffffffffffffffff83111561173d5761173d6116c1565b6117518361174b83546115c9565b836116d7565b6000601f841160018114611785576000851561176d5750838201355b600019600387901b1c1916600186901b178355610d0e565b600083815260209020601f19861690835b828110156117b65786850135825560209485019460019092019101611796565b50868210156117d35760001960f88860031b161c19848701351681555b505060018560011b0183555050505050565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b6000808454611847816115c9565b6001828116801561185f5760018114611874576118a3565b60ff19841687528215158302870194506118a3565b8860005260208060002060005b8581101561189a5781548a820152908401908201611881565b50505082870194505b5050505083516118b7818360208801611281565b01949350505050565b8181038181111561046757610467611603565b6000826118e2576118e2611638565b50069056fea264697066735822122001d9732eebfadee3f68d5eae69c63e295758ddaa9c80384b02a98473f798078064736f6c63430008100033

Loading...
Loading
Loading...
Loading
[ 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.