ETH Price: $3,442.11 (+0.19%)

Token

We Are Book People (WABP)
 

Overview

Max Total Supply

209 WABP

Holders

199

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Filtered by Token Holder
Jenkins the Valet: Deployer
Balance
10 WABP
0xe5c3b29c53e1d6475b0e995dc12296254f2e8c0e
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:
WeAreBookPeople

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 11 : WeAreBookPeople.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.15;

import {MultiOwnable} from "./MultiOwnable.sol";

import {ERC721} from "solmate/tokens/ERC721.sol";
import {ERC2981} from "openzeppelin-contracts/contracts/token/common/ERC2981.sol";
import {Ownable} from "openzeppelin-contracts/contracts/access/Ownable.sol";
import {MerkleProof} from "openzeppelin-contracts/contracts/utils/cryptography/MerkleProof.sol";
import {Strings} from "openzeppelin-contracts/contracts/utils/Strings.sol";

contract WeAreBookPeople is ERC721, ERC2981, MultiOwnable {
    bytes32 public merkleRoot = ""; // Construct this from (address, amount) tuple elements
    mapping(address => uint) public whitelistRemaining; // Maps user address to their remaining mints if they have minted some but not all of their allocation
    mapping(address => bool) public whitelistUsed; // Maps user address to bool, true if user has minted

    uint public totalSupply = 0;
    string public baseTokenURI;

    event Mint(address indexed owner, uint indexed tokenId);

    constructor() ERC721("We Are Book People", "WABP") {}

    /// @notice Mint to the owner
    function ownerMint(uint amount) external onlyMintingOwner {
        _mintWithoutValidation(msg.sender, amount);
    }

    /// @notice Mint from whitelist allocation
    function whitelistMint(uint amount, uint totalAllocation, bytes32 leaf, bytes32[] memory proof) external {
        // Create storage element tracking user mints if this is the first mint for them
        if (!whitelistUsed[msg.sender]) {        
            // Verify that (msg.sender, amount) correspond to Merkle leaf
            require(keccak256(abi.encodePacked(msg.sender, totalAllocation)) == leaf, "Sender and amount don't match Merkle leaf");

            // Verify that (leaf, proof) matches the Merkle root
            require(verify(merkleRoot, leaf, proof), "Not a valid leaf in the Merkle tree");

            whitelistUsed[msg.sender] = true;
            whitelistRemaining[msg.sender] = totalAllocation;
        }

        // Require nonzero amount
        require(amount > 0, "Can't mint zero");

        require(whitelistRemaining[msg.sender] >= amount, "Can't mint more than remaining allocation");

        whitelistRemaining[msg.sender] -= amount;
        _mintWithoutValidation(msg.sender, amount);
    }

    /// @notice Perform raw minting
    function _mintWithoutValidation(address to, uint amount) internal {
        for (uint i = 0; i < amount; i++) {
            _mint(to, totalSupply);
            emit Mint(to, totalSupply);
            totalSupply += 1;
        }
    }

    /// @notice Ensure the proof and leaf match the merkle root
    function verify(bytes32 root, bytes32 leaf, bytes32[] memory proof) public pure returns (bool) {
        return MerkleProof.verify(proof, root, leaf);
    }

    // ADMIN FUNCTIONALITY

    /// @notice Set metadata
    function setBaseTokenURI(string memory _baseTokenURI) public onlyMetadataOwner {
        baseTokenURI = _baseTokenURI;
    }

    /// @notice Set merkle root
    function setMerkleRoot(bytes32 _merkleRoot) public onlyMintingOwner {
        merkleRoot = _merkleRoot;
    }

    // ROYALTY FUNCTIONALITY

    /// @dev See {IERC165-supportsInterface}.
    function supportsInterface(bytes4 interfaceId) public pure override(ERC721, ERC2981) returns (bool) {
        return
            interfaceId == 0x2a55205a || // ERC165 Interface ID for ERC2981
            interfaceId == 0x01ffc9a7 || // ERC165 Interface ID for ERC165
            interfaceId == 0x80ac58cd || // ERC165 Interface ID for ERC721
            interfaceId == 0x5b5e139f; // ERC165 Interface ID for ERC721Metadata
    }

    /// @dev See {ERC2981-_setDefaultRoyalty}.
    function setDefaultRoyalty(address receiver, uint96 feeNumerator) external onlyRoyaltyOwner {
        _setDefaultRoyalty(receiver, feeNumerator);
    }

    /// @dev See {ERC2981-_deleteDefaultRoyalty}.
    function deleteDefaultRoyalty() external onlyRoyaltyOwner {
        _deleteDefaultRoyalty();
    }

    /// @dev See {ERC2981-_setTokenRoyalty}.
    function setTokenRoyalty(uint256 tokenId, address receiver, uint96 feeNumerator) external onlyRoyaltyOwner {
        _setTokenRoyalty(tokenId, receiver, feeNumerator);
    }

    /// @dev See {ERC2981-_resetTokenRoyalty}.
    function resetTokenRoyalty(uint256 tokenId) external onlyRoyaltyOwner{
        _resetTokenRoyalty(tokenId);
    }

    // METADATA FUNCTIONALITY

    /// @notice Returns the metadata URI for a given token
    function tokenURI(uint256 _tokenId) public view override returns (string memory) {
        return string(abi.encodePacked(baseTokenURI, Strings.toString(_tokenId)));
    }
}

File 2 of 11 : MultiOwnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.15;

abstract contract MultiOwnable {
    /// @notice The address which can admin mint for free, set merkle roots, and set auction params
    address public mintingOwner;
    /// @notice The address which can update the metadata uri
    address public metadataOwner;
    /// @notice The address which will be returned for the ERC721 owner() standard for setting royalties
    address public royaltyOwner;

    /// @notice Raised when an unauthorized user calls a gated function
    error AccessControl();

    constructor() {
        mintingOwner = msg.sender;
        metadataOwner = msg.sender;
        royaltyOwner = msg.sender;
    }

    modifier onlyMintingOwner() {
        if (msg.sender != mintingOwner) {
            revert AccessControl();
        }
        _;
    }

    modifier onlyMetadataOwner() {
        if (msg.sender != metadataOwner) {
            revert AccessControl();
        }
        _;
    }

    modifier onlyRoyaltyOwner() {
        if (msg.sender != royaltyOwner) {
            revert AccessControl();
        }
        _;
    }

    ////////////////////////////////////
    // ACCESS CONTROL ADDRESS UPDATES //
    ////////////////////////////////////

    /// @notice Update the mintingOwner
    /// @dev Can also be used to revoke this power by setting to 0x0
    function setMintingOwner(address _mintingOwner) external onlyMintingOwner {
        mintingOwner = _mintingOwner;
    }

    /// @notice Update the metadataOwner
    /// @dev Can also be used to revoke this power by setting to 0x0
    /// @dev Should only be revoked after setting an IPFS url so others can pin
    function setMetadataOwner(address _metadataOwner) external onlyMetadataOwner {
        metadataOwner = _metadataOwner;
    }

    /// @notice Update the royaltyOwner
    /// @dev Can also be used to revoke this power by setting to 0x0
    function setRoyaltyOwner(address _royaltyOwner) external onlyRoyaltyOwner {
        royaltyOwner = _royaltyOwner;
    }

    /// @notice The address which can set royalties
    function owner() external view returns (address) {
        return royaltyOwner;
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Tree proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 *
 * WARNING: You should avoid using leaf values that are 64 bytes long prior to
 * hashing, or use a hash function other than keccak256 for hashing leaves.
 * This is because the concatenation of a sorted pair of internal nodes in
 * the merkle tree could be reinterpreted as a leaf value.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

    /**
     * @dev Calldata version of {verify}
     *
     * _Available since v4.7._
     */
    function verifyCalldata(
        bytes32[] calldata proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProofCalldata(proof, leaf) == root;
    }

    /**
     * @dev Returns the rebuilt hash obtained by traversing a Merkle tree up
     * from `leaf` using `proof`. A `proof` is valid if and only if the rebuilt
     * hash matches the root of the tree. When processing the proof, the pairs
     * of leafs & pre-images are assumed to be sorted.
     *
     * _Available since v4.4._
     */
    function processProof(bytes32[] memory proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Calldata version of {processProof}
     *
     * _Available since v4.7._
     */
    function processProofCalldata(bytes32[] calldata proof, bytes32 leaf) internal pure returns (bytes32) {
        bytes32 computedHash = leaf;
        for (uint256 i = 0; i < proof.length; i++) {
            computedHash = _hashPair(computedHash, proof[i]);
        }
        return computedHash;
    }

    /**
     * @dev Returns true if the `leaves` can be proved to be a part of a Merkle tree defined by
     * `root`, according to `proof` and `proofFlags` as described in {processMultiProof}.
     *
     * _Available since v4.7._
     */
    function multiProofVerify(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProof(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Calldata version of {multiProofVerify}
     *
     * _Available since v4.7._
     */
    function multiProofVerifyCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32 root,
        bytes32[] memory leaves
    ) internal pure returns (bool) {
        return processMultiProofCalldata(proof, proofFlags, leaves) == root;
    }

    /**
     * @dev Returns the root of a tree reconstructed from `leaves` and the sibling nodes in `proof`,
     * consuming from one or the other at each step according to the instructions given by
     * `proofFlags`.
     *
     * _Available since v4.7._
     */
    function processMultiProof(
        bytes32[] memory proof,
        bool[] memory proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    /**
     * @dev Calldata version of {processMultiProof}
     *
     * _Available since v4.7._
     */
    function processMultiProofCalldata(
        bytes32[] calldata proof,
        bool[] calldata proofFlags,
        bytes32[] memory leaves
    ) internal pure returns (bytes32 merkleRoot) {
        // This function rebuild the root hash by traversing the tree up from the leaves. The root is rebuilt by
        // consuming and producing values on a queue. The queue starts with the `leaves` array, then goes onto the
        // `hashes` array. At the end of the process, the last hash in the `hashes` array should contain the root of
        // the merkle tree.
        uint256 leavesLen = leaves.length;
        uint256 totalHashes = proofFlags.length;

        // Check proof validity.
        require(leavesLen + proof.length - 1 == totalHashes, "MerkleProof: invalid multiproof");

        // The xxxPos values are "pointers" to the next value to consume in each array. All accesses are done using
        // `xxx[xxxPos++]`, which return the current value and increment the pointer, thus mimicking a queue's "pop".
        bytes32[] memory hashes = new bytes32[](totalHashes);
        uint256 leafPos = 0;
        uint256 hashPos = 0;
        uint256 proofPos = 0;
        // At each step, we compute the next hash using two values:
        // - a value from the "main queue". If not all leaves have been consumed, we get the next leaf, otherwise we
        //   get the next hash.
        // - depending on the flag, either another value for the "main queue" (merging branches) or an element from the
        //   `proof` array.
        for (uint256 i = 0; i < totalHashes; i++) {
            bytes32 a = leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++];
            bytes32 b = proofFlags[i] ? leafPos < leavesLen ? leaves[leafPos++] : hashes[hashPos++] : proof[proofPos++];
            hashes[i] = _hashPair(a, b);
        }

        if (totalHashes > 0) {
            return hashes[totalHashes - 1];
        } else if (leavesLen > 0) {
            return leaves[0];
        } else {
            return proof[0];
        }
    }

    function _hashPair(bytes32 a, bytes32 b) private pure returns (bytes32) {
        return a < b ? _efficientHash(a, b) : _efficientHash(b, a);
    }

    function _efficientHash(bytes32 a, bytes32 b) private pure returns (bytes32 value) {
        /// @solidity memory-safe-assembly
        assembly {
            mstore(0x00, a)
            mstore(0x20, b)
            value := keccak256(0x00, 0x40)
        }
    }
}

File 7 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 8 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 9 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 10 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 11 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);
}

Settings
{
  "remappings": [
    "@rari-capital/solmate/=lib/solmate/",
    "contracts/=contracts/",
    "ds-test/=lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "murky/=lib/murky/src/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "script/=script/",
    "solmate/=lib/solmate/src/",
    "src/=src/",
    "src/=src/",
    "script/=script/"
  ],
  "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":"AccessControl","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":"owner","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Mint","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":"baseTokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"deleteDefaultRoyalty","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":"merkleRoot","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"amount","type":"uint256"}],"name":"ownerMint","outputs":[],"stateMutability":"nonpayable","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":"tokenId","type":"uint256"}],"name":"resetTokenRoyalty","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":[],"name":"royaltyOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"_baseTokenURI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setDefaultRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_merkleRoot","type":"bytes32"}],"name":"setMerkleRoot","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_metadataOwner","type":"address"}],"name":"setMetadataOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_mintingOwner","type":"address"}],"name":"setMintingOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_royaltyOwner","type":"address"}],"name":"setRoyaltyOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint96","name":"feeNumerator","type":"uint96"}],"name":"setTokenRoyalty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","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":"bytes32","name":"root","type":"bytes32"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"verify","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"totalAllocation","type":"uint256"},{"internalType":"bytes32","name":"leaf","type":"bytes32"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistRemaining","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistUsed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040526000600b556000600e553480156200001b57600080fd5b506040518060400160405280601281526020017157652041726520426f6f6b2050656f706c6560701b815250604051806040016040528060048152602001630574142560e41b81525081600090816200007591906200015e565b5060016200008482826200015e565b505060088054336001600160a01b0319918216811790925560098054821683179055600a80549091169091179055506200022a565b634e487b7160e01b600052604160045260246000fd5b600181811c90821680620000e457607f821691505b6020821081036200010557634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200015957600081815260208120601f850160051c81016020861015620001345750805b601f850160051c820191505b81811015620001555782815560010162000140565b5050505b505050565b81516001600160401b038111156200017a576200017a620000b9565b62000192816200018b8454620000cf565b846200010b565b602080601f831160018114620001ca5760008415620001b15750858301515b600019600386901b1c1916600185901b17855562000155565b600085815260208120601f198616915b82811015620001fb57888601518255948401946001909101908401620001da565b50858210156200021a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b611e94806200023a6000396000f3fe608060405234801561001057600080fd5b50600436106102115760003560e01c80635c49d2cb11610125578063b113c608116100ad578063db5eb7021161007c578063db5eb7021461049d578063e63ec947146104b0578063e985e9c5146104d0578063ecde3c89146104fe578063f19e75d41461051157600080fd5b8063b113c6081461045c578063b88d4fde1461046f578063c87b56dd14610482578063d547cfb71461049557600080fd5b80638a616bc0116100f45780638a616bc0146104155780638da5cb5b1461042857806395d89b4114610439578063a22cb46514610441578063aa1b103f1461045457600080fd5b80635c49d2cb146103c95780636352211e146103dc57806370a08231146103ef5780637cb647591461040257600080fd5b80632525b3d7116101a85780633423e548116101775780633423e5481461036a57806335137cd01461037d57806342842e0e146103905780635944c753146103a35780635bfe024d146103b657600080fd5b80632525b3d7146103095780632a55205a1461031c5780632eb4a7ab1461034e57806330176e131461035757600080fd5b8063095ea7b3116101e4578063095ea7b3146102a957806318160ddd146102bc57806321328f9e146102d357806323b872dd146102f657600080fd5b806301ffc9a71461021657806304634d8d1461023e57806306fdde0314610253578063081812fc14610268575b600080fd5b610229610224366004611627565b610524565b60405190151581526020015b60405180910390f35b61025161024c366004611672565b610591565b005b61025b6105ca565b60405161023591906116d1565b610291610276366004611704565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610235565b6102516102b736600461171d565b610658565b6102c5600e5481565b604051908152602001610235565b6102296102e1366004611747565b600d6020526000908152604090205460ff1681565b610251610304366004611762565b61073f565b610251610317366004611747565b610906565b61032f61032a36600461179e565b610953565b604080516001600160a01b039093168352602083019190915201610235565b6102c5600b5481565b610251610365366004611807565b6109ff565b61022961037836600461191c565b610a36565b61025161038b366004611747565b610a4b565b61025161039e366004611762565b610a98565b6102516103b136600461196c565b610b90565b6102516103c43660046119a8565b610bc6565b600854610291906001600160a01b031681565b6102916103ea366004611704565b610dee565b6102c56103fd366004611747565b610e45565b610251610410366004611704565b610ea8565b610251610423366004611704565b610ed8565b600a546001600160a01b0316610291565b61025b610f17565b61025161044f366004611a02565b610f24565b610251610f90565b600954610291906001600160a01b031681565b61025161047d366004611a3e565b610fc7565b61025b610490366004611704565b6110af565b61025b6110e3565b600a54610291906001600160a01b031681565b6102c56104be366004611747565b600c6020526000908152604090205481565b6102296104de366004611ad9565b600560209081526000928352604080842090915290825290205460ff1681565b61025161050c366004611747565b6110f0565b61025161051f366004611704565b61113d565b600063152a902d60e11b6001600160e01b03198316148061055557506301ffc9a760e01b6001600160e01b03198316145b8061057057506380ac58cd60e01b6001600160e01b03198316145b8061058b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600a546001600160a01b031633146105bc57604051631f7c4bf360e01b815260040160405180910390fd5b6105c68282611172565b5050565b600080546105d790611b03565b80601f016020809104026020016040519081016040528092919081815260200182805461060390611b03565b80156106505780601f1061062557610100808354040283529160200191610650565b820191906000526020600020905b81548152906001019060200180831161063357829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b0316338114806106a157506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6106e35760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600260205260409020546001600160a01b038481169116146107955760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016106da565b6001600160a01b0382166107df5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016106da565b336001600160a01b038416148061081957506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b8061083a57506000818152600460205260409020546001600160a01b031633145b6108775760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016106da565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a546001600160a01b0316331461093157604051631f7c4bf360e01b815260040160405180910390fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109c85750604080518082019091526006546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906109e7906001600160601b031687611b53565b6109f19190611b88565b915196919550909350505050565b6009546001600160a01b03163314610a2a57604051631f7c4bf360e01b815260040160405180910390fd5b600f6105c68282611bea565b6000610a4382858561122c565b949350505050565b6008546001600160a01b03163314610a7657604051631f7c4bf360e01b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b610aa383838361073f565b6001600160a01b0382163b1580610b4c5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190611caa565b6001600160e01b031916145b610b8b5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016106da565b505050565b600a546001600160a01b03163314610bbb57604051631f7c4bf360e01b815260040160405180910390fd5b610b8b838383611242565b336000908152600d602052604090205460ff16610d06576040516bffffffffffffffffffffffff193360601b1660208201526034810184905282906054016040516020818303038152906040528051906020012014610c795760405162461bcd60e51b815260206004820152602960248201527f53656e64657220616e6420616d6f756e7420646f6e2774206d61746368204d656044820152683935b632903632b0b360b91b60648201526084016106da565b610c86600b548383610a36565b610cde5760405162461bcd60e51b815260206004820152602360248201527f4e6f7420612076616c6964206c65616620696e20746865204d65726b6c65207460448201526272656560e81b60648201526084016106da565b336000908152600d60209081526040808320805460ff19166001179055600c90915290208390555b60008411610d485760405162461bcd60e51b815260206004820152600f60248201526e43616e2774206d696e74207a65726f60881b60448201526064016106da565b336000908152600c6020526040902054841115610db95760405162461bcd60e51b815260206004820152602960248201527f43616e2774206d696e74206d6f7265207468616e2072656d61696e696e672061604482015268363637b1b0ba34b7b760b91b60648201526084016106da565b336000908152600c602052604081208054869290610dd8908490611cc7565b90915550610de89050338561130d565b50505050565b6000818152600260205260409020546001600160a01b031680610e405760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016106da565b919050565b60006001600160a01b038216610e8c5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016106da565b506001600160a01b031660009081526003602052604090205490565b6008546001600160a01b03163314610ed357604051631f7c4bf360e01b815260040160405180910390fd5b600b55565b600a546001600160a01b03163314610f0357604051631f7c4bf360e01b815260040160405180910390fd5b600090815260076020526040812055565b50565b600180546105d790611b03565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b03163314610fbb57604051631f7c4bf360e01b815260040160405180910390fd5b610fc56000600655565b565b610fd285858561073f565b6001600160a01b0384163b15806110695750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a029061101a9033908a90899089908990600401611cde565b6020604051808303816000875af1158015611039573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105d9190611caa565b6001600160e01b031916145b6110a85760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016106da565b5050505050565b6060600f6110bc83611386565b6040516020016110cd929190611d32565b6040516020818303038152906040529050919050565b600f80546105d790611b03565b6009546001600160a01b0316331461111b57604051631f7c4bf360e01b815260040160405180910390fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b0316331461116857604051631f7c4bf360e01b815260040160405180910390fd5b610f14338261130d565b6127106001600160601b038216111561119d5760405162461bcd60e51b81526004016106da90611db9565b6001600160a01b0382166111f35760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016106da565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b6000826112398584611487565b14949350505050565b6127106001600160601b038216111561126d5760405162461bcd60e51b81526004016106da90611db9565b6001600160a01b0382166112c35760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d6574657273000000000060448201526064016106da565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600790529190942093519051909116600160a01b029116179055565b60005b81811015610b8b5761132483600e546114d4565b600e546040516001600160a01b038516907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688590600090a36001600e600082825461136e9190611e03565b9091555081905061137e81611e1b565b915050611310565b6060816000036113ad5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113d757806113c181611e1b565b91506113d09050600a83611b88565b91506113b1565b60008167ffffffffffffffff8111156113f2576113f26117c0565b6040519080825280601f01601f19166020018201604052801561141c576020820181803683370190505b5090505b8415610a4357611431600183611cc7565b915061143e600a86611e34565b611449906030611e03565b60f81b81838151811061145e5761145e611e48565b60200101906001600160f81b031916908160001a905350611480600a86611b88565b9450611420565b600081815b84518110156114cc576114b8828683815181106114ab576114ab611e48565b60200260200101516115df565b9150806114c481611e1b565b91505061148c565b509392505050565b6001600160a01b03821661151e5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016106da565b6000818152600260205260409020546001600160a01b0316156115745760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016106da565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008183106115fb57600082815260208490526040902061160a565b60008381526020839052604090205b9392505050565b6001600160e01b031981168114610f1457600080fd5b60006020828403121561163957600080fd5b813561160a81611611565b80356001600160a01b0381168114610e4057600080fd5b80356001600160601b0381168114610e4057600080fd5b6000806040838503121561168557600080fd5b61168e83611644565b915061169c6020840161165b565b90509250929050565b60005b838110156116c05781810151838201526020016116a8565b83811115610de85750506000910152565b60208152600082518060208401526116f08160408501602087016116a5565b601f01601f19169190910160400192915050565b60006020828403121561171657600080fd5b5035919050565b6000806040838503121561173057600080fd5b61173983611644565b946020939093013593505050565b60006020828403121561175957600080fd5b61160a82611644565b60008060006060848603121561177757600080fd5b61178084611644565b925061178e60208501611644565b9150604084013590509250925092565b600080604083850312156117b157600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156117ff576117ff6117c0565b604052919050565b6000602080838503121561181a57600080fd5b823567ffffffffffffffff8082111561183257600080fd5b818501915085601f83011261184657600080fd5b813581811115611858576118586117c0565b61186a601f8201601f191685016117d6565b9150808252868482850101111561188057600080fd5b8084840185840137600090820190930192909252509392505050565b600082601f8301126118ad57600080fd5b8135602067ffffffffffffffff8211156118c9576118c96117c0565b8160051b6118d88282016117d6565b92835284810182019282810190878511156118f257600080fd5b83870192505b84831015611911578235825291830191908301906118f8565b979650505050505050565b60008060006060848603121561193157600080fd5b8335925060208401359150604084013567ffffffffffffffff81111561195657600080fd5b6119628682870161189c565b9150509250925092565b60008060006060848603121561198157600080fd5b8335925061199160208501611644565b915061199f6040850161165b565b90509250925092565b600080600080608085870312156119be57600080fd5b843593506020850135925060408501359150606085013567ffffffffffffffff8111156119ea57600080fd5b6119f68782880161189c565b91505092959194509250565b60008060408385031215611a1557600080fd5b611a1e83611644565b915060208301358015158114611a3357600080fd5b809150509250929050565b600080600080600060808688031215611a5657600080fd5b611a5f86611644565b9450611a6d60208701611644565b935060408601359250606086013567ffffffffffffffff80821115611a9157600080fd5b818801915088601f830112611aa557600080fd5b813581811115611ab457600080fd5b896020828501011115611ac657600080fd5b9699959850939650602001949392505050565b60008060408385031215611aec57600080fd5b611af583611644565b915061169c60208401611644565b600181811c90821680611b1757607f821691505b602082108103611b3757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611b6d57611b6d611b3d565b500290565b634e487b7160e01b600052601260045260246000fd5b600082611b9757611b97611b72565b500490565b601f821115610b8b57600081815260208120601f850160051c81016020861015611bc35750805b601f850160051c820191505b81811015611be257828155600101611bcf565b505050505050565b815167ffffffffffffffff811115611c0457611c046117c0565b611c1881611c128454611b03565b84611b9c565b602080601f831160018114611c4d5760008415611c355750858301515b600019600386901b1c1916600185901b178555611be2565b600085815260208120601f198616915b82811015611c7c57888601518255948401946001909101908401611c5d565b5085821015611c9a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611cbc57600080fd5b815161160a81611611565b600082821015611cd957611cd9611b3d565b500390565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b6000808454611d4081611b03565b60018281168015611d585760018114611d6d57611d9c565b60ff1984168752821515830287019450611d9c565b8860005260208060002060005b85811015611d935781548a820152908401908201611d7a565b50505082870194505b505050508351611db08183602088016116a5565b01949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60008219821115611e1657611e16611b3d565b500190565b600060018201611e2d57611e2d611b3d565b5060010190565b600082611e4357611e43611b72565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212206c72b0e30e6ad87207a4a1a4b3f0300d338077fbb8cef2bdd254a05510f0039264736f6c634300080f0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106102115760003560e01c80635c49d2cb11610125578063b113c608116100ad578063db5eb7021161007c578063db5eb7021461049d578063e63ec947146104b0578063e985e9c5146104d0578063ecde3c89146104fe578063f19e75d41461051157600080fd5b8063b113c6081461045c578063b88d4fde1461046f578063c87b56dd14610482578063d547cfb71461049557600080fd5b80638a616bc0116100f45780638a616bc0146104155780638da5cb5b1461042857806395d89b4114610439578063a22cb46514610441578063aa1b103f1461045457600080fd5b80635c49d2cb146103c95780636352211e146103dc57806370a08231146103ef5780637cb647591461040257600080fd5b80632525b3d7116101a85780633423e548116101775780633423e5481461036a57806335137cd01461037d57806342842e0e146103905780635944c753146103a35780635bfe024d146103b657600080fd5b80632525b3d7146103095780632a55205a1461031c5780632eb4a7ab1461034e57806330176e131461035757600080fd5b8063095ea7b3116101e4578063095ea7b3146102a957806318160ddd146102bc57806321328f9e146102d357806323b872dd146102f657600080fd5b806301ffc9a71461021657806304634d8d1461023e57806306fdde0314610253578063081812fc14610268575b600080fd5b610229610224366004611627565b610524565b60405190151581526020015b60405180910390f35b61025161024c366004611672565b610591565b005b61025b6105ca565b60405161023591906116d1565b610291610276366004611704565b6004602052600090815260409020546001600160a01b031681565b6040516001600160a01b039091168152602001610235565b6102516102b736600461171d565b610658565b6102c5600e5481565b604051908152602001610235565b6102296102e1366004611747565b600d6020526000908152604090205460ff1681565b610251610304366004611762565b61073f565b610251610317366004611747565b610906565b61032f61032a36600461179e565b610953565b604080516001600160a01b039093168352602083019190915201610235565b6102c5600b5481565b610251610365366004611807565b6109ff565b61022961037836600461191c565b610a36565b61025161038b366004611747565b610a4b565b61025161039e366004611762565b610a98565b6102516103b136600461196c565b610b90565b6102516103c43660046119a8565b610bc6565b600854610291906001600160a01b031681565b6102916103ea366004611704565b610dee565b6102c56103fd366004611747565b610e45565b610251610410366004611704565b610ea8565b610251610423366004611704565b610ed8565b600a546001600160a01b0316610291565b61025b610f17565b61025161044f366004611a02565b610f24565b610251610f90565b600954610291906001600160a01b031681565b61025161047d366004611a3e565b610fc7565b61025b610490366004611704565b6110af565b61025b6110e3565b600a54610291906001600160a01b031681565b6102c56104be366004611747565b600c6020526000908152604090205481565b6102296104de366004611ad9565b600560209081526000928352604080842090915290825290205460ff1681565b61025161050c366004611747565b6110f0565b61025161051f366004611704565b61113d565b600063152a902d60e11b6001600160e01b03198316148061055557506301ffc9a760e01b6001600160e01b03198316145b8061057057506380ac58cd60e01b6001600160e01b03198316145b8061058b5750635b5e139f60e01b6001600160e01b03198316145b92915050565b600a546001600160a01b031633146105bc57604051631f7c4bf360e01b815260040160405180910390fd5b6105c68282611172565b5050565b600080546105d790611b03565b80601f016020809104026020016040519081016040528092919081815260200182805461060390611b03565b80156106505780601f1061062557610100808354040283529160200191610650565b820191906000526020600020905b81548152906001019060200180831161063357829003601f168201915b505050505081565b6000818152600260205260409020546001600160a01b0316338114806106a157506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b6106e35760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064015b60405180910390fd5b60008281526004602052604080822080546001600160a01b0319166001600160a01b0387811691821790925591518593918516917f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a4505050565b6000818152600260205260409020546001600160a01b038481169116146107955760405162461bcd60e51b815260206004820152600a60248201526957524f4e475f46524f4d60b01b60448201526064016106da565b6001600160a01b0382166107df5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016106da565b336001600160a01b038416148061081957506001600160a01b038316600090815260056020908152604080832033845290915290205460ff165b8061083a57506000818152600460205260409020546001600160a01b031633145b6108775760405162461bcd60e51b815260206004820152600e60248201526d1393d517d055551213d49256915160921b60448201526064016106da565b6001600160a01b0380841660008181526003602090815260408083208054600019019055938616808352848320805460010190558583526002825284832080546001600160a01b03199081168317909155600490925284832080549092169091559251849392917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b600a546001600160a01b0316331461093157604051631f7c4bf360e01b815260040160405180910390fd5b600a80546001600160a01b0319166001600160a01b0392909216919091179055565b60008281526007602090815260408083208151808301909252546001600160a01b038116808352600160a01b9091046001600160601b03169282019290925282916109c85750604080518082019091526006546001600160a01b0381168252600160a01b90046001600160601b031660208201525b6020810151600090612710906109e7906001600160601b031687611b53565b6109f19190611b88565b915196919550909350505050565b6009546001600160a01b03163314610a2a57604051631f7c4bf360e01b815260040160405180910390fd5b600f6105c68282611bea565b6000610a4382858561122c565b949350505050565b6008546001600160a01b03163314610a7657604051631f7c4bf360e01b815260040160405180910390fd5b600880546001600160a01b0319166001600160a01b0392909216919091179055565b610aa383838361073f565b6001600160a01b0382163b1580610b4c5750604051630a85bd0160e11b8082523360048301526001600160a01b03858116602484015260448301849052608060648401526000608484015290919084169063150b7a029060a4016020604051808303816000875af1158015610b1c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b409190611caa565b6001600160e01b031916145b610b8b5760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016106da565b505050565b600a546001600160a01b03163314610bbb57604051631f7c4bf360e01b815260040160405180910390fd5b610b8b838383611242565b336000908152600d602052604090205460ff16610d06576040516bffffffffffffffffffffffff193360601b1660208201526034810184905282906054016040516020818303038152906040528051906020012014610c795760405162461bcd60e51b815260206004820152602960248201527f53656e64657220616e6420616d6f756e7420646f6e2774206d61746368204d656044820152683935b632903632b0b360b91b60648201526084016106da565b610c86600b548383610a36565b610cde5760405162461bcd60e51b815260206004820152602360248201527f4e6f7420612076616c6964206c65616620696e20746865204d65726b6c65207460448201526272656560e81b60648201526084016106da565b336000908152600d60209081526040808320805460ff19166001179055600c90915290208390555b60008411610d485760405162461bcd60e51b815260206004820152600f60248201526e43616e2774206d696e74207a65726f60881b60448201526064016106da565b336000908152600c6020526040902054841115610db95760405162461bcd60e51b815260206004820152602960248201527f43616e2774206d696e74206d6f7265207468616e2072656d61696e696e672061604482015268363637b1b0ba34b7b760b91b60648201526084016106da565b336000908152600c602052604081208054869290610dd8908490611cc7565b90915550610de89050338561130d565b50505050565b6000818152600260205260409020546001600160a01b031680610e405760405162461bcd60e51b815260206004820152600a6024820152691393d517d3525395115160b21b60448201526064016106da565b919050565b60006001600160a01b038216610e8c5760405162461bcd60e51b815260206004820152600c60248201526b5a45524f5f4144445245535360a01b60448201526064016106da565b506001600160a01b031660009081526003602052604090205490565b6008546001600160a01b03163314610ed357604051631f7c4bf360e01b815260040160405180910390fd5b600b55565b600a546001600160a01b03163314610f0357604051631f7c4bf360e01b815260040160405180910390fd5b600090815260076020526040812055565b50565b600180546105d790611b03565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b600a546001600160a01b03163314610fbb57604051631f7c4bf360e01b815260040160405180910390fd5b610fc56000600655565b565b610fd285858561073f565b6001600160a01b0384163b15806110695750604051630a85bd0160e11b808252906001600160a01b0386169063150b7a029061101a9033908a90899089908990600401611cde565b6020604051808303816000875af1158015611039573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061105d9190611caa565b6001600160e01b031916145b6110a85760405162461bcd60e51b815260206004820152601060248201526f155394d0519157d49150d2541251539560821b60448201526064016106da565b5050505050565b6060600f6110bc83611386565b6040516020016110cd929190611d32565b6040516020818303038152906040529050919050565b600f80546105d790611b03565b6009546001600160a01b0316331461111b57604051631f7c4bf360e01b815260040160405180910390fd5b600980546001600160a01b0319166001600160a01b0392909216919091179055565b6008546001600160a01b0316331461116857604051631f7c4bf360e01b815260040160405180910390fd5b610f14338261130d565b6127106001600160601b038216111561119d5760405162461bcd60e51b81526004016106da90611db9565b6001600160a01b0382166111f35760405162461bcd60e51b815260206004820152601960248201527f455243323938313a20696e76616c69642072656365697665720000000000000060448201526064016106da565b604080518082019091526001600160a01b039092168083526001600160601b039091166020909201829052600160a01b90910217600655565b6000826112398584611487565b14949350505050565b6127106001600160601b038216111561126d5760405162461bcd60e51b81526004016106da90611db9565b6001600160a01b0382166112c35760405162461bcd60e51b815260206004820152601b60248201527f455243323938313a20496e76616c696420706172616d6574657273000000000060448201526064016106da565b6040805180820182526001600160a01b0393841681526001600160601b0392831660208083019182526000968752600790529190942093519051909116600160a01b029116179055565b60005b81811015610b8b5761132483600e546114d4565b600e546040516001600160a01b038516907f0f6798a560793a54c3bcfe86a93cde1e73087d944c0ea20544137d412139688590600090a36001600e600082825461136e9190611e03565b9091555081905061137e81611e1b565b915050611310565b6060816000036113ad5750506040805180820190915260018152600360fc1b602082015290565b8160005b81156113d757806113c181611e1b565b91506113d09050600a83611b88565b91506113b1565b60008167ffffffffffffffff8111156113f2576113f26117c0565b6040519080825280601f01601f19166020018201604052801561141c576020820181803683370190505b5090505b8415610a4357611431600183611cc7565b915061143e600a86611e34565b611449906030611e03565b60f81b81838151811061145e5761145e611e48565b60200101906001600160f81b031916908160001a905350611480600a86611b88565b9450611420565b600081815b84518110156114cc576114b8828683815181106114ab576114ab611e48565b60200260200101516115df565b9150806114c481611e1b565b91505061148c565b509392505050565b6001600160a01b03821661151e5760405162461bcd60e51b81526020600482015260116024820152701253959053125117d49150d25412515395607a1b60448201526064016106da565b6000818152600260205260409020546001600160a01b0316156115745760405162461bcd60e51b815260206004820152600e60248201526d1053149150511657d3525395115160921b60448201526064016106da565b6001600160a01b038216600081815260036020908152604080832080546001019055848352600290915280822080546001600160a01b0319168417905551839291907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008183106115fb57600082815260208490526040902061160a565b60008381526020839052604090205b9392505050565b6001600160e01b031981168114610f1457600080fd5b60006020828403121561163957600080fd5b813561160a81611611565b80356001600160a01b0381168114610e4057600080fd5b80356001600160601b0381168114610e4057600080fd5b6000806040838503121561168557600080fd5b61168e83611644565b915061169c6020840161165b565b90509250929050565b60005b838110156116c05781810151838201526020016116a8565b83811115610de85750506000910152565b60208152600082518060208401526116f08160408501602087016116a5565b601f01601f19169190910160400192915050565b60006020828403121561171657600080fd5b5035919050565b6000806040838503121561173057600080fd5b61173983611644565b946020939093013593505050565b60006020828403121561175957600080fd5b61160a82611644565b60008060006060848603121561177757600080fd5b61178084611644565b925061178e60208501611644565b9150604084013590509250925092565b600080604083850312156117b157600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156117ff576117ff6117c0565b604052919050565b6000602080838503121561181a57600080fd5b823567ffffffffffffffff8082111561183257600080fd5b818501915085601f83011261184657600080fd5b813581811115611858576118586117c0565b61186a601f8201601f191685016117d6565b9150808252868482850101111561188057600080fd5b8084840185840137600090820190930192909252509392505050565b600082601f8301126118ad57600080fd5b8135602067ffffffffffffffff8211156118c9576118c96117c0565b8160051b6118d88282016117d6565b92835284810182019282810190878511156118f257600080fd5b83870192505b84831015611911578235825291830191908301906118f8565b979650505050505050565b60008060006060848603121561193157600080fd5b8335925060208401359150604084013567ffffffffffffffff81111561195657600080fd5b6119628682870161189c565b9150509250925092565b60008060006060848603121561198157600080fd5b8335925061199160208501611644565b915061199f6040850161165b565b90509250925092565b600080600080608085870312156119be57600080fd5b843593506020850135925060408501359150606085013567ffffffffffffffff8111156119ea57600080fd5b6119f68782880161189c565b91505092959194509250565b60008060408385031215611a1557600080fd5b611a1e83611644565b915060208301358015158114611a3357600080fd5b809150509250929050565b600080600080600060808688031215611a5657600080fd5b611a5f86611644565b9450611a6d60208701611644565b935060408601359250606086013567ffffffffffffffff80821115611a9157600080fd5b818801915088601f830112611aa557600080fd5b813581811115611ab457600080fd5b896020828501011115611ac657600080fd5b9699959850939650602001949392505050565b60008060408385031215611aec57600080fd5b611af583611644565b915061169c60208401611644565b600181811c90821680611b1757607f821691505b602082108103611b3757634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615611b6d57611b6d611b3d565b500290565b634e487b7160e01b600052601260045260246000fd5b600082611b9757611b97611b72565b500490565b601f821115610b8b57600081815260208120601f850160051c81016020861015611bc35750805b601f850160051c820191505b81811015611be257828155600101611bcf565b505050505050565b815167ffffffffffffffff811115611c0457611c046117c0565b611c1881611c128454611b03565b84611b9c565b602080601f831160018114611c4d5760008415611c355750858301515b600019600386901b1c1916600185901b178555611be2565b600085815260208120601f198616915b82811015611c7c57888601518255948401946001909101908401611c5d565b5085821015611c9a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600060208284031215611cbc57600080fd5b815161160a81611611565b600082821015611cd957611cd9611b3d565b500390565b6001600160a01b038681168252851660208201526040810184905260806060820181905281018290526000828460a0840137600060a0848401015260a0601f19601f85011683010190509695505050505050565b6000808454611d4081611b03565b60018281168015611d585760018114611d6d57611d9c565b60ff1984168752821515830287019450611d9c565b8860005260208060002060005b85811015611d935781548a820152908401908201611d7a565b50505082870194505b505050508351611db08183602088016116a5565b01949350505050565b6020808252602a908201527f455243323938313a20726f79616c7479206665652077696c6c206578636565646040820152692073616c65507269636560b01b606082015260800190565b60008219821115611e1657611e16611b3d565b500190565b600060018201611e2d57611e2d611b3d565b5060010190565b600082611e4357611e43611b72565b500690565b634e487b7160e01b600052603260045260246000fdfea26469706673582212206c72b0e30e6ad87207a4a1a4b3f0300d338077fbb8cef2bdd254a05510f0039264736f6c634300080f0033

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.