ETH Price: $3,820.60 (-0.74%)

Token

SEEDS (SEEDS)
 

Overview

Max Total Supply

2,118 SEEDS

Holders

817

Total Transfers

-

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Lucien Smith is releasing SEEDS, a collection of 10,000 NFTs living on the Ethereum blockchain. Inspired by the seed packets found in local hardware stores, SEEDS is entry into exclusive aspects of the Serving the People community think events, merchandising, and more.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
SEEDS

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 1000 runs

Other Settings:
default evmVersion
File 1 of 15 : SEEDS.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/Counters.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";


contract SEEDS is ERC721, ERC721Burnable, Pausable, Ownable {
    uint256 public constant MAX_TOKENS = 10000;
    uint256 public unitPrice = 100000000000000000; //0.1 ether
    string public _defaultBaseURI;
    bytes32 private _presaleRoot;

    using Counters for Counters.Counter;
    Counters.Counter private _tokenIdCounter;
    uint256 public royaltyFee;
    address public royaltyWallet;

    mapping(address => uint) public accountToMintPreSale;

    // Switches
    bool private publicSaleActive;
    bool private preSaleActive;


    constructor(string memory _newBaseURI, bytes32 _pre) ERC721("SEEDS", "SEEDS") {
        setBaseURI(_newBaseURI);
        _presaleRoot = _pre;
    }

    function _baseURI() internal view override returns (string memory) {
        return _defaultBaseURI;
    }

    function setBaseURI(string memory _newBaseURI) public onlyOwner {
        _defaultBaseURI = _newBaseURI;
    }

    function setPresaleMintHash(bytes32 _root) external onlyOwner {
        _presaleRoot = _root;
    }

    function startPreSale(uint256 _unitPrice) external onlyOwner
    {
        require(!preSaleActive, "Private Sale Started already");
        unitPrice = _unitPrice;
        preSaleActive = true;
    }

    function pausePreSale() external onlyOwner {
        require(preSaleActive, "Private Sale not active");
        preSaleActive = false;
    }

    function startSale(uint256 _unitPrice) external onlyOwner
    {
        require(!publicSaleActive, "Started already");
        unitPrice = _unitPrice;
        publicSaleActive = true;
    }

    function pauseSale() external onlyOwner {
        require(publicSaleActive, "Sale not active");
        publicSaleActive = false;
    }

    function safeMint(address to) private {
        _safeMint(to, _tokenIdCounter.current());
        _tokenIdCounter.increment();
    }

    function _leaf(address account)
    internal pure returns (bytes32)
    {
        return keccak256(abi.encodePacked(account));
    }

    function _verify(bytes32 leaf, bytes32 root, bytes32[] memory proof)
    internal pure returns (bool)
    {
        return MerkleProof.verify(proof, root, leaf);
    }

    function presaleMint(uint256 numTokens, bytes32[] calldata proof) external payable
    {
        require(preSaleActive, "Presale not active");
        require((totalSupply() + numTokens) <= MAX_TOKENS, "Exceed Max Supply");
        require(unitPrice * numTokens <= msg.value, "Not Enough Ether");
        require(_verify(_leaf(msg.sender), _presaleRoot, proof), "Invalid address for presale mint");

        for (uint256 i = 0; i < numTokens; i++) {
            safeMint(msg.sender);
        }
    }

    function mintInternal(address to, uint256 numTokens) external onlyOwner {
        require((totalSupply() + numTokens) <= MAX_TOKENS, "Exceed Max Supply");
        for (uint256 i = 0; i < numTokens; i++) {
            safeMint(to);
        }
    }

    function mint(uint256 numTokens) external payable {
        require(publicSaleActive, "Sale not active");
        require(numTokens > 0 && numTokens <= 20, "Invalid Number of Tokens");
        require(unitPrice * numTokens <= msg.value, "Not Enough Ether");
        require((totalSupply() + numTokens) <= MAX_TOKENS, "Exceed Max Supply");

        for (uint256 i = 0; i < numTokens; i++) {
            safeMint(msg.sender);
        }
    }

    function totalSupply() public view returns (uint) {
        return _tokenIdCounter.current();
    }


    function royaltyInfo(uint256, uint256 value) external view returns (address, uint256)
    {
        return (royaltyWallet, (value * royaltyFee) / 10000);
    }

    function setRoyalties(address recipient, uint256 value) external onlyOwner {
        require(value <= 10000, "INVALID Royalties");
        require(recipient != address(0), "BLACKHOLE WALLET");
        royaltyWallet = recipient;
        royaltyFee = value;
    }

    function withdraw() external onlyOwner {
        uint256 balance = address(this).balance;
        Address.sendValue(payable(owner()), balance);
    }

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

    function unpause() public onlyOwner {
        _unpause();
    }

    function _beforeTokenTransfer(address from, address to, uint256 tokenId)
    internal
    whenNotPaused
    override(ERC721)
    {
        super._beforeTokenTransfer(from, to, tokenId);
    }

    // The following functions are overrides required by Solidity.

    function supportsInterface(bytes4 interfaceId)
    public
    view
    override(ERC721)
    returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
}

File 2 of 15 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/ERC721Burnable.sol)

pragma solidity ^0.8.0;

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

/**
 * @title ERC721 Burnable Token
 * @dev ERC721 Token that can be irreversibly burned (destroyed).
 */
abstract contract ERC721Burnable is Context, ERC721 {
    /**
     * @dev Burns `tokenId`. See {ERC721-_burn}.
     *
     * Requirements:
     *
     * - The caller must own `tokenId` or be an approved operator.
     */
    function burn(uint256 tokenId) public virtual {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721Burnable: caller is not owner nor approved");
        _burn(tokenId);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

File 4 of 15 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

File 5 of 15 : Counters.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Counters.sol)

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 6 of 15 : MerkleProof.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/cryptography/MerkleProof.sol)

pragma solidity ^0.8.0;

/**
 * @dev These functions deal with verification of Merkle Trees proofs.
 *
 * The proofs can be generated using the JavaScript library
 * https://github.com/miguelmota/merkletreejs[merkletreejs].
 * Note: the hashing algorithm should be keccak256 and pair sorting should be enabled.
 *
 * See `test/utils/cryptography/MerkleProof.test.js` for some examples.
 */
library MerkleProof {
    /**
     * @dev Returns true if a `leaf` can be proved to be a part of a Merkle tree
     * defined by `root`. For this, a `proof` must be provided, containing
     * sibling hashes on the branch from the leaf to the root of the tree. Each
     * pair of leaves and each pair of pre-images are assumed to be sorted.
     */
    function verify(
        bytes32[] memory proof,
        bytes32 root,
        bytes32 leaf
    ) internal pure returns (bool) {
        return processProof(proof, leaf) == root;
    }

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

File 7 of 15 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "./IERC721.sol";
import "./IERC721Receiver.sol";
import "./extensions/IERC721Metadata.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/Strings.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata {
    using Address for address;
    using Strings for uint256;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    // Mapping from token ID to owner address
    mapping(uint256 => address) private _owners;

    // Mapping owner address to token count
    mapping(address => uint256) private _balances;

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

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

    /**
     * @dev Initializes the contract by setting a `name` and a `symbol` to the token collection.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

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

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view virtual override returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "ERC721: owner query for nonexistent token");
        return owner;
    }

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        _setApprovalForAll(_msgSender(), operator, approved);
    }

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

    /**
     * @dev See {IERC721-transferFrom}.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) public virtual override {
        //solhint-disable-next-line max-line-length
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

        _transfer(from, to, tokenId);
    }

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

    /**
     * @dev See {IERC721-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) public virtual override {
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        _safeTransfer(from, to, tokenId, _data);
    }

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * `_data` is additional data, it has no specified format and it is sent in call to `to`.
     *
     * This internal function is equivalent to {safeTransferFrom}, and can be used to e.g.
     * implement alternative mechanisms to perform token transfer, such as signature-based.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeTransfer(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _transfer(from, to, tokenId);
        require(_checkOnERC721Received(from, to, tokenId, _data), "ERC721: transfer to non ERC721Receiver implementer");
    }

    /**
     * @dev Returns whether `tokenId` exists.
     *
     * Tokens can be managed by their owner or approved accounts via {approve} or {setApprovalForAll}.
     *
     * Tokens start existing when they are minted (`_mint`),
     * and stop existing when they are burned (`_burn`).
     */
    function _exists(uint256 tokenId) internal view virtual returns (bool) {
        return _owners[tokenId] != address(0);
    }

    /**
     * @dev Returns whether `spender` is allowed to manage `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _isApprovedOrOwner(address spender, uint256 tokenId) internal view virtual returns (bool) {
        require(_exists(tokenId), "ERC721: operator query for nonexistent token");
        address owner = ERC721.ownerOf(tokenId);
        return (spender == owner || getApproved(tokenId) == spender || isApprovedForAll(owner, spender));
    }

    /**
     * @dev Safely mints `tokenId` and transfers it to `to`.
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function _safeMint(address to, uint256 tokenId) internal virtual {
        _safeMint(to, tokenId, "");
    }

    /**
     * @dev Same as {xref-ERC721-_safeMint-address-uint256-}[`_safeMint`], with an additional `data` parameter which is
     * forwarded in {IERC721Receiver-onERC721Received} to contract recipients.
     */
    function _safeMint(
        address to,
        uint256 tokenId,
        bytes memory _data
    ) internal virtual {
        _mint(to, tokenId);
        require(
            _checkOnERC721Received(address(0), to, tokenId, _data),
            "ERC721: transfer to non ERC721Receiver implementer"
        );
    }

    /**
     * @dev Mints `tokenId` and transfers it to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {_safeMint} whenever possible
     *
     * Requirements:
     *
     * - `tokenId` must not exist.
     * - `to` cannot be the zero address.
     *
     * Emits a {Transfer} event.
     */
    function _mint(address to, uint256 tokenId) internal virtual {
        require(to != address(0), "ERC721: mint to the zero address");
        require(!_exists(tokenId), "ERC721: token already minted");

        _beforeTokenTransfer(address(0), to, tokenId);

        _balances[to] += 1;
        _owners[tokenId] = to;

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

    /**
     * @dev Destroys `tokenId`.
     * The approval is cleared when the token is burned.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     *
     * Emits a {Transfer} event.
     */
    function _burn(uint256 tokenId) internal virtual {
        address owner = ERC721.ownerOf(tokenId);

        _beforeTokenTransfer(owner, address(0), tokenId);

        // Clear approvals
        _approve(address(0), tokenId);

        _balances[owner] -= 1;
        delete _owners[tokenId];

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

    /**
     * @dev Transfers `tokenId` from `from` to `to`.
     *  As opposed to {transferFrom}, this imposes no restrictions on msg.sender.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     *
     * Emits a {Transfer} event.
     */
    function _transfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {
        require(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own");
        require(to != address(0), "ERC721: transfer to the zero address");

        _beforeTokenTransfer(from, to, tokenId);

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

        _balances[from] -= 1;
        _balances[to] += 1;
        _owners[tokenId] = to;

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Approve `operator` to operate on all of `owner` tokens
     *
     * Emits a {ApprovalForAll} event.
     */
    function _setApprovalForAll(
        address owner,
        address operator,
        bool approved
    ) internal virtual {
        require(owner != operator, "ERC721: approve to caller");
        _operatorApprovals[owner][operator] = approved;
        emit ApprovalForAll(owner, operator, approved);
    }

    /**
     * @dev Internal function to invoke {IERC721Receiver-onERC721Received} on a target address.
     * The call is not executed if the target address is not a contract.
     *
     * @param from address representing the previous owner of the given token ID
     * @param to target address that will receive the tokens
     * @param tokenId uint256 ID of the token to be transferred
     * @param _data bytes optional data to send along with the call
     * @return bool whether the call correctly returned the expected magic value
     */
    function _checkOnERC721Received(
        address from,
        address to,
        uint256 tokenId,
        bytes memory _data
    ) private returns (bool) {
        if (to.isContract()) {
            try IERC721Receiver(to).onERC721Received(_msgSender(), from, tokenId, _data) returns (bytes4 retval) {
                return retval == IERC721Receiver.onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning.
     *
     * Calling conditions:
     *
     * - When `from` and `to` are both non-zero, ``from``'s `tokenId` will be
     * transferred to `to`.
     * - When `from` is zero, `tokenId` will be minted for `to`.
     * - When `to` is zero, ``from``'s `tokenId` will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 tokenId
    ) internal virtual {}
}

File 8 of 15 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 9 of 15 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 10 of 15 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

File 11 of 15 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 12 of 15 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 13 of 15 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (utils/Strings.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

File 14 of 15 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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 15 of 15 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.0 (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
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"},{"internalType":"bytes32","name":"_pre","type":"bytes32"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"MAX_TOKENS","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_defaultBaseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"accountToMintPreSale","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"numTokens","type":"uint256"}],"name":"mintInternal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pausePreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"pauseSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"numTokens","type":"uint256"},{"internalType":"bytes32[]","name":"proof","type":"bytes32[]"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"royaltyFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"royaltyWallet","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":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_root","type":"bytes32"}],"name":"setPresaleMintHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"setRoyalties","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_unitPrice","type":"uint256"}],"name":"startPreSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_unitPrice","type":"uint256"}],"name":"startSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unitPrice","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405267016345785d8a00006007553480156200001d57600080fd5b50604051620031c2380380620031c2833981016040819052620000409162000257565b604080518082018252600580825264534545445360d81b60208084018281528551808701909652928552840152815191929162000080916000916200019b565b508051620000969060019060208401906200019b565b50506006805460ff1916905550620000ae33620000c3565b620000b9826200011d565b6009555062000379565b600680546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b6006546001600160a01b03610100909104163314620001825760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640160405180910390fd5b8051620001979060089060208401906200019b565b5050565b828054620001a9906200033c565b90600052602060002090601f016020900481019282620001cd576000855562000218565b82601f10620001e857805160ff191683800117855562000218565b8280016001018555821562000218579182015b8281111562000218578251825591602001919060010190620001fb565b50620002269291506200022a565b5090565b5b808211156200022657600081556001016200022b565b634e487b7160e01b600052604160045260246000fd5b600080604083850312156200026b57600080fd5b82516001600160401b03808211156200028357600080fd5b818501915085601f8301126200029857600080fd5b815181811115620002ad57620002ad62000241565b604051601f8201601f19908116603f01168101908382118183101715620002d857620002d862000241565b81604052828152602093508884848701011115620002f557600080fd5b600091505b82821015620003195784820184015181830185015290830190620002fa565b828211156200032b5760008484830101525b969092015195979596505050505050565b600181811c908216806200035157607f821691505b602082108114156200037357634e487b7160e01b600052602260045260246000fd5b50919050565b612e3980620003896000396000f3fe6080604052600436106102a05760003560e01c80636352211e1161016e578063ab4b6a4f116100cb578063e3e1e8ef1161007f578063e985e9c511610064578063e985e9c5146106fa578063f2fde38b14610743578063f47c84c51461076357600080fd5b8063e3e1e8ef146106d1578063e73faa2d146106e457600080fd5b8063b8997a97116100b0578063b8997a971461067b578063c87b56dd14610691578063d4d92b14146106b157600080fd5b8063ab4b6a4f1461062e578063b88d4fde1461065b57600080fd5b80638c7ea24b1161012257806395d89b411161010757806395d89b41146105e6578063a0712d68146105fb578063a22cb4651461060e57600080fd5b80638c7ea24b146105a35780638da5cb5b146105c357600080fd5b8063715018a611610153578063715018a6146105595780637f16d6d31461056e5780638456cb591461058e57600080fd5b80636352211e1461051957806370a082311461053957600080fd5b80633ccfd60b1161021c5780634357da58116101d057806355f804b3116101b557806355f804b3146104c15780635b91c510146104e15780635c975abb1461050157600080fd5b80634357da581461049757806355367ba9146104ac57600080fd5b80633f4ba83a116102015780633f4ba83a1461044257806342842e0e1461045757806342966c681461047757600080fd5b80633ccfd60b1461040d5780633f0d2ec11461042257600080fd5b80630e3ab61d116102735780631f7ce34d116102585780631f7ce34d1461039957806323b872dd146103ae5780632a55205a146103ce57600080fd5b80630e3ab61d1461035657806318160ddd1461037657600080fd5b806301ffc9a7146102a557806306fdde03146102da578063081812fc146102fc578063095ea7b314610334575b600080fd5b3480156102b157600080fd5b506102c56102c03660046128ae565b610779565b60405190151581526020015b60405180910390f35b3480156102e657600080fd5b506102ef61078a565b6040516102d19190612923565b34801561030857600080fd5b5061031c610317366004612936565b61081c565b6040516001600160a01b0390911681526020016102d1565b34801561034057600080fd5b5061035461034f36600461296b565b6108b6565b005b34801561036257600080fd5b50610354610371366004612936565b6109e8565b34801561038257600080fd5b5061038b610a9b565b6040519081526020016102d1565b3480156103a557600080fd5b506102ef610aab565b3480156103ba57600080fd5b506103546103c9366004612995565b610b39565b3480156103da57600080fd5b506103ee6103e93660046129d1565b610bc1565b604080516001600160a01b0390931683526020830191909152016102d1565b34801561041957600080fd5b50610354610bfb565b34801561042e57600080fd5b50600c5461031c906001600160a01b031681565b34801561044e57600080fd5b50610354610c6e565b34801561046357600080fd5b50610354610472366004612995565b610cc6565b34801561048357600080fd5b50610354610492366004612936565b610ce1565b3480156104a357600080fd5b50610354610d65565b3480156104b857600080fd5b50610354610e17565b3480156104cd57600080fd5b506103546104dc366004612a7f565b610ec3565b3480156104ed57600080fd5b506103546104fc366004612936565b610f28565b34801561050d57600080fd5b5060065460ff166102c5565b34801561052557600080fd5b5061031c610534366004612936565b610fe2565b34801561054557600080fd5b5061038b610554366004612ac8565b61106d565b34801561056557600080fd5b50610354611107565b34801561057a57600080fd5b50610354610589366004612936565b61115f565b34801561059a57600080fd5b506103546111b2565b3480156105af57600080fd5b506103546105be36600461296b565b611208565b3480156105cf57600080fd5b5060065461010090046001600160a01b031661031c565b3480156105f257600080fd5b506102ef611324565b610354610609366004612936565b611333565b34801561061a57600080fd5b50610354610629366004612ae3565b6114bd565b34801561063a57600080fd5b5061038b610649366004612ac8565b600d6020526000908152604090205481565b34801561066757600080fd5b50610354610676366004612b1f565b6114c8565b34801561068757600080fd5b5061038b600b5481565b34801561069d57600080fd5b506102ef6106ac366004612936565b611556565b3480156106bd57600080fd5b506103546106cc36600461296b565b61163f565b6103546106df366004612b9b565b61170b565b3480156106f057600080fd5b5061038b60075481565b34801561070657600080fd5b506102c5610715366004612c1a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561074f57600080fd5b5061035461075e366004612ac8565b611900565b34801561076f57600080fd5b5061038b61271081565b6000610784826119d3565b92915050565b60606000805461079990612c4d565b80601f01602080910402602001604051908101604052809291908181526020018280546107c590612c4d565b80156108125780601f106107e757610100808354040283529160200191610812565b820191906000526020600020905b8154815290600101906020018083116107f557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661089a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108c182610fe2565b9050806001600160a01b0316836001600160a01b0316141561094b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610891565b336001600160a01b038216148061096757506109678133610715565b6109d95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610891565b6109e38383611a6e565b505050565b6006546001600160a01b03610100909104163314610a365760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b600e5460ff1615610a895760405162461bcd60e51b815260206004820152600f60248201527f5374617274656420616c726561647900000000000000000000000000000000006044820152606401610891565b600755600e805460ff19166001179055565b6000610aa6600a5490565b905090565b60088054610ab890612c4d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae490612c4d565b8015610b315780601f10610b0657610100808354040283529160200191610b31565b820191906000526020600020905b815481529060010190602001808311610b1457829003601f168201915b505050505081565b610b44335b82611adc565b610bb65760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610891565b6109e3838383611bd3565b600c54600b5460009182916001600160a01b039091169061271090610be69086612c9e565b610bf09190612cd3565b915091509250929050565b6006546001600160a01b03610100909104163314610c495760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b47610c6b610c656006546001600160a01b036101009091041690565b82611dab565b50565b6006546001600160a01b03610100909104163314610cbc5760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b610cc4611ec4565b565b6109e3838383604051806020016040528060008152506114c8565b610cea33610b3e565b610d5c5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f766564000000000000000000000000000000006064820152608401610891565b610c6b81611f60565b6006546001600160a01b03610100909104163314610db35760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b600e54610100900460ff16610e0a5760405162461bcd60e51b815260206004820152601760248201527f507269766174652053616c65206e6f74206163746976650000000000000000006044820152606401610891565b600e805461ff0019169055565b6006546001600160a01b03610100909104163314610e655760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b600e5460ff16610eb75760405162461bcd60e51b815260206004820152600f60248201527f53616c65206e6f742061637469766500000000000000000000000000000000006044820152606401610891565b600e805460ff19169055565b6006546001600160a01b03610100909104163314610f115760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b8051610f249060089060208401906127ff565b5050565b6006546001600160a01b03610100909104163314610f765760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b600e54610100900460ff1615610fce5760405162461bcd60e51b815260206004820152601c60248201527f507269766174652053616c65205374617274656420616c7265616479000000006044820152606401610891565b600755600e805461ff001916610100179055565b6000818152600260205260408120546001600160a01b0316806107845760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610891565b60006001600160a01b0382166110eb5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610891565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b036101009091041633146111555760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b610cc46000612007565b6006546001600160a01b036101009091041633146111ad5760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b600955565b6006546001600160a01b036101009091041633146112005760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b610cc4612078565b6006546001600160a01b036101009091041633146112565760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b6127108111156112a85760405162461bcd60e51b815260206004820152601160248201527f494e56414c494420526f79616c746965730000000000000000000000000000006044820152606401610891565b6001600160a01b0382166112fe5760405162461bcd60e51b815260206004820152601060248201527f424c41434b484f4c452057414c4c4554000000000000000000000000000000006044820152606401610891565b600c80546001600160a01b0319166001600160a01b039390931692909217909155600b55565b60606001805461079990612c4d565b600e5460ff166113855760405162461bcd60e51b815260206004820152600f60248201527f53616c65206e6f742061637469766500000000000000000000000000000000006044820152606401610891565b600081118015611396575060148111155b6113e25760405162461bcd60e51b815260206004820152601860248201527f496e76616c6964204e756d626572206f6620546f6b656e7300000000000000006044820152606401610891565b34816007546113f19190612c9e565b111561143f5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f756768204574686572000000000000000000000000000000006044820152606401610891565b6127108161144b610a9b565b6114559190612ce7565b11156114975760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b6044820152606401610891565b60005b81811015610f24576114ab33612100565b806114b581612cff565b91505061149a565b610f24338383612120565b6114d23383611adc565b6115445760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610891565b611550848484846121ef565b50505050565b6000818152600260205260409020546060906001600160a01b03166115e35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610891565b60006115ed61226d565b9050600081511161160d5760405180602001604052806000815250611638565b806116178461227c565b604051602001611628929190612d1a565b6040516020818303038152906040525b9392505050565b6006546001600160a01b0361010090910416331461168d5760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b61271081611699610a9b565b6116a39190612ce7565b11156116e55760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b6044820152606401610891565b60005b818110156109e3576116f983612100565b8061170381612cff565b9150506116e8565b600e54610100900460ff166117625760405162461bcd60e51b815260206004820152601260248201527f50726573616c65206e6f742061637469766500000000000000000000000000006044820152606401610891565b6127108361176e610a9b565b6117789190612ce7565b11156117ba5760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b6044820152606401610891565b34836007546117c99190612c9e565b11156118175760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f756768204574686572000000000000000000000000000000006044820152606401610891565b604080513360601b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034909201909252805191012061188e906009548484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506123ae92505050565b6118da5760405162461bcd60e51b815260206004820181905260248201527f496e76616c6964206164647265737320666f722070726573616c65206d696e746044820152606401610891565b60005b83811015611550576118ee33612100565b806118f881612cff565b9150506118dd565b6006546001600160a01b0361010090910416331461194e5760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b6001600160a01b0381166119ca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610891565b610c6b81612007565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611a3657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061078457507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610784565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611aa382610fe2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611b555760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610891565b6000611b6083610fe2565b9050806001600160a01b0316846001600160a01b03161480611b9b5750836001600160a01b0316611b908461081c565b6001600160a01b0316145b80611bcb57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611be682610fe2565b6001600160a01b031614611c625760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610891565b6001600160a01b038216611cdd5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610891565b611ce88383836123bb565b611cf3600082611a6e565b6001600160a01b0383166000908152600360205260408120805460019290611d1c908490612d49565b90915550506001600160a01b0382166000908152600360205260408120805460019290611d4a908490612ce7565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b80471015611dfb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610891565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611e48576040519150601f19603f3d011682016040523d82523d6000602084013e611e4d565b606091505b50509050806109e35760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610891565b60065460ff16611f165760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610891565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6000611f6b82610fe2565b9050611f79816000846123bb565b611f84600083611a6e565b6001600160a01b0381166000908152600360205260408120805460019290611fad908490612d49565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600680546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60065460ff16156120cb5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610891565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f433390565b6121128161210d600a5490565b61240e565b610c6b600a80546001019055565b816001600160a01b0316836001600160a01b031614156121825760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610891565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6121fa848484611bd3565b61220684848484612428565b6115505760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610891565b60606008805461079990612c4d565b6060816122bc57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156122e657806122d081612cff565b91506122df9050600a83612cd3565b91506122c0565b60008167ffffffffffffffff811115612301576123016129f3565b6040519080825280601f01601f19166020018201604052801561232b576020820181803683370190505b5090505b8415611bcb57612340600183612d49565b915061234d600a86612d60565b612358906030612ce7565b60f81b81838151811061236d5761236d612d74565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506123a7600a86612cd3565b945061232f565b6000611bcb828486612571565b60065460ff16156109e35760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610891565b610f24828260405180602001604052806000815250612587565b60006001600160a01b0384163b1561256657604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061246c903390899088908890600401612d8a565b6020604051808303816000875af19250505080156124a7575060408051601f3d908101601f191682019092526124a491810190612dc6565b60015b61254c573d8080156124d5576040519150601f19603f3d011682016040523d82523d6000602084013e6124da565b606091505b5080516125445760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610891565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bcb565b506001949350505050565b60008261257e8584612605565b14949350505050565b61259183836126b1565b61259e6000848484612428565b6109e35760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610891565b600081815b84518110156126a957600085828151811061262757612627612d74565b60200260200101519050808311612669576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612696565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806126a181612cff565b91505061260a565b509392505050565b6001600160a01b0382166127075760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610891565b6000818152600260205260409020546001600160a01b03161561276c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610891565b612778600083836123bb565b6001600160a01b03821660009081526003602052604081208054600192906127a1908490612ce7565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461280b90612c4d565b90600052602060002090601f01602090048101928261282d5760008555612873565b82601f1061284657805160ff1916838001178555612873565b82800160010185558215612873579182015b82811115612873578251825591602001919060010190612858565b5061287f929150612883565b5090565b5b8082111561287f5760008155600101612884565b6001600160e01b031981168114610c6b57600080fd5b6000602082840312156128c057600080fd5b813561163881612898565b60005b838110156128e65781810151838201526020016128ce565b838111156115505750506000910152565b6000815180845261290f8160208601602086016128cb565b601f01601f19169290920160200192915050565b60208152600061163860208301846128f7565b60006020828403121561294857600080fd5b5035919050565b80356001600160a01b038116811461296657600080fd5b919050565b6000806040838503121561297e57600080fd5b6129878361294f565b946020939093013593505050565b6000806000606084860312156129aa57600080fd5b6129b38461294f565b92506129c16020850161294f565b9150604084013590509250925092565b600080604083850312156129e457600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612a2457612a246129f3565b604051601f8501601f19908116603f01168101908282118183101715612a4c57612a4c6129f3565b81604052809350858152868686011115612a6557600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612a9157600080fd5b813567ffffffffffffffff811115612aa857600080fd5b8201601f81018413612ab957600080fd5b611bcb84823560208401612a09565b600060208284031215612ada57600080fd5b6116388261294f565b60008060408385031215612af657600080fd5b612aff8361294f565b915060208301358015158114612b1457600080fd5b809150509250929050565b60008060008060808587031215612b3557600080fd5b612b3e8561294f565b9350612b4c6020860161294f565b925060408501359150606085013567ffffffffffffffff811115612b6f57600080fd5b8501601f81018713612b8057600080fd5b612b8f87823560208401612a09565b91505092959194509250565b600080600060408486031215612bb057600080fd5b83359250602084013567ffffffffffffffff80821115612bcf57600080fd5b818601915086601f830112612be357600080fd5b813581811115612bf257600080fd5b8760208260051b8501011115612c0757600080fd5b6020830194508093505050509250925092565b60008060408385031215612c2d57600080fd5b612c368361294f565b9150612c446020840161294f565b90509250929050565b600181811c90821680612c6157607f821691505b60208210811415612c8257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612cb857612cb8612c88565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612ce257612ce2612cbd565b500490565b60008219821115612cfa57612cfa612c88565b500190565b6000600019821415612d1357612d13612c88565b5060010190565b60008351612d2c8184602088016128cb565b835190830190612d408183602088016128cb565b01949350505050565b600082821015612d5b57612d5b612c88565b500390565b600082612d6f57612d6f612cbd565b500690565b634e487b7160e01b600052603260045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152612dbc60808301846128f7565b9695505050505050565b600060208284031215612dd857600080fd5b81516116388161289856fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220e38de1b161c74acfcae68f3dd45dcf6936dd24dcca5c16283095c11248da95f364736f6c634300080a00330000000000000000000000000000000000000000000000000000000000000040c9b023425911775baac1c88643a95e1863101f36a279e81f758e21cede3fb885000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f61652d6261636b656e642e6c6f6275732e696f2f73656564732f000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102a05760003560e01c80636352211e1161016e578063ab4b6a4f116100cb578063e3e1e8ef1161007f578063e985e9c511610064578063e985e9c5146106fa578063f2fde38b14610743578063f47c84c51461076357600080fd5b8063e3e1e8ef146106d1578063e73faa2d146106e457600080fd5b8063b8997a97116100b0578063b8997a971461067b578063c87b56dd14610691578063d4d92b14146106b157600080fd5b8063ab4b6a4f1461062e578063b88d4fde1461065b57600080fd5b80638c7ea24b1161012257806395d89b411161010757806395d89b41146105e6578063a0712d68146105fb578063a22cb4651461060e57600080fd5b80638c7ea24b146105a35780638da5cb5b146105c357600080fd5b8063715018a611610153578063715018a6146105595780637f16d6d31461056e5780638456cb591461058e57600080fd5b80636352211e1461051957806370a082311461053957600080fd5b80633ccfd60b1161021c5780634357da58116101d057806355f804b3116101b557806355f804b3146104c15780635b91c510146104e15780635c975abb1461050157600080fd5b80634357da581461049757806355367ba9146104ac57600080fd5b80633f4ba83a116102015780633f4ba83a1461044257806342842e0e1461045757806342966c681461047757600080fd5b80633ccfd60b1461040d5780633f0d2ec11461042257600080fd5b80630e3ab61d116102735780631f7ce34d116102585780631f7ce34d1461039957806323b872dd146103ae5780632a55205a146103ce57600080fd5b80630e3ab61d1461035657806318160ddd1461037657600080fd5b806301ffc9a7146102a557806306fdde03146102da578063081812fc146102fc578063095ea7b314610334575b600080fd5b3480156102b157600080fd5b506102c56102c03660046128ae565b610779565b60405190151581526020015b60405180910390f35b3480156102e657600080fd5b506102ef61078a565b6040516102d19190612923565b34801561030857600080fd5b5061031c610317366004612936565b61081c565b6040516001600160a01b0390911681526020016102d1565b34801561034057600080fd5b5061035461034f36600461296b565b6108b6565b005b34801561036257600080fd5b50610354610371366004612936565b6109e8565b34801561038257600080fd5b5061038b610a9b565b6040519081526020016102d1565b3480156103a557600080fd5b506102ef610aab565b3480156103ba57600080fd5b506103546103c9366004612995565b610b39565b3480156103da57600080fd5b506103ee6103e93660046129d1565b610bc1565b604080516001600160a01b0390931683526020830191909152016102d1565b34801561041957600080fd5b50610354610bfb565b34801561042e57600080fd5b50600c5461031c906001600160a01b031681565b34801561044e57600080fd5b50610354610c6e565b34801561046357600080fd5b50610354610472366004612995565b610cc6565b34801561048357600080fd5b50610354610492366004612936565b610ce1565b3480156104a357600080fd5b50610354610d65565b3480156104b857600080fd5b50610354610e17565b3480156104cd57600080fd5b506103546104dc366004612a7f565b610ec3565b3480156104ed57600080fd5b506103546104fc366004612936565b610f28565b34801561050d57600080fd5b5060065460ff166102c5565b34801561052557600080fd5b5061031c610534366004612936565b610fe2565b34801561054557600080fd5b5061038b610554366004612ac8565b61106d565b34801561056557600080fd5b50610354611107565b34801561057a57600080fd5b50610354610589366004612936565b61115f565b34801561059a57600080fd5b506103546111b2565b3480156105af57600080fd5b506103546105be36600461296b565b611208565b3480156105cf57600080fd5b5060065461010090046001600160a01b031661031c565b3480156105f257600080fd5b506102ef611324565b610354610609366004612936565b611333565b34801561061a57600080fd5b50610354610629366004612ae3565b6114bd565b34801561063a57600080fd5b5061038b610649366004612ac8565b600d6020526000908152604090205481565b34801561066757600080fd5b50610354610676366004612b1f565b6114c8565b34801561068757600080fd5b5061038b600b5481565b34801561069d57600080fd5b506102ef6106ac366004612936565b611556565b3480156106bd57600080fd5b506103546106cc36600461296b565b61163f565b6103546106df366004612b9b565b61170b565b3480156106f057600080fd5b5061038b60075481565b34801561070657600080fd5b506102c5610715366004612c1a565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561074f57600080fd5b5061035461075e366004612ac8565b611900565b34801561076f57600080fd5b5061038b61271081565b6000610784826119d3565b92915050565b60606000805461079990612c4d565b80601f01602080910402602001604051908101604052809291908181526020018280546107c590612c4d565b80156108125780601f106107e757610100808354040283529160200191610812565b820191906000526020600020905b8154815290600101906020018083116107f557829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b031661089a5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b60006108c182610fe2565b9050806001600160a01b0316836001600160a01b0316141561094b5760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610891565b336001600160a01b038216148061096757506109678133610715565b6109d95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610891565b6109e38383611a6e565b505050565b6006546001600160a01b03610100909104163314610a365760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b600e5460ff1615610a895760405162461bcd60e51b815260206004820152600f60248201527f5374617274656420616c726561647900000000000000000000000000000000006044820152606401610891565b600755600e805460ff19166001179055565b6000610aa6600a5490565b905090565b60088054610ab890612c4d565b80601f0160208091040260200160405190810160405280929190818152602001828054610ae490612c4d565b8015610b315780601f10610b0657610100808354040283529160200191610b31565b820191906000526020600020905b815481529060010190602001808311610b1457829003601f168201915b505050505081565b610b44335b82611adc565b610bb65760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610891565b6109e3838383611bd3565b600c54600b5460009182916001600160a01b039091169061271090610be69086612c9e565b610bf09190612cd3565b915091509250929050565b6006546001600160a01b03610100909104163314610c495760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b47610c6b610c656006546001600160a01b036101009091041690565b82611dab565b50565b6006546001600160a01b03610100909104163314610cbc5760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b610cc4611ec4565b565b6109e3838383604051806020016040528060008152506114c8565b610cea33610b3e565b610d5c5760405162461bcd60e51b815260206004820152603060248201527f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f766564000000000000000000000000000000006064820152608401610891565b610c6b81611f60565b6006546001600160a01b03610100909104163314610db35760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b600e54610100900460ff16610e0a5760405162461bcd60e51b815260206004820152601760248201527f507269766174652053616c65206e6f74206163746976650000000000000000006044820152606401610891565b600e805461ff0019169055565b6006546001600160a01b03610100909104163314610e655760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b600e5460ff16610eb75760405162461bcd60e51b815260206004820152600f60248201527f53616c65206e6f742061637469766500000000000000000000000000000000006044820152606401610891565b600e805460ff19169055565b6006546001600160a01b03610100909104163314610f115760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b8051610f249060089060208401906127ff565b5050565b6006546001600160a01b03610100909104163314610f765760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b600e54610100900460ff1615610fce5760405162461bcd60e51b815260206004820152601c60248201527f507269766174652053616c65205374617274656420616c7265616479000000006044820152606401610891565b600755600e805461ff001916610100179055565b6000818152600260205260408120546001600160a01b0316806107845760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610891565b60006001600160a01b0382166110eb5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610891565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b036101009091041633146111555760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b610cc46000612007565b6006546001600160a01b036101009091041633146111ad5760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b600955565b6006546001600160a01b036101009091041633146112005760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b610cc4612078565b6006546001600160a01b036101009091041633146112565760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b6127108111156112a85760405162461bcd60e51b815260206004820152601160248201527f494e56414c494420526f79616c746965730000000000000000000000000000006044820152606401610891565b6001600160a01b0382166112fe5760405162461bcd60e51b815260206004820152601060248201527f424c41434b484f4c452057414c4c4554000000000000000000000000000000006044820152606401610891565b600c80546001600160a01b0319166001600160a01b039390931692909217909155600b55565b60606001805461079990612c4d565b600e5460ff166113855760405162461bcd60e51b815260206004820152600f60248201527f53616c65206e6f742061637469766500000000000000000000000000000000006044820152606401610891565b600081118015611396575060148111155b6113e25760405162461bcd60e51b815260206004820152601860248201527f496e76616c6964204e756d626572206f6620546f6b656e7300000000000000006044820152606401610891565b34816007546113f19190612c9e565b111561143f5760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f756768204574686572000000000000000000000000000000006044820152606401610891565b6127108161144b610a9b565b6114559190612ce7565b11156114975760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b6044820152606401610891565b60005b81811015610f24576114ab33612100565b806114b581612cff565b91505061149a565b610f24338383612120565b6114d23383611adc565b6115445760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60448201527f776e6572206e6f7220617070726f7665640000000000000000000000000000006064820152608401610891565b611550848484846121ef565b50505050565b6000818152600260205260409020546060906001600160a01b03166115e35760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610891565b60006115ed61226d565b9050600081511161160d5760405180602001604052806000815250611638565b806116178461227c565b604051602001611628929190612d1a565b6040516020818303038152906040525b9392505050565b6006546001600160a01b0361010090910416331461168d5760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b61271081611699610a9b565b6116a39190612ce7565b11156116e55760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b6044820152606401610891565b60005b818110156109e3576116f983612100565b8061170381612cff565b9150506116e8565b600e54610100900460ff166117625760405162461bcd60e51b815260206004820152601260248201527f50726573616c65206e6f742061637469766500000000000000000000000000006044820152606401610891565b6127108361176e610a9b565b6117789190612ce7565b11156117ba5760405162461bcd60e51b8152602060048201526011602482015270457863656564204d617820537570706c7960781b6044820152606401610891565b34836007546117c99190612c9e565b11156118175760405162461bcd60e51b815260206004820152601060248201527f4e6f7420456e6f756768204574686572000000000000000000000000000000006044820152606401610891565b604080513360601b6bffffffffffffffffffffffff1916602080830191909152825160148184030181526034909201909252805191012061188e906009548484808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506123ae92505050565b6118da5760405162461bcd60e51b815260206004820181905260248201527f496e76616c6964206164647265737320666f722070726573616c65206d696e746044820152606401610891565b60005b83811015611550576118ee33612100565b806118f881612cff565b9150506118dd565b6006546001600160a01b0361010090910416331461194e5760405162461bcd60e51b81526020600482018190526024820152600080516020612de48339815191526044820152606401610891565b6001600160a01b0381166119ca5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610891565b610c6b81612007565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480611a3657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b8061078457507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b0319831614610784565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611aa382610fe2565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000818152600260205260408120546001600160a01b0316611b555760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610891565b6000611b6083610fe2565b9050806001600160a01b0316846001600160a01b03161480611b9b5750836001600160a01b0316611b908461081c565b6001600160a01b0316145b80611bcb57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff165b949350505050565b826001600160a01b0316611be682610fe2565b6001600160a01b031614611c625760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610891565b6001600160a01b038216611cdd5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610891565b611ce88383836123bb565b611cf3600082611a6e565b6001600160a01b0383166000908152600360205260408120805460019290611d1c908490612d49565b90915550506001600160a01b0382166000908152600360205260408120805460019290611d4a908490612ce7565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b80471015611dfb5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610891565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114611e48576040519150601f19603f3d011682016040523d82523d6000602084013e611e4d565b606091505b50509050806109e35760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610891565b60065460ff16611f165760405162461bcd60e51b815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610891565b6006805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b6000611f6b82610fe2565b9050611f79816000846123bb565b611f84600083611a6e565b6001600160a01b0381166000908152600360205260408120805460019290611fad908490612d49565b909155505060008281526002602052604080822080546001600160a01b0319169055518391906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600680546001600160a01b038381166101008181027fffffffffffffffffffffff0000000000000000000000000000000000000000ff85161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60065460ff16156120cb5760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610891565b6006805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611f433390565b6121128161210d600a5490565b61240e565b610c6b600a80546001019055565b816001600160a01b0316836001600160a01b031614156121825760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610891565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b6121fa848484611bd3565b61220684848484612428565b6115505760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610891565b60606008805461079990612c4d565b6060816122bc57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156122e657806122d081612cff565b91506122df9050600a83612cd3565b91506122c0565b60008167ffffffffffffffff811115612301576123016129f3565b6040519080825280601f01601f19166020018201604052801561232b576020820181803683370190505b5090505b8415611bcb57612340600183612d49565b915061234d600a86612d60565b612358906030612ce7565b60f81b81838151811061236d5761236d612d74565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053506123a7600a86612cd3565b945061232f565b6000611bcb828486612571565b60065460ff16156109e35760405162461bcd60e51b815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610891565b610f24828260405180602001604052806000815250612587565b60006001600160a01b0384163b1561256657604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061246c903390899088908890600401612d8a565b6020604051808303816000875af19250505080156124a7575060408051601f3d908101601f191682019092526124a491810190612dc6565b60015b61254c573d8080156124d5576040519150601f19603f3d011682016040523d82523d6000602084013e6124da565b606091505b5080516125445760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610891565b805181602001fd5b6001600160e01b031916630a85bd0160e11b149050611bcb565b506001949350505050565b60008261257e8584612605565b14949350505050565b61259183836126b1565b61259e6000848484612428565b6109e35760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610891565b600081815b84518110156126a957600085828151811061262757612627612d74565b60200260200101519050808311612669576040805160208101859052908101829052606001604051602081830303815290604052805190602001209250612696565b60408051602081018390529081018490526060016040516020818303038152906040528051906020012092505b50806126a181612cff565b91505061260a565b509392505050565b6001600160a01b0382166127075760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610891565b6000818152600260205260409020546001600160a01b03161561276c5760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610891565b612778600083836123bb565b6001600160a01b03821660009081526003602052604081208054600192906127a1908490612ce7565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b82805461280b90612c4d565b90600052602060002090601f01602090048101928261282d5760008555612873565b82601f1061284657805160ff1916838001178555612873565b82800160010185558215612873579182015b82811115612873578251825591602001919060010190612858565b5061287f929150612883565b5090565b5b8082111561287f5760008155600101612884565b6001600160e01b031981168114610c6b57600080fd5b6000602082840312156128c057600080fd5b813561163881612898565b60005b838110156128e65781810151838201526020016128ce565b838111156115505750506000910152565b6000815180845261290f8160208601602086016128cb565b601f01601f19169290920160200192915050565b60208152600061163860208301846128f7565b60006020828403121561294857600080fd5b5035919050565b80356001600160a01b038116811461296657600080fd5b919050565b6000806040838503121561297e57600080fd5b6129878361294f565b946020939093013593505050565b6000806000606084860312156129aa57600080fd5b6129b38461294f565b92506129c16020850161294f565b9150604084013590509250925092565b600080604083850312156129e457600080fd5b50508035926020909101359150565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612a2457612a246129f3565b604051601f8501601f19908116603f01168101908282118183101715612a4c57612a4c6129f3565b81604052809350858152868686011115612a6557600080fd5b858560208301376000602087830101525050509392505050565b600060208284031215612a9157600080fd5b813567ffffffffffffffff811115612aa857600080fd5b8201601f81018413612ab957600080fd5b611bcb84823560208401612a09565b600060208284031215612ada57600080fd5b6116388261294f565b60008060408385031215612af657600080fd5b612aff8361294f565b915060208301358015158114612b1457600080fd5b809150509250929050565b60008060008060808587031215612b3557600080fd5b612b3e8561294f565b9350612b4c6020860161294f565b925060408501359150606085013567ffffffffffffffff811115612b6f57600080fd5b8501601f81018713612b8057600080fd5b612b8f87823560208401612a09565b91505092959194509250565b600080600060408486031215612bb057600080fd5b83359250602084013567ffffffffffffffff80821115612bcf57600080fd5b818601915086601f830112612be357600080fd5b813581811115612bf257600080fd5b8760208260051b8501011115612c0757600080fd5b6020830194508093505050509250925092565b60008060408385031215612c2d57600080fd5b612c368361294f565b9150612c446020840161294f565b90509250929050565b600181811c90821680612c6157607f821691505b60208210811415612c8257634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052601160045260246000fd5b6000816000190483118215151615612cb857612cb8612c88565b500290565b634e487b7160e01b600052601260045260246000fd5b600082612ce257612ce2612cbd565b500490565b60008219821115612cfa57612cfa612c88565b500190565b6000600019821415612d1357612d13612c88565b5060010190565b60008351612d2c8184602088016128cb565b835190830190612d408183602088016128cb565b01949350505050565b600082821015612d5b57612d5b612c88565b500390565b600082612d6f57612d6f612cbd565b500690565b634e487b7160e01b600052603260045260246000fd5b60006001600160a01b03808716835280861660208401525083604083015260806060830152612dbc60808301846128f7565b9695505050505050565b600060208284031215612dd857600080fd5b81516116388161289856fe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a2646970667358221220e38de1b161c74acfcae68f3dd45dcf6936dd24dcca5c16283095c11248da95f364736f6c634300080a0033

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

0000000000000000000000000000000000000000000000000000000000000040c9b023425911775baac1c88643a95e1863101f36a279e81f758e21cede3fb885000000000000000000000000000000000000000000000000000000000000002268747470733a2f2f61652d6261636b656e642e6c6f6275732e696f2f73656564732f000000000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _newBaseURI (string): https://ae-backend.lobus.io/seeds/
Arg [1] : _pre (bytes32): 0xc9b023425911775baac1c88643a95e1863101f36a279e81f758e21cede3fb885

-----Encoded View---------------
5 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [1] : c9b023425911775baac1c88643a95e1863101f36a279e81f758e21cede3fb885
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000022
Arg [3] : 68747470733a2f2f61652d6261636b656e642e6c6f6275732e696f2f73656564
Arg [4] : 732f000000000000000000000000000000000000000000000000000000000000


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.