ETH Price: $3,444.60 (-1.13%)

Token

Wall Street Dads (WSD)
 

Overview

Max Total Supply

3,000 WSD

Holders

588 (0.00%)

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
3 WSD
0xdC462F20c0F2f7AbA296535A276f09a58F163CE1
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

The finance edge of Wall Street meets family values.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
WallStreetDads

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 1 runs

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

pragma solidity >=0.8.0 <0.9.0;

import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@chainlink/contracts/src/v0.8/VRFConsumerBase.sol";

contract WallStreetDads is ERC721, Ownable, VRFConsumerBase {
    using Strings for uint256;

    string public baseURI;
    string public notRevealedURI;
    string public WSD_PROVENANCE;
    string public baseExtension = ".json";

    uint64 public costpresale = 0.05 ether;
    uint64 public cost = 0.1 ether;

    uint16 public totalSupply = 0;
    uint16 public maxSupply = 10000;
    uint8 public maxMintAmount = 10;
    uint8 public maxMintAmountWhiteList = 2;

    bool public paused = true;
    bool public revealed = false;
    bool public onlyWhitelisted = true;

    address[] public whitelistedAddresses;

    bytes32 public keyHash = 0xAA77729D3466CA35AE8D28B3BBAC7CC36A5031EFDC430821C02BC31A238AF445;
    uint256 public chainlinkFee = 2 * 10**18;
    address public VRF_Coordinator = 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952;
    address public LINK_Token = 0x514910771AF9Ca656af840dff83E8264EcF986CA;

    uint256 public randomShift;

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _initBaseURI,
        string memory _initNotRevealedURI
    ) ERC721(_name, _symbol) VRFConsumerBase(VRF_Coordinator, LINK_Token) {
        setBaseURI(_initBaseURI);
        setNotRevealedURI(_initNotRevealedURI);
    }

    function mint(uint16 _mintAmount) public payable {
        require(!paused, "Please wait until unpaused");
        require(_mintAmount > 0, "Need to mint more than 0");
        require(
            totalSupply + _mintAmount <= maxSupply,
            "Sorry we're running low on Wall Street Dads! Good thing we still have Wall Street Dad jokes! How do you know if a Wall Street Dad is crazy? He's FOMOing at the mouth."
        );

        if (msg.sender != owner()) {
            require(
                _mintAmount <= maxMintAmount,
                "You can't mint more than 10"
            );

            //if general sale
            if (onlyWhitelisted == false) {
                require(
                    msg.value >= cost * _mintAmount,
                    "Insufficient funds for sale"
                );
            }

            //if presale
            if (onlyWhitelisted == true) {
                require(
                    isWhitelisted(msg.sender),
                    "Sorry no access unless you're whitelisted. How do trees do it? They log in."
                );
                uint256 ownerMintedCount = balanceOf(msg.sender); //addressMintedBalance[msg.sender];
                require(
                    ownerMintedCount + _mintAmount <= maxMintAmountWhiteList,
                    "You can't mint more than 2 during presale"
                );
                require(
                    msg.value >= costpresale * _mintAmount,
                    "Insufficient funds for presale"
                );
            }
        }

        for (uint16 i = 1; i <= _mintAmount; i++) {
            _safeMint(msg.sender, totalSupply + 1);
            incrementTotalSupply();
        }
    }

    function isWhitelisted(address _user) public view returns (bool) {
        for (uint16 i = 0; i < whitelistedAddresses.length; i++) {
            if (whitelistedAddresses[i] == _user) {
                return true;
            }
        }
        return false;
    }

    function tokenURI(uint256 tokenId)
        public
        view
        virtual
        override
        returns (string memory)
    {
        require(_exists(tokenId), "tokenID does not exist");

        if (revealed == false) {
            return notRevealedURI;
        }

        string memory currentBaseURI = _baseURI();
        uint256 tokenIdShifted = ((tokenId + randomShift) % maxSupply) + 1;
        return
            bytes(currentBaseURI).length > 0
                ? string(
                    abi.encodePacked(
                        currentBaseURI,
                        tokenIdShifted.toString(),
                        baseExtension
                    )
                )
                : "";
    }

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

    function incrementTotalSupply() internal {
        totalSupply += 1;
    }

    function fulfillRandomness(bytes32, uint256 randomness) internal override {
        randomShift = (randomness % 10000) + 1;
    }

    function getRandomNumber() public onlyOwner returns (bytes32 requestId) {
        require(
            LINK.balanceOf(address(this)) >= chainlinkFee,
            "Not enough LINK"
        );
        return requestRandomness(keyHash, chainlinkFee);
    }

    function reveal() public onlyOwner {
        revealed = true;
    }

    function setMaxMintAmountWhiteList(uint8 _limit) public onlyOwner {
        maxMintAmountWhiteList = _limit;
    }

    function setCostPresale(uint64 _newCostPresale) public onlyOwner {
        costpresale = _newCostPresale;
    }

    function setCost(uint64 _newCost) public onlyOwner {
        cost = _newCost;
    }

    function setmaxMintAmount(uint8 _newmaxMintAmount) public onlyOwner {
        maxMintAmount = _newmaxMintAmount;
    }

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

    function setBaseExtension(string memory _newBaseExtension)
        public
        onlyOwner
    {
        baseExtension = _newBaseExtension;
    }

    function setNotRevealedURI(string memory _notRevealedURI) public onlyOwner {
        notRevealedURI = _notRevealedURI;
    }

    function setProvenanceHash(string memory _provenanceHash) public onlyOwner {
        WSD_PROVENANCE = _provenanceHash;
    }

    function pause(bool _state) public onlyOwner {
        paused = _state;
    }

    function setOnlyWhitelisted(bool _state) public onlyOwner {
        onlyWhitelisted = _state;
    }

    function whitelistUsers(address[] calldata _users) public onlyOwner {
        delete whitelistedAddresses;
        whitelistedAddresses = _users;
    }

    function setKeyHash(bytes32 _keyHash) public onlyOwner {
        keyHash = _keyHash;
    }

    function setChainlinkFee(uint256 _chainlinkFee) public onlyOwner {
        chainlinkFee = _chainlinkFee;
    }

    function withdraw() public payable onlyOwner {
        (bool success, ) = payable(owner()).call{value: address(this).balance}(
            ""
        );
        require(success);
    }
}

File 2 of 14 : VRFConsumerBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/LinkTokenInterface.sol";

import "./VRFRequestIDBase.sol";

/** ****************************************************************************
 * @notice Interface for contracts using VRF randomness
 * *****************************************************************************
 * @dev PURPOSE
 *
 * @dev Reggie the Random Oracle (not his real job) wants to provide randomness
 * @dev to Vera the verifier in such a way that Vera can be sure he's not
 * @dev making his output up to suit himself. Reggie provides Vera a public key
 * @dev to which he knows the secret key. Each time Vera provides a seed to
 * @dev Reggie, he gives back a value which is computed completely
 * @dev deterministically from the seed and the secret key.
 *
 * @dev Reggie provides a proof by which Vera can verify that the output was
 * @dev correctly computed once Reggie tells it to her, but without that proof,
 * @dev the output is indistinguishable to her from a uniform random sample
 * @dev from the output space.
 *
 * @dev The purpose of this contract is to make it easy for unrelated contracts
 * @dev to talk to Vera the verifier about the work Reggie is doing, to provide
 * @dev simple access to a verifiable source of randomness.
 * *****************************************************************************
 * @dev USAGE
 *
 * @dev Calling contracts must inherit from VRFConsumerBase, and can
 * @dev initialize VRFConsumerBase's attributes in their constructor as
 * @dev shown:
 *
 * @dev   contract VRFConsumer {
 * @dev     constuctor(<other arguments>, address _vrfCoordinator, address _link)
 * @dev       VRFConsumerBase(_vrfCoordinator, _link) public {
 * @dev         <initialization with other arguments goes here>
 * @dev       }
 * @dev   }
 *
 * @dev The oracle will have given you an ID for the VRF keypair they have
 * @dev committed to (let's call it keyHash), and have told you the minimum LINK
 * @dev price for VRF service. Make sure your contract has sufficient LINK, and
 * @dev call requestRandomness(keyHash, fee, seed), where seed is the input you
 * @dev want to generate randomness from.
 *
 * @dev Once the VRFCoordinator has received and validated the oracle's response
 * @dev to your request, it will call your contract's fulfillRandomness method.
 *
 * @dev The randomness argument to fulfillRandomness is the actual random value
 * @dev generated from your seed.
 *
 * @dev The requestId argument is generated from the keyHash and the seed by
 * @dev makeRequestId(keyHash, seed). If your contract could have concurrent
 * @dev requests open, you can use the requestId to track which seed is
 * @dev associated with which randomness. See VRFRequestIDBase.sol for more
 * @dev details. (See "SECURITY CONSIDERATIONS" for principles to keep in mind,
 * @dev if your contract could have multiple requests in flight simultaneously.)
 *
 * @dev Colliding `requestId`s are cryptographically impossible as long as seeds
 * @dev differ. (Which is critical to making unpredictable randomness! See the
 * @dev next section.)
 *
 * *****************************************************************************
 * @dev SECURITY CONSIDERATIONS
 *
 * @dev A method with the ability to call your fulfillRandomness method directly
 * @dev could spoof a VRF response with any random value, so it's critical that
 * @dev it cannot be directly called by anything other than this base contract
 * @dev (specifically, by the VRFConsumerBase.rawFulfillRandomness method).
 *
 * @dev For your users to trust that your contract's random behavior is free
 * @dev from malicious interference, it's best if you can write it so that all
 * @dev behaviors implied by a VRF response are executed *during* your
 * @dev fulfillRandomness method. If your contract must store the response (or
 * @dev anything derived from it) and use it later, you must ensure that any
 * @dev user-significant behavior which depends on that stored value cannot be
 * @dev manipulated by a subsequent VRF request.
 *
 * @dev Similarly, both miners and the VRF oracle itself have some influence
 * @dev over the order in which VRF responses appear on the blockchain, so if
 * @dev your contract could have multiple VRF requests in flight simultaneously,
 * @dev you must ensure that the order in which the VRF responses arrive cannot
 * @dev be used to manipulate your contract's user-significant behavior.
 *
 * @dev Since the ultimate input to the VRF is mixed with the block hash of the
 * @dev block in which the request is made, user-provided seeds have no impact
 * @dev on its economic security properties. They are only included for API
 * @dev compatability with previous versions of this contract.
 *
 * @dev Since the block hash of the block which contains the requestRandomness
 * @dev call is mixed into the input to the VRF *last*, a sufficiently powerful
 * @dev miner could, in principle, fork the blockchain to evict the block
 * @dev containing the request, forcing the request to be included in a
 * @dev different block with a different hash, and therefore a different input
 * @dev to the VRF. However, such an attack would incur a substantial economic
 * @dev cost. This cost scales with the number of blocks the VRF oracle waits
 * @dev until it calls responds to a request.
 */
abstract contract VRFConsumerBase is VRFRequestIDBase {

  /**
   * @notice fulfillRandomness handles the VRF response. Your contract must
   * @notice implement it. See "SECURITY CONSIDERATIONS" above for important
   * @notice principles to keep in mind when implementing your fulfillRandomness
   * @notice method.
   *
   * @dev VRFConsumerBase expects its subcontracts to have a method with this
   * @dev signature, and will call it once it has verified the proof
   * @dev associated with the randomness. (It is triggered via a call to
   * @dev rawFulfillRandomness, below.)
   *
   * @param requestId The Id initially returned by requestRandomness
   * @param randomness the VRF output
   */
  function fulfillRandomness(
    bytes32 requestId,
    uint256 randomness
  )
    internal
    virtual;

  /**
   * @dev In order to keep backwards compatibility we have kept the user
   * seed field around. We remove the use of it because given that the blockhash
   * enters later, it overrides whatever randomness the used seed provides.
   * Given that it adds no security, and can easily lead to misunderstandings,
   * we have removed it from usage and can now provide a simpler API.
   */
  uint256 constant private USER_SEED_PLACEHOLDER = 0;

  /**
   * @notice requestRandomness initiates a request for VRF output given _seed
   *
   * @dev The fulfillRandomness method receives the output, once it's provided
   * @dev by the Oracle, and verified by the vrfCoordinator.
   *
   * @dev The _keyHash must already be registered with the VRFCoordinator, and
   * @dev the _fee must exceed the fee specified during registration of the
   * @dev _keyHash.
   *
   * @dev The _seed parameter is vestigial, and is kept only for API
   * @dev compatibility with older versions. It can't *hurt* to mix in some of
   * @dev your own randomness, here, but it's not necessary because the VRF
   * @dev oracle will mix the hash of the block containing your request into the
   * @dev VRF seed it ultimately uses.
   *
   * @param _keyHash ID of public key against which randomness is generated
   * @param _fee The amount of LINK to send with the request
   *
   * @return requestId unique ID for this request
   *
   * @dev The returned requestId can be used to distinguish responses to
   * @dev concurrent requests. It is passed as the first argument to
   * @dev fulfillRandomness.
   */
  function requestRandomness(
    bytes32 _keyHash,
    uint256 _fee
  )
    internal
    returns (
      bytes32 requestId
    )
  {
    LINK.transferAndCall(vrfCoordinator, _fee, abi.encode(_keyHash, USER_SEED_PLACEHOLDER));
    // This is the seed passed to VRFCoordinator. The oracle will mix this with
    // the hash of the block containing this request to obtain the seed/input
    // which is finally passed to the VRF cryptographic machinery.
    uint256 vRFSeed  = makeVRFInputSeed(_keyHash, USER_SEED_PLACEHOLDER, address(this), nonces[_keyHash]);
    // nonces[_keyHash] must stay in sync with
    // VRFCoordinator.nonces[_keyHash][this], which was incremented by the above
    // successful LINK.transferAndCall (in VRFCoordinator.randomnessRequest).
    // This provides protection against the user repeating their input seed,
    // which would result in a predictable/duplicate output, if multiple such
    // requests appeared in the same block.
    nonces[_keyHash] = nonces[_keyHash] + 1;
    return makeRequestId(_keyHash, vRFSeed);
  }

  LinkTokenInterface immutable internal LINK;
  address immutable private vrfCoordinator;

  // Nonces for each VRF key from which randomness has been requested.
  //
  // Must stay in sync with VRFCoordinator[_keyHash][this]
  mapping(bytes32 /* keyHash */ => uint256 /* nonce */) private nonces;

  /**
   * @param _vrfCoordinator address of VRFCoordinator contract
   * @param _link address of LINK token contract
   *
   * @dev https://docs.chain.link/docs/link-token-contracts
   */
  constructor(
    address _vrfCoordinator,
    address _link
  ) {
    vrfCoordinator = _vrfCoordinator;
    LINK = LinkTokenInterface(_link);
  }

  // rawFulfillRandomness is called by VRFCoordinator when it receives a valid VRF
  // proof. rawFulfillRandomness then calls fulfillRandomness, after validating
  // the origin of the call
  function rawFulfillRandomness(
    bytes32 requestId,
    uint256 randomness
  )
    external
  {
    require(msg.sender == vrfCoordinator, "Only VRFCoordinator can fulfill");
    fulfillRandomness(requestId, randomness);
  }
}

File 3 of 14 : 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 4 of 14 : 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 5 of 14 : 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 6 of 14 : 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 7 of 14 : 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 8 of 14 : 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 9 of 14 : 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 10 of 14 : 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 14 : 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 12 of 14 : VRFRequestIDBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

contract VRFRequestIDBase {

  /**
   * @notice returns the seed which is actually input to the VRF coordinator
   *
   * @dev To prevent repetition of VRF output due to repetition of the
   * @dev user-supplied seed, that seed is combined in a hash with the
   * @dev user-specific nonce, and the address of the consuming contract. The
   * @dev risk of repetition is mostly mitigated by inclusion of a blockhash in
   * @dev the final seed, but the nonce does protect against repetition in
   * @dev requests which are included in a single block.
   *
   * @param _userSeed VRF seed input provided by user
   * @param _requester Address of the requesting contract
   * @param _nonce User-specific nonce at the time of the request
   */
  function makeVRFInputSeed(
    bytes32 _keyHash,
    uint256 _userSeed,
    address _requester,
    uint256 _nonce
  )
    internal
    pure
    returns (
      uint256
    )
  {
    return uint256(keccak256(abi.encode(_keyHash, _userSeed, _requester, _nonce)));
  }

  /**
   * @notice Returns the id for this request
   * @param _keyHash The serviceAgreement ID to be used for this request
   * @param _vRFInputSeed The seed to be passed directly to the VRF
   * @return The id for this request
   *
   * @dev Note that _vRFInputSeed is not the seed passed by the consuming
   * @dev contract, but the one generated by makeVRFInputSeed
   */
  function makeRequestId(
    bytes32 _keyHash,
    uint256 _vRFInputSeed
  )
    internal
    pure
    returns (
      bytes32
    )
  {
    return keccak256(abi.encodePacked(_keyHash, _vRFInputSeed));
  }
}

File 13 of 14 : LinkTokenInterface.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

interface LinkTokenInterface {

  function allowance(
    address owner,
    address spender
  )
    external
    view
    returns (
      uint256 remaining
    );

  function approve(
    address spender,
    uint256 value
  )
    external
    returns (
      bool success
    );

  function balanceOf(
    address owner
  )
    external
    view
    returns (
      uint256 balance
    );

  function decimals()
    external
    view
    returns (
      uint8 decimalPlaces
    );

  function decreaseApproval(
    address spender,
    uint256 addedValue
  )
    external
    returns (
      bool success
    );

  function increaseApproval(
    address spender,
    uint256 subtractedValue
  ) external;

  function name()
    external
    view
    returns (
      string memory tokenName
    );

  function symbol()
    external
    view
    returns (
      string memory tokenSymbol
    );

  function totalSupply()
    external
    view
    returns (
      uint256 totalTokensIssued
    );

  function transfer(
    address to,
    uint256 value
  )
    external
    returns (
      bool success
    );

  function transferAndCall(
    address to,
    uint256 value,
    bytes calldata data
  )
    external
    returns (
      bool success
    );

  function transferFrom(
    address from,
    address to,
    uint256 value
  )
    external
    returns (
      bool success
    );

}

File 14 of 14 : 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": 1
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"string","name":"_initNotRevealedURI","type":"string"}],"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":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"},{"inputs":[],"name":"LINK_Token","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"VRF_Coordinator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WSD_PROVENANCE","outputs":[{"internalType":"string","name":"","type":"string"}],"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":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"chainlinkFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cost","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"costpresale","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getRandomNumber","outputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"}],"stateMutability":"nonpayable","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":"address","name":"_user","type":"address"}],"name":"isWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keyHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmountWhiteList","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_mintAmount","type":"uint16"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"notRevealedURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"onlyWhitelisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"randomShift","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"requestId","type":"bytes32"},{"internalType":"uint256","name":"randomness","type":"uint256"}],"name":"rawFulfillRandomness","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"reveal","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"revealed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_chainlinkFee","type":"uint256"}],"name":"setChainlinkFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_newCost","type":"uint64"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"_newCostPresale","type":"uint64"}],"name":"setCostPresale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_keyHash","type":"bytes32"}],"name":"setKeyHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_limit","type":"uint8"}],"name":"setMaxMintAmountWhiteList","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_notRevealedURI","type":"string"}],"name":"setNotRevealedURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"setOnlyWhitelisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint8","name":"_newmaxMintAmount","type":"uint8"}],"name":"setmaxMintAmount","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":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_users","type":"address[]"}],"name":"whitelistUsers","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"whitelistedAddresses","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

610100604052600560c081905264173539b7b760d91b60e09081526200002991600b91906200029e565b50600c805478010001020a27100000016345785d8a000000b1a2bc2ec500006001600160c81b03199091161790557faa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445600e55671bc16d674ec80000600f55601080546001600160a01b031990811673f0d54349addcf704f77ae15b96510dea15cb7952179091556011805490911673514910771af9ca656af840dff83e8264ecf986ca179055348015620000dc57600080fd5b506040516200348538038062003485833981016040819052620000ff91620003fb565b60105460115485516001600160a01b039283169290911690869086906200012e9060009060208501906200029e565b508051620001449060019060208401906200029e565b505050620001616200015b6200019a60201b60201c565b6200019e565b6001600160601b0319606092831b811660a052911b166080526200018582620001f0565b620001908162000246565b505050506200053c565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b33620001fb6200028f565b6001600160a01b0316146200022d5760405162461bcd60e51b81526004016200022490620004b4565b60405180910390fd5b8051620002429060089060208401906200029e565b5050565b33620002516200028f565b6001600160a01b0316146200027a5760405162461bcd60e51b81526004016200022490620004b4565b8051620002429060099060208401906200029e565b6006546001600160a01b031690565b828054620002ac90620004e9565b90600052602060002090601f016020900481019282620002d057600085556200031b565b82601f10620002eb57805160ff19168380011785556200031b565b828001600101855582156200031b579182015b828111156200031b578251825591602001919060010190620002fe565b50620003299291506200032d565b5090565b5b808211156200032957600081556001016200032e565b600082601f8301126200035657600080fd5b81516001600160401b038082111562000373576200037362000526565b604051601f8301601f19908116603f011681019082821181831017156200039e576200039e62000526565b81604052838152602092508683858801011115620003bb57600080fd5b600091505b83821015620003df5785820183015181830184015290820190620003c0565b83821115620003f15760008385830101525b9695505050505050565b600080600080608085870312156200041257600080fd5b84516001600160401b03808211156200042a57600080fd5b620004388883890162000344565b955060208701519150808211156200044f57600080fd5b6200045d8883890162000344565b945060408701519150808211156200047457600080fd5b620004828883890162000344565b935060608701519150808211156200049957600080fd5b50620004a88782880162000344565b91505092959194509250565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600181811c90821680620004fe57607f821691505b602082108114156200052057634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c60a05160601c612f0f620005766000396000818161156b01526121dd01526000818161198401526121ae0152612f0f6000f3fe6080604052600436106102655760003560e01c806301ffc9a71461026a57806302329a291461029f57806306fdde03146102c1578063081812fc146102e3578063095ea7b314610310578063109695231461033057806313faede61461035057806318160ddd1461038f5780631c813e8a146103c4578063239c70ae146103d957806323b872dd1461040c57806323cf0a221461042c578063297cf74c1461043f5780633af32abf1461045f5780633c9527641461047f5780633ccfd60b1461049f57806342842e0e146104a757806345e520f9146104c757806351830227146104e757806355f804b31461050857806357555984146105285780635c975abb1461054857806361728f39146105695780636352211e1461058d5780636a1c301d146105ad5780636c0360eb146105cd57806370a08231146105e2578063715018a61461060257806372250380146106175780637ac98be11461062c5780638da5cb5b1461064257806394985ddd1461065757806395d89b4114610677578063985447101461068c5780639c70b512146106ac578063a22cb465146106cd578063a284673f146106ed578063a475b5dd1461070d578063b830ef7914610722578063b88d4fde14610743578063ba4e5c4914610763578063c07f403014610783578063c6682862146107a3578063c87b56dd146107b8578063d5abeb01146107d8578063da3ef23f146107fa578063dbdff2c11461081a578063e985e9c51461082f578063edec5f271461084f578063f008de191461086f578063f252ce7d14610885578063f2c4ce1e146108a5578063f2fde38b146108c5578063f8f53e6f146108e5575b600080fd5b34801561027657600080fd5b5061028a610285366004612986565b610905565b60405190151581526020015b60405180910390f35b3480156102ab57600080fd5b506102bf6102ba366004612911565b610957565b005b3480156102cd57600080fd5b506102d66109ad565b6040516102969190612c02565b3480156102ef57600080fd5b506103036102fe36600461294b565b610a3f565b6040516102969190612b81565b34801561031c57600080fd5b506102bf61032b366004612873565b610ac7565b34801561033c57600080fd5b506102bf61034b3660046129c0565b610bd8565b34801561035c57600080fd5b50600c5461037790600160401b90046001600160401b031681565b6040516001600160401b039091168152602001610296565b34801561039b57600080fd5b50600c546103b190600160801b900461ffff1681565b60405161ffff9091168152602001610296565b3480156103d057600080fd5b506102d6610c1e565b3480156103e557600080fd5b50600c546103fa90600160a01b900460ff1681565b60405160ff9091168152602001610296565b34801561041857600080fd5b506102bf610427366004612785565b610cac565b6102bf61043a366004612a08565b610cdd565b34801561044b57600080fd5b50601054610303906001600160a01b031681565b34801561046b57600080fd5b5061028a61047a366004612730565b61119f565b34801561048b57600080fd5b506102bf61049a366004612911565b611211565b6102bf61125e565b3480156104b357600080fd5b506102bf6104c2366004612785565b6112f7565b3480156104d357600080fd5b506102bf6104e2366004612a45565b611312565b3480156104f357600080fd5b50600c5461028a90600160b81b900460ff1681565b34801561051457600080fd5b506102bf6105233660046129c0565b61136d565b34801561053457600080fd5b506102bf610543366004612a6e565b6113af565b34801561055457600080fd5b50600c5461028a90600160b01b900460ff1681565b34801561057557600080fd5b5061057f600e5481565b604051908152602001610296565b34801561059957600080fd5b506103036105a836600461294b565b6113fe565b3480156105b957600080fd5b50600c54610377906001600160401b031681565b3480156105d957600080fd5b506102d6611475565b3480156105ee57600080fd5b5061057f6105fd366004612730565b611482565b34801561060e57600080fd5b506102bf611509565b34801561062357600080fd5b506102d6611544565b34801561063857600080fd5b5061057f600f5481565b34801561064e57600080fd5b50610303611551565b34801561066357600080fd5b506102bf610672366004612964565b611560565b34801561068357600080fd5b506102d66115e2565b34801561069857600080fd5b506102bf6106a736600461294b565b6115f1565b3480156106b857600080fd5b50600c5461028a90600160c01b900460ff1681565b3480156106d957600080fd5b506102bf6106e836600461283c565b611625565b3480156106f957600080fd5b506102bf61070836600461294b565b611630565b34801561071957600080fd5b506102bf611664565b34801561072e57600080fd5b50600c546103fa90600160a81b900460ff1681565b34801561074f57600080fd5b506102bf61075e3660046127c1565b6116a8565b34801561076f57600080fd5b5061030361077e36600461294b565b6116e0565b34801561078f57600080fd5b506102bf61079e366004612a45565b61170a565b3480156107af57600080fd5b506102d661175b565b3480156107c457600080fd5b506102d66107d336600461294b565b611768565b3480156107e457600080fd5b50600c546103b190600160901b900461ffff1681565b34801561080657600080fd5b506102bf6108153660046129c0565b6118f7565b34801561082657600080fd5b5061057f611939565b34801561083b57600080fd5b5061028a61084a366004612752565b611a5c565b34801561085b57600080fd5b506102bf61086a36600461289d565b611a8a565b34801561087b57600080fd5b5061057f60125481565b34801561089157600080fd5b50601154610303906001600160a01b031681565b3480156108b157600080fd5b506102bf6108c03660046129c0565b611ad1565b3480156108d157600080fd5b506102bf6108e0366004612730565b611b13565b3480156108f157600080fd5b506102bf610900366004612a6e565b611bb0565b60006001600160e01b031982166380ac58cd60e01b148061093657506001600160e01b03198216635b5e139f60e01b145b8061095157506301ffc9a760e01b6001600160e01b03198316145b92915050565b33610960611551565b6001600160a01b03161461098f5760405162461bcd60e51b815260040161098690612c67565b60405180910390fd5b600c8054911515600160b01b0260ff60b01b19909216919091179055565b6060600080546109bc90612db1565b80601f01602080910402602001604051908101604052809291908181526020018280546109e890612db1565b8015610a355780601f10610a0a57610100808354040283529160200191610a35565b820191906000526020600020905b815481529060010190602001808311610a1857829003601f168201915b5050505050905090565b6000610a4a82611bff565b610aab5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610986565b506000908152600460205260409020546001600160a01b031690565b6000610ad2826113fe565b9050806001600160a01b0316836001600160a01b03161415610b405760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610986565b336001600160a01b0382161480610b5c5750610b5c8133611a5c565b610bc95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610986565b610bd38383611c1c565b505050565b33610be1611551565b6001600160a01b031614610c075760405162461bcd60e51b815260040161098690612c67565b8051610c1a90600a906020840190612595565b5050565b600a8054610c2b90612db1565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5790612db1565b8015610ca45780601f10610c7957610100808354040283529160200191610ca4565b820191906000526020600020905b815481529060010190602001808311610c8757829003601f168201915b505050505081565b610cb63382611c8a565b610cd25760405162461bcd60e51b815260040161098690612c9c565b610bd3838383611d4c565b600c54600160b01b900460ff1615610d345760405162461bcd60e51b815260206004820152601a602482015279141b19585cd9481dd85a5d081d5b9d1a5b081d5b9c185d5cd95960321b6044820152606401610986565b60008161ffff1611610d835760405162461bcd60e51b815260206004820152601860248201527704e65656420746f206d696e74206d6f7265207468616e20360441b6044820152606401610986565b600c5461ffff600160901b8204811691610da6918491600160801b900416612ced565b61ffff161115610ea05760405162461bcd60e51b81526020600482015260a660248201527f536f7272792077652772652072756e6e696e67206c6f77206f6e2057616c6c2060448201527f53747265657420446164732120476f6f64207468696e67207765207374696c6c60648201527f20686176652057616c6c2053747265657420446164206a6f6b65732120486f7760848201527f20646f20796f75206b6e6f7720696620612057616c6c2053747265657420446160a48201527f64206973206372617a793f204865277320464f4d4f696e67206174207468652060c48201526536b7baba341760d11b60e482015261010401610986565b610ea8611551565b6001600160a01b0316336001600160a01b03161461114b57600c54600160a01b900460ff1661ffff82161115610f1e5760405162461bcd60e51b815260206004820152601b60248201527a0596f752063616e2774206d696e74206d6f7265207468616e20313602c1b6044820152606401610986565b600c54600160c01b900460ff16610fa757600c54610f519061ffff831690600160401b90046001600160401b0316612d3f565b6001600160401b0316341015610fa75760405162461bcd60e51b815260206004820152601b60248201527a496e73756666696369656e742066756e647320666f722073616c6560281b6044820152606401610986565b600c54600160c01b900460ff1615156001141561114b57610fc73361119f565b61104d5760405162461bcd60e51b815260206004820152604b60248201527f536f727279206e6f2061636365737320756e6c65737320796f7527726520776860448201527f6974656c69737465642e20486f7720646f20747265657320646f2069743f205460648201526a3432bc903637b39034b71760a91b608482015260a401610986565b600061105833611482565b600c54909150600160a81b900460ff1661107661ffff841683612d13565b11156110d65760405162461bcd60e51b815260206004820152602960248201527f596f752063616e2774206d696e74206d6f7265207468616e203220647572696e604482015268672070726573616c6560b81b6064820152608401610986565b600c546110f19061ffff8416906001600160401b0316612d3f565b6001600160401b03163410156111495760405162461bcd60e51b815260206004820152601e60248201527f496e73756666696369656e742066756e647320666f722070726573616c6500006044820152606401610986565b505b60015b8161ffff168161ffff1611610c1a57600c5461118590339061117c90600160801b900461ffff166001612ced565b61ffff16611eda565b61118d611ef4565b8061119781612dec565b91505061114e565b6000805b600d5461ffff8216101561120857826001600160a01b0316600d8261ffff16815481106111d2576111d2612e69565b6000918252602090912001546001600160a01b031614156111f65750600192915050565b8061120081612dec565b9150506111a3565b50600092915050565b3361121a611551565b6001600160a01b0316146112405760405162461bcd60e51b815260040161098690612c67565b600c8054911515600160c01b0260ff60c01b19909216919091179055565b33611267611551565b6001600160a01b03161461128d5760405162461bcd60e51b815260040161098690612c67565b6000611297611551565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146112e1576040519150601f19603f3d011682016040523d82523d6000602084013e6112e6565b606091505b50509050806112f457600080fd5b50565b610bd3838383604051806020016040528060008152506116a8565b3361131b611551565b6001600160a01b0316146113415760405162461bcd60e51b815260040161098690612c67565b600c80546001600160401b03909216600160401b02600160401b600160801b0319909216919091179055565b33611376611551565b6001600160a01b03161461139c5760405162461bcd60e51b815260040161098690612c67565b8051610c1a906008906020840190612595565b336113b8611551565b6001600160a01b0316146113de5760405162461bcd60e51b815260040161098690612c67565b600c805460ff909216600160a81b0260ff60a81b19909216919091179055565b6000818152600260205260408120546001600160a01b0316806109515760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610986565b60088054610c2b90612db1565b60006001600160a01b0382166114ed5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610986565b506001600160a01b031660009081526003602052604090205490565b33611512611551565b6001600160a01b0316146115385760405162461bcd60e51b815260040161098690612c67565b6115426000611f30565b565b60098054610c2b90612db1565b6006546001600160a01b031690565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146115d85760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610986565b610c1a8282611f82565b6060600180546109bc90612db1565b336115fa611551565b6001600160a01b0316146116205760405162461bcd60e51b815260040161098690612c67565b600e55565b610c1a338383611fa0565b33611639611551565b6001600160a01b03161461165f5760405162461bcd60e51b815260040161098690612c67565b600f55565b3361166d611551565b6001600160a01b0316146116935760405162461bcd60e51b815260040161098690612c67565b600c805460ff60b81b1916600160b81b179055565b6116b23383611c8a565b6116ce5760405162461bcd60e51b815260040161098690612c9c565b6116da8484848461206b565b50505050565b600d81815481106116f057600080fd5b6000918252602090912001546001600160a01b0316905081565b33611713611551565b6001600160a01b0316146117395760405162461bcd60e51b815260040161098690612c67565b600c80546001600160401b0319166001600160401b0392909216919091179055565b600b8054610c2b90612db1565b606061177382611bff565b6117b85760405162461bcd60e51b81526020600482015260166024820152751d1bdad95b925108191bd95cc81b9bdd08195e1a5cdd60521b6044820152606401610986565b600c54600160b81b900460ff1661185b57600980546117d690612db1565b80601f016020809104026020016040519081016040528092919081815260200182805461180290612db1565b801561184f5780601f106118245761010080835404028352916020019161184f565b820191906000526020600020905b81548152906001019060200180831161183257829003601f168201915b50505050509050919050565b600061186561209e565b90506000600c60129054906101000a900461ffff1661ffff166012548561188c9190612d13565b6118969190612e29565b6118a1906001612d13565b905060008251116118c157604051806020016040528060008152506118ef565b816118cb826120ad565b600b6040516020016118df93929190612abd565b6040516020818303038152906040525b949350505050565b33611900611551565b6001600160a01b0316146119265760405162461bcd60e51b815260040161098690612c67565b8051610c1a90600b906020840190612595565b600033611944611551565b6001600160a01b03161461196a5760405162461bcd60e51b815260040161098690612c67565b600f546040516370a0823160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016906370a08231906119b9903090600401612b81565b60206040518083038186803b1580156119d157600080fd5b505afa1580156119e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a099190612a2c565b1015611a495760405162461bcd60e51b815260206004820152600f60248201526e4e6f7420656e6f756768204c494e4b60881b6044820152606401610986565b611a57600e54600f546121aa565b905090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33611a93611551565b6001600160a01b031614611ab95760405162461bcd60e51b815260040161098690612c67565b611ac5600d6000612619565b610bd3600d8383612637565b33611ada611551565b6001600160a01b031614611b005760405162461bcd60e51b815260040161098690612c67565b8051610c1a906009906020840190612595565b33611b1c611551565b6001600160a01b031614611b425760405162461bcd60e51b815260040161098690612c67565b6001600160a01b038116611ba75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610986565b6112f481611f30565b33611bb9611551565b6001600160a01b031614611bdf5760405162461bcd60e51b815260040161098690612c67565b600c805460ff909216600160a01b0260ff60a01b19909216919091179055565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c51826113fe565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c9582611bff565b611cf65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610986565b6000611d01836113fe565b9050806001600160a01b0316846001600160a01b03161480611d3c5750836001600160a01b0316611d3184610a3f565b6001600160a01b0316145b806118ef57506118ef8185611a5c565b826001600160a01b0316611d5f826113fe565b6001600160a01b031614611dc75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610986565b6001600160a01b038216611e295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610986565b611e34600082611c1c565b6001600160a01b0383166000908152600360205260408120805460019290611e5d908490612d6e565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e8b908490612d13565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020612eba83398151915291a4505050565b610c1a828260405180602001604052806000815250612335565b6001600c60108282829054906101000a900461ffff16611f149190612ced565b92506101000a81548161ffff021916908361ffff160217905550565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611f8e61271082612e29565b611f99906001612d13565b6012555050565b816001600160a01b0316836001600160a01b03161415611ffe5760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610986565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612076848484611d4c565b61208284848484612368565b6116da5760405162461bcd60e51b815260040161098690612c15565b6060600880546109bc90612db1565b6060816120d15750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120fb57806120e581612e0e565b91506120f49050600a83612d2b565b91506120d5565b6000816001600160401b0381111561211557612115612e7f565b6040519080825280601f01601f19166020018201604052801561213f576020820181803683370190505b5090505b84156118ef57612154600183612d6e565b9150612161600a86612e29565b61216c906030612d13565b60f81b81838151811061218157612181612e69565b60200101906001600160f81b031916908160001a9053506121a3600a86612d2b565b9450612143565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634000aea07f00000000000000000000000000000000000000000000000000000000000000008486600060405160200161221a929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161224793929190612bd2565b602060405180830381600087803b15801561226157600080fd5b505af1158015612275573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612299919061292e565b50600083815260076020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a0909101909252815191830191909120938790529190526122f5906001612d13565b6000858152600760205260409020556118ef8482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b61233f8383612475565b61234c6000848484612368565b610bd35760405162461bcd60e51b815260040161098690612c15565b60006001600160a01b0384163b1561246a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123ac903390899088908890600401612b95565b602060405180830381600087803b1580156123c657600080fd5b505af19250505080156123f6575060408051601f3d908101601f191682019092526123f3918101906129a3565b60015b612450573d808015612424576040519150601f19603f3d011682016040523d82523d6000602084013e612429565b606091505b5080516124485760405162461bcd60e51b815260040161098690612c15565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118ef565b506001949350505050565b6001600160a01b0382166124cb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610986565b6124d481611bff565b156125205760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b6044820152606401610986565b6001600160a01b0382166000908152600360205260408120805460019290612549908490612d13565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020612eba833981519152908290a45050565b8280546125a190612db1565b90600052602060002090601f0160209004810192826125c35760008555612609565b82601f106125dc57805160ff1916838001178555612609565b82800160010185558215612609579182015b828111156126095782518255916020019190600101906125ee565b5061261592915061268a565b5090565b50805460008255906000526020600020908101906112f4919061268a565b828054828255906000526020600020908101928215612609579160200282015b828111156126095781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612657565b5b80821115612615576000815560010161268b565b60006001600160401b03808411156126b9576126b9612e7f565b604051601f8501601f19908116603f011681019082821181831017156126e1576126e1612e7f565b816040528093508581528686860111156126fa57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461272b57600080fd5b919050565b60006020828403121561274257600080fd5b61274b82612714565b9392505050565b6000806040838503121561276557600080fd5b61276e83612714565b915061277c60208401612714565b90509250929050565b60008060006060848603121561279a57600080fd5b6127a384612714565b92506127b160208501612714565b9150604084013590509250925092565b600080600080608085870312156127d757600080fd5b6127e085612714565b93506127ee60208601612714565b92506040850135915060608501356001600160401b0381111561281057600080fd5b8501601f8101871361282157600080fd5b6128308782356020840161269f565b91505092959194509250565b6000806040838503121561284f57600080fd5b61285883612714565b9150602083013561286881612e95565b809150509250929050565b6000806040838503121561288657600080fd5b61288f83612714565b946020939093013593505050565b600080602083850312156128b057600080fd5b82356001600160401b03808211156128c757600080fd5b818501915085601f8301126128db57600080fd5b8135818111156128ea57600080fd5b8660208260051b85010111156128ff57600080fd5b60209290920196919550909350505050565b60006020828403121561292357600080fd5b813561274b81612e95565b60006020828403121561294057600080fd5b815161274b81612e95565b60006020828403121561295d57600080fd5b5035919050565b6000806040838503121561297757600080fd5b50508035926020909101359150565b60006020828403121561299857600080fd5b813561274b81612ea3565b6000602082840312156129b557600080fd5b815161274b81612ea3565b6000602082840312156129d257600080fd5b81356001600160401b038111156129e857600080fd5b8201601f810184136129f957600080fd5b6118ef8482356020840161269f565b600060208284031215612a1a57600080fd5b813561ffff8116811461274b57600080fd5b600060208284031215612a3e57600080fd5b5051919050565b600060208284031215612a5757600080fd5b81356001600160401b038116811461274b57600080fd5b600060208284031215612a8057600080fd5b813560ff8116811461274b57600080fd5b60008151808452612aa9816020860160208601612d85565b601f01601f19169290920160200192915050565b600084516020612ad08285838a01612d85565b855191840191612ae38184848a01612d85565b8554920191600090600181811c9080831680612b0057607f831692505b858310811415612b1e57634e487b7160e01b85526022600452602485fd5b808015612b325760018114612b4357612b70565b60ff19851688528388019550612b70565b60008b81526020902060005b85811015612b685781548a820152908401908801612b4f565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612bc890830184612a91565b9695505050505050565b60018060a01b0384168152826020820152606060408201526000612bf96060830184612a91565b95945050505050565b60208152600061274b6020830184612a91565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600061ffff808316818516808303821115612d0a57612d0a612e3d565b01949350505050565b60008219821115612d2657612d26612e3d565b500190565b600082612d3a57612d3a612e53565b500490565b60006001600160401b0382811684821681151582840482111615612d6557612d65612e3d565b02949350505050565b600082821015612d8057612d80612e3d565b500390565b60005b83811015612da0578181015183820152602001612d88565b838111156116da5750506000910152565b600181811c90821680612dc557607f821691505b60208210811415612de657634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415612e0457612e04612e3d565b6001019392505050565b6000600019821415612e2257612e22612e3d565b5060010190565b600082612e3857612e38612e53565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146112f457600080fd5b6001600160e01b0319811681146112f457600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212206c956531566487169bd6b8dfac24c175fcc129a3c03522b36dd23fe430b23b9764736f6c63430008070033000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000001057616c6c205374726565742044616473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003575344000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d577044703868685534384b703939395661716b66435a355234425431345854516e555554567676325a5541542f00000000000000000000

Deployed Bytecode

0x6080604052600436106102655760003560e01c806301ffc9a71461026a57806302329a291461029f57806306fdde03146102c1578063081812fc146102e3578063095ea7b314610310578063109695231461033057806313faede61461035057806318160ddd1461038f5780631c813e8a146103c4578063239c70ae146103d957806323b872dd1461040c57806323cf0a221461042c578063297cf74c1461043f5780633af32abf1461045f5780633c9527641461047f5780633ccfd60b1461049f57806342842e0e146104a757806345e520f9146104c757806351830227146104e757806355f804b31461050857806357555984146105285780635c975abb1461054857806361728f39146105695780636352211e1461058d5780636a1c301d146105ad5780636c0360eb146105cd57806370a08231146105e2578063715018a61461060257806372250380146106175780637ac98be11461062c5780638da5cb5b1461064257806394985ddd1461065757806395d89b4114610677578063985447101461068c5780639c70b512146106ac578063a22cb465146106cd578063a284673f146106ed578063a475b5dd1461070d578063b830ef7914610722578063b88d4fde14610743578063ba4e5c4914610763578063c07f403014610783578063c6682862146107a3578063c87b56dd146107b8578063d5abeb01146107d8578063da3ef23f146107fa578063dbdff2c11461081a578063e985e9c51461082f578063edec5f271461084f578063f008de191461086f578063f252ce7d14610885578063f2c4ce1e146108a5578063f2fde38b146108c5578063f8f53e6f146108e5575b600080fd5b34801561027657600080fd5b5061028a610285366004612986565b610905565b60405190151581526020015b60405180910390f35b3480156102ab57600080fd5b506102bf6102ba366004612911565b610957565b005b3480156102cd57600080fd5b506102d66109ad565b6040516102969190612c02565b3480156102ef57600080fd5b506103036102fe36600461294b565b610a3f565b6040516102969190612b81565b34801561031c57600080fd5b506102bf61032b366004612873565b610ac7565b34801561033c57600080fd5b506102bf61034b3660046129c0565b610bd8565b34801561035c57600080fd5b50600c5461037790600160401b90046001600160401b031681565b6040516001600160401b039091168152602001610296565b34801561039b57600080fd5b50600c546103b190600160801b900461ffff1681565b60405161ffff9091168152602001610296565b3480156103d057600080fd5b506102d6610c1e565b3480156103e557600080fd5b50600c546103fa90600160a01b900460ff1681565b60405160ff9091168152602001610296565b34801561041857600080fd5b506102bf610427366004612785565b610cac565b6102bf61043a366004612a08565b610cdd565b34801561044b57600080fd5b50601054610303906001600160a01b031681565b34801561046b57600080fd5b5061028a61047a366004612730565b61119f565b34801561048b57600080fd5b506102bf61049a366004612911565b611211565b6102bf61125e565b3480156104b357600080fd5b506102bf6104c2366004612785565b6112f7565b3480156104d357600080fd5b506102bf6104e2366004612a45565b611312565b3480156104f357600080fd5b50600c5461028a90600160b81b900460ff1681565b34801561051457600080fd5b506102bf6105233660046129c0565b61136d565b34801561053457600080fd5b506102bf610543366004612a6e565b6113af565b34801561055457600080fd5b50600c5461028a90600160b01b900460ff1681565b34801561057557600080fd5b5061057f600e5481565b604051908152602001610296565b34801561059957600080fd5b506103036105a836600461294b565b6113fe565b3480156105b957600080fd5b50600c54610377906001600160401b031681565b3480156105d957600080fd5b506102d6611475565b3480156105ee57600080fd5b5061057f6105fd366004612730565b611482565b34801561060e57600080fd5b506102bf611509565b34801561062357600080fd5b506102d6611544565b34801561063857600080fd5b5061057f600f5481565b34801561064e57600080fd5b50610303611551565b34801561066357600080fd5b506102bf610672366004612964565b611560565b34801561068357600080fd5b506102d66115e2565b34801561069857600080fd5b506102bf6106a736600461294b565b6115f1565b3480156106b857600080fd5b50600c5461028a90600160c01b900460ff1681565b3480156106d957600080fd5b506102bf6106e836600461283c565b611625565b3480156106f957600080fd5b506102bf61070836600461294b565b611630565b34801561071957600080fd5b506102bf611664565b34801561072e57600080fd5b50600c546103fa90600160a81b900460ff1681565b34801561074f57600080fd5b506102bf61075e3660046127c1565b6116a8565b34801561076f57600080fd5b5061030361077e36600461294b565b6116e0565b34801561078f57600080fd5b506102bf61079e366004612a45565b61170a565b3480156107af57600080fd5b506102d661175b565b3480156107c457600080fd5b506102d66107d336600461294b565b611768565b3480156107e457600080fd5b50600c546103b190600160901b900461ffff1681565b34801561080657600080fd5b506102bf6108153660046129c0565b6118f7565b34801561082657600080fd5b5061057f611939565b34801561083b57600080fd5b5061028a61084a366004612752565b611a5c565b34801561085b57600080fd5b506102bf61086a36600461289d565b611a8a565b34801561087b57600080fd5b5061057f60125481565b34801561089157600080fd5b50601154610303906001600160a01b031681565b3480156108b157600080fd5b506102bf6108c03660046129c0565b611ad1565b3480156108d157600080fd5b506102bf6108e0366004612730565b611b13565b3480156108f157600080fd5b506102bf610900366004612a6e565b611bb0565b60006001600160e01b031982166380ac58cd60e01b148061093657506001600160e01b03198216635b5e139f60e01b145b8061095157506301ffc9a760e01b6001600160e01b03198316145b92915050565b33610960611551565b6001600160a01b03161461098f5760405162461bcd60e51b815260040161098690612c67565b60405180910390fd5b600c8054911515600160b01b0260ff60b01b19909216919091179055565b6060600080546109bc90612db1565b80601f01602080910402602001604051908101604052809291908181526020018280546109e890612db1565b8015610a355780601f10610a0a57610100808354040283529160200191610a35565b820191906000526020600020905b815481529060010190602001808311610a1857829003601f168201915b5050505050905090565b6000610a4a82611bff565b610aab5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610986565b506000908152600460205260409020546001600160a01b031690565b6000610ad2826113fe565b9050806001600160a01b0316836001600160a01b03161415610b405760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e656044820152603960f91b6064820152608401610986565b336001600160a01b0382161480610b5c5750610b5c8133611a5c565b610bc95760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f776044820152771b995c881b9bdc88185c1c1c9bdd995908199bdc88185b1b60421b6064820152608401610986565b610bd38383611c1c565b505050565b33610be1611551565b6001600160a01b031614610c075760405162461bcd60e51b815260040161098690612c67565b8051610c1a90600a906020840190612595565b5050565b600a8054610c2b90612db1565b80601f0160208091040260200160405190810160405280929190818152602001828054610c5790612db1565b8015610ca45780601f10610c7957610100808354040283529160200191610ca4565b820191906000526020600020905b815481529060010190602001808311610c8757829003601f168201915b505050505081565b610cb63382611c8a565b610cd25760405162461bcd60e51b815260040161098690612c9c565b610bd3838383611d4c565b600c54600160b01b900460ff1615610d345760405162461bcd60e51b815260206004820152601a602482015279141b19585cd9481dd85a5d081d5b9d1a5b081d5b9c185d5cd95960321b6044820152606401610986565b60008161ffff1611610d835760405162461bcd60e51b815260206004820152601860248201527704e65656420746f206d696e74206d6f7265207468616e20360441b6044820152606401610986565b600c5461ffff600160901b8204811691610da6918491600160801b900416612ced565b61ffff161115610ea05760405162461bcd60e51b81526020600482015260a660248201527f536f7272792077652772652072756e6e696e67206c6f77206f6e2057616c6c2060448201527f53747265657420446164732120476f6f64207468696e67207765207374696c6c60648201527f20686176652057616c6c2053747265657420446164206a6f6b65732120486f7760848201527f20646f20796f75206b6e6f7720696620612057616c6c2053747265657420446160a48201527f64206973206372617a793f204865277320464f4d4f696e67206174207468652060c48201526536b7baba341760d11b60e482015261010401610986565b610ea8611551565b6001600160a01b0316336001600160a01b03161461114b57600c54600160a01b900460ff1661ffff82161115610f1e5760405162461bcd60e51b815260206004820152601b60248201527a0596f752063616e2774206d696e74206d6f7265207468616e20313602c1b6044820152606401610986565b600c54600160c01b900460ff16610fa757600c54610f519061ffff831690600160401b90046001600160401b0316612d3f565b6001600160401b0316341015610fa75760405162461bcd60e51b815260206004820152601b60248201527a496e73756666696369656e742066756e647320666f722073616c6560281b6044820152606401610986565b600c54600160c01b900460ff1615156001141561114b57610fc73361119f565b61104d5760405162461bcd60e51b815260206004820152604b60248201527f536f727279206e6f2061636365737320756e6c65737320796f7527726520776860448201527f6974656c69737465642e20486f7720646f20747265657320646f2069743f205460648201526a3432bc903637b39034b71760a91b608482015260a401610986565b600061105833611482565b600c54909150600160a81b900460ff1661107661ffff841683612d13565b11156110d65760405162461bcd60e51b815260206004820152602960248201527f596f752063616e2774206d696e74206d6f7265207468616e203220647572696e604482015268672070726573616c6560b81b6064820152608401610986565b600c546110f19061ffff8416906001600160401b0316612d3f565b6001600160401b03163410156111495760405162461bcd60e51b815260206004820152601e60248201527f496e73756666696369656e742066756e647320666f722070726573616c6500006044820152606401610986565b505b60015b8161ffff168161ffff1611610c1a57600c5461118590339061117c90600160801b900461ffff166001612ced565b61ffff16611eda565b61118d611ef4565b8061119781612dec565b91505061114e565b6000805b600d5461ffff8216101561120857826001600160a01b0316600d8261ffff16815481106111d2576111d2612e69565b6000918252602090912001546001600160a01b031614156111f65750600192915050565b8061120081612dec565b9150506111a3565b50600092915050565b3361121a611551565b6001600160a01b0316146112405760405162461bcd60e51b815260040161098690612c67565b600c8054911515600160c01b0260ff60c01b19909216919091179055565b33611267611551565b6001600160a01b03161461128d5760405162461bcd60e51b815260040161098690612c67565b6000611297611551565b6001600160a01b03164760405160006040518083038185875af1925050503d80600081146112e1576040519150601f19603f3d011682016040523d82523d6000602084013e6112e6565b606091505b50509050806112f457600080fd5b50565b610bd3838383604051806020016040528060008152506116a8565b3361131b611551565b6001600160a01b0316146113415760405162461bcd60e51b815260040161098690612c67565b600c80546001600160401b03909216600160401b02600160401b600160801b0319909216919091179055565b33611376611551565b6001600160a01b03161461139c5760405162461bcd60e51b815260040161098690612c67565b8051610c1a906008906020840190612595565b336113b8611551565b6001600160a01b0316146113de5760405162461bcd60e51b815260040161098690612c67565b600c805460ff909216600160a81b0260ff60a81b19909216919091179055565b6000818152600260205260408120546001600160a01b0316806109515760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201526832b73a103a37b5b2b760b91b6064820152608401610986565b60088054610c2b90612db1565b60006001600160a01b0382166114ed5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a65604482015269726f206164647265737360b01b6064820152608401610986565b506001600160a01b031660009081526003602052604090205490565b33611512611551565b6001600160a01b0316146115385760405162461bcd60e51b815260040161098690612c67565b6115426000611f30565b565b60098054610c2b90612db1565b6006546001600160a01b031690565b336001600160a01b037f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795216146115d85760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610986565b610c1a8282611f82565b6060600180546109bc90612db1565b336115fa611551565b6001600160a01b0316146116205760405162461bcd60e51b815260040161098690612c67565b600e55565b610c1a338383611fa0565b33611639611551565b6001600160a01b03161461165f5760405162461bcd60e51b815260040161098690612c67565b600f55565b3361166d611551565b6001600160a01b0316146116935760405162461bcd60e51b815260040161098690612c67565b600c805460ff60b81b1916600160b81b179055565b6116b23383611c8a565b6116ce5760405162461bcd60e51b815260040161098690612c9c565b6116da8484848461206b565b50505050565b600d81815481106116f057600080fd5b6000918252602090912001546001600160a01b0316905081565b33611713611551565b6001600160a01b0316146117395760405162461bcd60e51b815260040161098690612c67565b600c80546001600160401b0319166001600160401b0392909216919091179055565b600b8054610c2b90612db1565b606061177382611bff565b6117b85760405162461bcd60e51b81526020600482015260166024820152751d1bdad95b925108191bd95cc81b9bdd08195e1a5cdd60521b6044820152606401610986565b600c54600160b81b900460ff1661185b57600980546117d690612db1565b80601f016020809104026020016040519081016040528092919081815260200182805461180290612db1565b801561184f5780601f106118245761010080835404028352916020019161184f565b820191906000526020600020905b81548152906001019060200180831161183257829003601f168201915b50505050509050919050565b600061186561209e565b90506000600c60129054906101000a900461ffff1661ffff166012548561188c9190612d13565b6118969190612e29565b6118a1906001612d13565b905060008251116118c157604051806020016040528060008152506118ef565b816118cb826120ad565b600b6040516020016118df93929190612abd565b6040516020818303038152906040525b949350505050565b33611900611551565b6001600160a01b0316146119265760405162461bcd60e51b815260040161098690612c67565b8051610c1a90600b906020840190612595565b600033611944611551565b6001600160a01b03161461196a5760405162461bcd60e51b815260040161098690612c67565b600f546040516370a0823160e01b81526001600160a01b037f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca16906370a08231906119b9903090600401612b81565b60206040518083038186803b1580156119d157600080fd5b505afa1580156119e5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a099190612a2c565b1015611a495760405162461bcd60e51b815260206004820152600f60248201526e4e6f7420656e6f756768204c494e4b60881b6044820152606401610986565b611a57600e54600f546121aa565b905090565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b33611a93611551565b6001600160a01b031614611ab95760405162461bcd60e51b815260040161098690612c67565b611ac5600d6000612619565b610bd3600d8383612637565b33611ada611551565b6001600160a01b031614611b005760405162461bcd60e51b815260040161098690612c67565b8051610c1a906009906020840190612595565b33611b1c611551565b6001600160a01b031614611b425760405162461bcd60e51b815260040161098690612c67565b6001600160a01b038116611ba75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610986565b6112f481611f30565b33611bb9611551565b6001600160a01b031614611bdf5760405162461bcd60e51b815260040161098690612c67565b600c805460ff909216600160a01b0260ff60a01b19909216919091179055565b6000908152600260205260409020546001600160a01b0316151590565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190611c51826113fe565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b6000611c9582611bff565b611cf65760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610986565b6000611d01836113fe565b9050806001600160a01b0316846001600160a01b03161480611d3c5750836001600160a01b0316611d3184610a3f565b6001600160a01b0316145b806118ef57506118ef8185611a5c565b826001600160a01b0316611d5f826113fe565b6001600160a01b031614611dc75760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201526839903737ba1037bbb760b91b6064820152608401610986565b6001600160a01b038216611e295760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f206164646044820152637265737360e01b6064820152608401610986565b611e34600082611c1c565b6001600160a01b0383166000908152600360205260408120805460019290611e5d908490612d6e565b90915550506001600160a01b0382166000908152600360205260408120805460019290611e8b908490612d13565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b038681169182179092559151849391871691600080516020612eba83398151915291a4505050565b610c1a828260405180602001604052806000815250612335565b6001600c60108282829054906101000a900461ffff16611f149190612ced565b92506101000a81548161ffff021916908361ffff160217905550565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b611f8e61271082612e29565b611f99906001612d13565b6012555050565b816001600160a01b0316836001600160a01b03161415611ffe5760405162461bcd60e51b815260206004820152601960248201527822a9219b99189d1030b8383937bb32903a379031b0b63632b960391b6044820152606401610986565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b612076848484611d4c565b61208284848484612368565b6116da5760405162461bcd60e51b815260040161098690612c15565b6060600880546109bc90612db1565b6060816120d15750506040805180820190915260018152600360fc1b602082015290565b8160005b81156120fb57806120e581612e0e565b91506120f49050600a83612d2b565b91506120d5565b6000816001600160401b0381111561211557612115612e7f565b6040519080825280601f01601f19166020018201604052801561213f576020820181803683370190505b5090505b84156118ef57612154600183612d6e565b9150612161600a86612e29565b61216c906030612d13565b60f81b81838151811061218157612181612e69565b60200101906001600160f81b031916908160001a9053506121a3600a86612d2b565b9450612143565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb79528486600060405160200161221a929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b815260040161224793929190612bd2565b602060405180830381600087803b15801561226157600080fd5b505af1158015612275573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612299919061292e565b50600083815260076020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a0909101909252815191830191909120938790529190526122f5906001612d13565b6000858152600760205260409020556118ef8482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b61233f8383612475565b61234c6000848484612368565b610bd35760405162461bcd60e51b815260040161098690612c15565b60006001600160a01b0384163b1561246a57604051630a85bd0160e11b81526001600160a01b0385169063150b7a02906123ac903390899088908890600401612b95565b602060405180830381600087803b1580156123c657600080fd5b505af19250505080156123f6575060408051601f3d908101601f191682019092526123f3918101906129a3565b60015b612450573d808015612424576040519150601f19603f3d011682016040523d82523d6000602084013e612429565b606091505b5080516124485760405162461bcd60e51b815260040161098690612c15565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506118ef565b506001949350505050565b6001600160a01b0382166124cb5760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610986565b6124d481611bff565b156125205760405162461bcd60e51b815260206004820152601c60248201527b115490cdcc8c4e881d1bdad95b88185b1c9958591e481b5a5b9d195960221b6044820152606401610986565b6001600160a01b0382166000908152600360205260408120805460019290612549908490612d13565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386169081179091559051839290600080516020612eba833981519152908290a45050565b8280546125a190612db1565b90600052602060002090601f0160209004810192826125c35760008555612609565b82601f106125dc57805160ff1916838001178555612609565b82800160010185558215612609579182015b828111156126095782518255916020019190600101906125ee565b5061261592915061268a565b5090565b50805460008255906000526020600020908101906112f4919061268a565b828054828255906000526020600020908101928215612609579160200282015b828111156126095781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190612657565b5b80821115612615576000815560010161268b565b60006001600160401b03808411156126b9576126b9612e7f565b604051601f8501601f19908116603f011681019082821181831017156126e1576126e1612e7f565b816040528093508581528686860111156126fa57600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b038116811461272b57600080fd5b919050565b60006020828403121561274257600080fd5b61274b82612714565b9392505050565b6000806040838503121561276557600080fd5b61276e83612714565b915061277c60208401612714565b90509250929050565b60008060006060848603121561279a57600080fd5b6127a384612714565b92506127b160208501612714565b9150604084013590509250925092565b600080600080608085870312156127d757600080fd5b6127e085612714565b93506127ee60208601612714565b92506040850135915060608501356001600160401b0381111561281057600080fd5b8501601f8101871361282157600080fd5b6128308782356020840161269f565b91505092959194509250565b6000806040838503121561284f57600080fd5b61285883612714565b9150602083013561286881612e95565b809150509250929050565b6000806040838503121561288657600080fd5b61288f83612714565b946020939093013593505050565b600080602083850312156128b057600080fd5b82356001600160401b03808211156128c757600080fd5b818501915085601f8301126128db57600080fd5b8135818111156128ea57600080fd5b8660208260051b85010111156128ff57600080fd5b60209290920196919550909350505050565b60006020828403121561292357600080fd5b813561274b81612e95565b60006020828403121561294057600080fd5b815161274b81612e95565b60006020828403121561295d57600080fd5b5035919050565b6000806040838503121561297757600080fd5b50508035926020909101359150565b60006020828403121561299857600080fd5b813561274b81612ea3565b6000602082840312156129b557600080fd5b815161274b81612ea3565b6000602082840312156129d257600080fd5b81356001600160401b038111156129e857600080fd5b8201601f810184136129f957600080fd5b6118ef8482356020840161269f565b600060208284031215612a1a57600080fd5b813561ffff8116811461274b57600080fd5b600060208284031215612a3e57600080fd5b5051919050565b600060208284031215612a5757600080fd5b81356001600160401b038116811461274b57600080fd5b600060208284031215612a8057600080fd5b813560ff8116811461274b57600080fd5b60008151808452612aa9816020860160208601612d85565b601f01601f19169290920160200192915050565b600084516020612ad08285838a01612d85565b855191840191612ae38184848a01612d85565b8554920191600090600181811c9080831680612b0057607f831692505b858310811415612b1e57634e487b7160e01b85526022600452602485fd5b808015612b325760018114612b4357612b70565b60ff19851688528388019550612b70565b60008b81526020902060005b85811015612b685781548a820152908401908801612b4f565b505083880195505b50939b9a5050505050505050505050565b6001600160a01b0391909116815260200190565b6001600160a01b0385811682528416602082015260408101839052608060608201819052600090612bc890830184612a91565b9695505050505050565b60018060a01b0384168152826020820152606060408201526000612bf96060830184612a91565b95945050505050565b60208152600061274b6020830184612a91565b60208082526032908201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560408201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b606082015260800190565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526031908201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6040820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b606082015260800190565b600061ffff808316818516808303821115612d0a57612d0a612e3d565b01949350505050565b60008219821115612d2657612d26612e3d565b500190565b600082612d3a57612d3a612e53565b500490565b60006001600160401b0382811684821681151582840482111615612d6557612d65612e3d565b02949350505050565b600082821015612d8057612d80612e3d565b500390565b60005b83811015612da0578181015183820152602001612d88565b838111156116da5750506000910152565b600181811c90821680612dc557607f821691505b60208210811415612de657634e487b7160e01b600052602260045260246000fd5b50919050565b600061ffff80831681811415612e0457612e04612e3d565b6001019392505050565b6000600019821415612e2257612e22612e3d565b5060010190565b600082612e3857612e38612e53565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b80151581146112f457600080fd5b6001600160e01b0319811681146112f457600080fdfeddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212206c956531566487169bd6b8dfac24c175fcc129a3c03522b36dd23fe430b23b9764736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000001057616c6c205374726565742044616473000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000003575344000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d577044703868685534384b703939395661716b66435a355234425431345854516e555554567676325a5541542f00000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): Wall Street Dads
Arg [1] : _symbol (string): WSD
Arg [2] : _initBaseURI (string):
Arg [3] : _initNotRevealedURI (string): ipfs://QmWpDp8hhU48Kp999VaqkfCZ5R4BT14XTQnUUTVvv2ZUAT/

-----Encoded View---------------
12 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000010
Arg [5] : 57616c6c20537472656574204461647300000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [7] : 5753440000000000000000000000000000000000000000000000000000000000
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000000
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [10] : 697066733a2f2f516d577044703868685534384b703939395661716b66435a35
Arg [11] : 5234425431345854516e555554567676325a5541542f00000000000000000000


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.