ETH Price: $3,149.84 (+1.57%)
Gas: 8.74 Gwei

Token

GlizzyGang (GLIZZY)
 

Overview

Max Total Supply

5,555 GLIZZY

Holders

2,034

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
purkuleez.eth
Balance
1 GLIZZY
0x7857AF41CB171CC97d24F5A7C01182474de9A273
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Some may call it a hotdog, some may call it a frankfurter, but here we call them glizzys. Glizzys have been hand-drawn and randomly generated from over 250 traits with tons of possible combinations. Your Glizzy will be unique to you and only to you.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
GlizzyGang

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 1000 runs

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

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";

import "./GlizzyGangERC721.sol";

interface IMustard {
  function migrate(address to, uint256 amount) external;
  function update(address from, address to) external;
  function burn(address from, uint256 amount) external;
}

contract GlizzyGang is GlizzyGangERC721 {
  using Address for address;

  struct GlizzyInfo {
    string name;
    string description;
  }

  event Migrated(uint256 tokenId);
  event UpdateName(uint256 indexed tokenId, string name);
  event UpdateDescription(uint256 indexed tokenId, string description);

  uint256 constant public UPDATE_NAME_PRICE = 100 ether;
  uint256 constant public UPDATE_DESCRIPTION_PRICE = 100 ether;

  IMustard public Mustard;
  IERC1155 public OpenSeaStore;
  mapping(uint256 => GlizzyInfo) public glizzyInfo;

  constructor(
    address signer,
    address openSeaStore,
    string memory placeholderURI,
    address vrfCoordinator,
    address linkToken,
    bytes32 keyHash,
    uint256 linkFee
  )
    GlizzyGangERC721(
      signer,
      placeholderURI,
      vrfCoordinator,
      linkToken,
      keyHash,
      linkFee
    )
  {
    OpenSeaStore = IERC1155(openSeaStore);
  }

  modifier onlyTokenOwner(uint256 tokenId) {
    require(ownerOf(tokenId) == msg.sender, "Sender is not the token owner");
    _;
  }

  function setMustardAddress(address mustard) public onlyOwner {
    Mustard = IMustard(mustard);
  }

  function updateName(uint256 tokenId, string calldata name)
    public
    onlyTokenOwner(tokenId)
  {
    require(address(Mustard) != address(0), "No token contract set");

    bytes memory n = bytes(name);
    require(n.length > 0 && n.length < 25, "Invalid name length");
    require(
      sha256(n) != sha256(bytes(glizzyInfo[tokenId].name)),
      "New name is same as current name"
    );

    Mustard.burn(msg.sender, UPDATE_NAME_PRICE);
    glizzyInfo[tokenId].name = name;
    emit UpdateName(tokenId, name);
  }

  function updateDescription(uint256 tokenId, string calldata description)
    public
    onlyTokenOwner(tokenId)
  {
    require(address(Mustard) != address(0), "No token contract set");

    bytes memory d = bytes(description);
    require(d.length > 0 && d.length < 280, "Invalid description length");
    require(
      sha256(bytes(d)) != sha256(bytes(glizzyInfo[tokenId].description)),
      "New description is same as current description"
    );

    Mustard.burn(msg.sender, UPDATE_DESCRIPTION_PRICE);
    glizzyInfo[tokenId].description = description;
    emit UpdateDescription(tokenId, description);
  }

  function _getGlizzyId(uint256 _id) pure internal returns (uint256) {
    require(_id >> 96 == 0x0000000000000000000000002507f5f7622cc7097630dd6e060719e063778b2b, "Invalid token");
    require(_id & 0x000000000000000000000000000000000000000000000000000000ffffffffff == 1, "Invalid token");

    _id = (_id & 0x0000000000000000000000000000000000000000ffffffffffffff0000000000) >> 40;

    require(_id > 0 && _id <= 251, "Invalid token");

    // match token IDs to OpenSea collection display IDs
    if (_id == 251) return 0;
    else if (_id == 200) return 46;
    else if (_id >= 46 && _id < 200) return _id + 1;
    else return _id;
  }

  function migrate(uint256 _tokenId) nonReentrant external {
    uint256 id = _getGlizzyId(_tokenId);

    OpenSeaStore.safeTransferFrom(
      msg.sender,
      address(0x000000000000000000000000000000000000dEaD),
      _tokenId,
      1,
      ""
    );

    Mustard.migrate(msg.sender, 1);
    Mustard.update(address(0), msg.sender);

    _mint(msg.sender, id);

    emit Migrated(id);
  }

  function transferFrom(address from, address to, uint256 tokenId)
    public
    override
    nonReentrant
  {
    require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

    if (address(Mustard) != address(0)) {
      Mustard.update(from, to);
    }

    ERC721.transferFrom(from, to, tokenId);
  }

  function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory data)
    public
    override
    nonReentrant
  {
    require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");

    if (address(Mustard) != address(0)) {
      Mustard.update(from, to);
    }

    ERC721.safeTransferFrom(from, to, tokenId, data);
  }
}

File 2 of 19 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

File 3 of 19 : GlizzyGangERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

import "./PresaleApproval.sol";

contract GlizzyGangERC721 is ERC721, Ownable, ReentrancyGuard, PresaleApproval, VRFConsumerBase {
  using Address for address;

  uint256 constant public PRE_MINTED = 251; // migrated from OpenSea
  uint256 constant public MAX_MINT = 10;
  uint256 constant public PRESALE_MAX_MINT = 5;
  uint256 constant public MINT_PRICE = 0.0555 ether;
  uint256 constant public MAX_SUPPLY = 5555;

  string public PROVENANCE_HASH; // sha256
  bool public revealed;
  bool public presaleActive;
  bool public saleActive;
  string public metadataURI;
  mapping(address => uint256) public presaleMints;

  uint256 internal _tokenIds = PRE_MINTED;
  uint256 internal _reserved;
  uint256 internal _presaleMinted;
  uint256 internal _tokenOffset;
  string internal _baseTokenURI;
  string internal _placeholderURI;
  bytes32 internal _LINK_KEY_HASH;
  uint256 internal _LINK_FEE;

  constructor(
    address signer,
    string memory placeholderURI,
    address vrfCoordinator,
    address linkToken,
    bytes32 keyHash,
    uint256 linkFee
  )
    ERC721("GlizzyGang", "GLIZZY")
    PresaleApproval(signer)
    VRFConsumerBase(vrfCoordinator, linkToken)
  {
    _placeholderURI = placeholderURI;
    _LINK_KEY_HASH = keyHash;
    _LINK_FEE = linkFee;
  }

  function totalSupply() external view returns (uint256) {
    return _tokenIds;
  }

  function tokenOffset() public view returns (uint256) {
    require(_tokenOffset != 0, "Offset has not been generated");

    return _tokenOffset;
  }

  function tokenURI(uint256 tokenId) public view virtual override returns (string memory) {
    require(_exists(tokenId), "ERC721Metadata: URI query for nonexistent token");

    return revealed ? ERC721.tokenURI(tokenId) : _placeholderURI;
  }

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

  function setBaseTokenURI(string memory URI) public onlyOwner {
    _baseTokenURI = URI;
  }

  function setMetadataURI(string memory URI) public onlyOwner {
    metadataURI = URI;
  }

  function setPlaceholderURI(string memory URI) public onlyOwner {
    _placeholderURI = URI;
  }

  function setProvenanceHash(string memory provenanceHash) public onlyOwner {
    require(bytes(PROVENANCE_HASH).length == 0, "Provenance hash has already been set");

    PROVENANCE_HASH = provenanceHash;
  }

  function flipPresaleActive() public onlyOwner {
    presaleActive = !presaleActive;
  }

  function flipSaleActive() public onlyOwner {
    saleActive = !saleActive;
  }

  function flipRevealed() public onlyOwner {
    require(_tokenOffset != 0, "Offset has not been generated");
    require(bytes(_baseTokenURI).length > 0, "Base URI has not been set");

    revealed = !revealed;
  }

  function setTokenOffset() public onlyOwner {
    require(_tokenOffset == 0, "Offset is already set");

    requestRandomness(_LINK_KEY_HASH, _LINK_FEE);
  }

  function fulfillRandomness(bytes32 requestId, uint256 randomness) internal override {
    // offset is not applied to pre-minted tokens
    _tokenOffset = randomness % (MAX_SUPPLY - PRE_MINTED);
  }

  function presaleMint(bytes memory signature, uint256 amount)
    public
    payable
    nonReentrant
    isValidPresaleSignature(signature)
  {
    require(presaleActive,                                         "Presale has not started");
    require(msg.value == MINT_PRICE * amount,                      "Invalid Ether amount sent");
    require(presaleMints[msg.sender] + amount <= PRESALE_MAX_MINT, "Exceeds remaining presale balance");

    _mintAmount(amount, msg.sender);

    presaleMints[msg.sender] += amount;
    _presaleMinted += amount;
  }

  function mint(uint256 amount) public payable nonReentrant {
    require(saleActive,                       "Public sale has not started");
    require(msg.value == MINT_PRICE * amount, "Invalid Ether amount sent");
    require(amount <= MAX_MINT,               "Exceeds the maximum amount to mint at once");

    _mintAmount(amount, msg.sender);
  }

  function _mintAmount(uint256 amount, address to) internal {
    require(_tokenIds + amount <= MAX_SUPPLY, "Exceeds maximum number of tokens");

    for (uint256 i = 0; i < amount; i++) {
      _safeMint(to, _tokenIds);
      _tokenIds += 1;
    }
  }

  function withdraw() nonReentrant onlyOwner public {
    Address.sendValue(payable(msg.sender), address(this).balance);
  }

  function withdrawLINK(address to, uint256 amount) external onlyOwner {
    require(LINK.balanceOf(address(this)) >= amount, "Insufficient LINK balance");
    LINK.transfer(to, amount);
  }
}

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

pragma solidity ^0.8.0;

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

File 5 of 19 : 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 private constant 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 internal immutable LINK;
  address private immutable vrfCoordinator;

  // Nonces for each VRF key from which randomness has been requested.
  //
  // Must stay in sync with VRFCoordinator[_keyHash][this]
  mapping(bytes32 => uint256) /* keyHash */ /* 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 6 of 19 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 7 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 8 of 19 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;

        _;

        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 9 of 19 : PresaleApproval.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/cryptography/ECDSA.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/utils/Address.sol";

// Author: 🎩🐭 fancyrats.eth

contract PresaleApproval {
  using ECDSA for bytes32;
  using Address for address;

  address internal _signer;

  constructor(address signer) {
    _signer = signer;
  }

  // @dev Assumes the signed message was human-readable msg.sender address (lowercase, without the '0x')
  modifier isValidPresaleSignature(bytes memory signature) {
    bytes32 messageHash = toEthSignedMessageHash(asciiSender());
    address signer = messageHash.recover(signature);

    require(signer == _signer, "Invalid presale signature");
    _;
  }

  function recoveredAddress(bytes memory signature) public view returns (bytes memory) {
    address recoveredSigner = recover(signature);
    return abi.encodePacked(recoveredSigner);
  }

  function recover(bytes memory signature) public view returns (address) {
    bytes32 messageHash = toEthSignedMessageHash(asciiSender());
    address recoveredSigner = messageHash.recover(signature);
    return recoveredSigner;
  }

  function generateSenderHash() public view returns (bytes32) {
    return toEthSignedMessageHash(asciiSender());
  }

  // @dev Because at time of writing, 5b28...3cc0 hasn't made it into OpenZeppelin ECDSA release yet.
  // @dev https://github.com/OpenZeppelin/openzeppelin-contracts/commit/5b28259dacf47fc208e03611eb3ba8eeaed63cc0#diff-ff09871806bcccfd38e43de481f3e7e2fb92134c58e1a1f97b054e2d0d727458R209
  function toEthSignedMessageHash(string memory s) public pure returns (bytes32) {
    bytes memory b = bytes(s);
    return keccak256(
      abi.encodePacked(
        "\x19Ethereum Signed Message:\n",
        Strings.toString(b.length),
        b
      )
    );
  }

  function asciiSender() public view returns (string memory) {
    return toAsciiString(msg.sender);
  }

  function toAsciiString(address x) internal pure returns (string memory) {
    bytes memory s = new bytes(40);

    for (uint256 i = 0; i < 20; i++) {
      bytes1 b = bytes1(uint8(uint256(uint160(x)) / (2 ** (8 * (19 - i)))));
      bytes1 hi = bytes1(uint8(b) / 16);
      bytes1 lo = bytes1(uint8(b) - 16 * uint8(hi));
      s[2 * i] = char(hi);
      s[2 * i + 1] = char(lo);
    }

    return string(s);
  }

  function char(bytes1 b) internal pure returns (bytes1 c) {
    return (uint8(b) < 10)
      ? bytes1(uint8(b) + 0x30)
      : bytes1(uint8(b) + 0x57);
  }
}

File 10 of 19 : 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 11 of 19 : 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 12 of 19 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

File 13 of 19 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 14 of 19 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 18 of 19 : ERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/ERC165.sol)

pragma solidity ^0.8.0;

import "./IERC165.sol";

/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 *
 * Alternatively, {ERC165Storage} provides an easier to use but more expensive implementation.
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

File 19 of 19 : ECDSA.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/cryptography/ECDSA.sol)

pragma solidity ^0.8.0;

import "../Strings.sol";

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from `s`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes memory s) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n", Strings.toString(s.length), s));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 1000
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"signer","type":"address"},{"internalType":"address","name":"openSeaStore","type":"address"},{"internalType":"string","name":"placeholderURI","type":"string"},{"internalType":"address","name":"vrfCoordinator","type":"address"},{"internalType":"address","name":"linkToken","type":"address"},{"internalType":"bytes32","name":"keyHash","type":"bytes32"},{"internalType":"uint256","name":"linkFee","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Migrated","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"description","type":"string"}],"name":"UpdateDescription","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"string","name":"name","type":"string"}],"name":"UpdateName","type":"event"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINT_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"Mustard","outputs":[{"internalType":"contract IMustard","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"OpenSeaStore","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRESALE_MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_MINTED","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPDATE_DESCRIPTION_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"UPDATE_NAME_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"asciiSender","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipPresaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipRevealed","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"flipSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"generateSenderHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"glizzyInfo","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadataURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"migrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"presaleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"presaleMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"presaleMints","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":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"recover","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"signature","type":"bytes"}],"name":"recoveredAddress","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setMetadataURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"mustard","type":"address"}],"name":"setMustardAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setPlaceholderURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"}],"name":"setProvenanceHash","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setTokenOffset","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":"string","name":"s","type":"string"}],"name":"toEthSignedMessageHash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"tokenOffset","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"description","type":"string"}],"name":"updateDescription","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"string","name":"name","type":"string"}],"name":"updateName","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"withdrawLINK","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c060405260fb600e553480156200001657600080fd5b5060405162004e8538038062004e85833981016040819052620000399162000278565b8685858585858383876040518060400160405280600a815260200169476c697a7a7947616e6760b01b81525060405180604001604052806006815260200165474c495a5a5960d01b81525081600090805190602001906200009c929190620001b5565b508051620000b2906001906020840190620001b5565b505050620000cf620000c96200015f60201b60201c565b62000163565b6001600755600880546001600160a01b039092166001600160a01b03199092169190911790556001600160601b0319606092831b811660a052911b16608052845162000123906013906020880190620001b5565b506014919091556015555050601780546001600160a01b0319166001600160a01b03999099169890981790975550620004029650505050505050565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001c390620003af565b90600052602060002090601f016020900481019282620001e7576000855562000232565b82601f106200020257805160ff191683800117855562000232565b8280016001018555821562000232579182015b828111156200023257825182559160200191906001019062000215565b506200024092915062000244565b5090565b5b8082111562000240576000815560010162000245565b80516001600160a01b03811681146200027357600080fd5b919050565b600080600080600080600060e0888a03121562000293578283fd5b6200029e886200025b565b96506020620002af818a016200025b565b60408a01519097506001600160401b0380821115620002cc578586fd5b818b0191508b601f830112620002e0578586fd5b815181811115620002f557620002f5620003ec565b604051601f8201601f19908116603f01168101908382118183101715620003205762000320620003ec565b816040528281528e8684870101111562000338578889fd5b8893505b828410156200035b57848401860151818501870152928501926200033c565b828411156200036c57888684830101525b809a5050505050505062000383606089016200025b565b935062000393608089016200025b565b925060a0880151915060c0880151905092959891949750929550565b600181811c90821680620003c457607f821691505b60208210811415620003e657634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c60a05160601c614a4262000443600039600081816121670152612b6f015260008181612265015281816123740152612b400152614a426000f3fe60806040526004361061036b5760003560e01c806368428a1b116101c6578063a4a1edb1116100f7578063de8b51e111610095578063f0292a031161006f578063f0292a0314610973578063f2fde38b14610988578063ff1b6556146109a8578063ff501885146109bd57600080fd5b8063de8b51e1146108f5578063e968e70e1461090a578063e985e9c51461092a57600080fd5b8063c04d2a83116100d1578063c04d2a8314610880578063c87b56dd146108a0578063d720f9da146108c0578063dc8c57b4146108e057600080fd5b8063a4a1edb114610825578063b88d4fde14610845578063c002d23d1461086557600080fd5b806394985ddd1161016457806398e901841161013e57806398e90184146104ea5780639c6add8e146107d2578063a0712d68146107f2578063a22cb4651461080557600080fd5b806394985ddd1461077d57806395d89b411461079d578063983fbab2146107b257600080fd5b8063715018a6116101a0578063715018a614610715578063750521f51461072a578063773110491461074a5780638da5cb5b1461075f57600080fd5b806368428a1b146106c05780637093bbfd146106e057806370a08231146106f557600080fd5b8063346d14ae116102a05780634e21dc401161023e57806353e76f2c1161021857806353e76f2c1461063d578063549527c31461065d57806356756927146106725780636352211e146106a057600080fd5b80634e21dc40146105f1578063518302271461060457806353135ca01461061e57600080fd5b80633ccfd60b1161027a5780633ccfd60b1461058757806340838f741461059c57806342842e0e146105b1578063454b0608146105d157600080fd5b8063346d14ae1461053d5780633574a2dd146105525780633b2c3fb61461057257600080fd5b8063109695231161030d57806323b872dd116102e757806323b872dd146104ca5780632ee75a40146104ea57806330176e131461050757806332cb6b0c1461052757600080fd5b8063109695231461046b57806314dee4b31461048b57806318160ddd146104ab57600080fd5b806306fdde031161034957806306fdde03146103ff578063081812fc14610414578063095ea7b3146104345780630f1876a21461045657600080fd5b806301ffc9a71461037057806303ee438c146103a55780630549d293146103c7575b600080fd5b34801561037c57600080fd5b5061039061038b366004614354565b6109ea565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103ba610a87565b60405161039c91906146b1565b3480156103d357600080fd5b506017546103e7906001600160a01b031681565b6040516001600160a01b03909116815260200161039c565b34801561040b57600080fd5b506103ba610b15565b34801561042057600080fd5b506103e761042f366004614448565b610ba7565b34801561044057600080fd5b5061045461044f3660046142d6565b610c41565b005b34801561046257600080fd5b50610454610d91565b34801561047757600080fd5b50610454610486366004614402565b610e3a565b34801561049757600080fd5b506104546104a6366004614460565b610f1a565b3480156104b757600080fd5b50600e545b60405190815260200161039c565b3480156104d657600080fd5b506104546104e53660046141ff565b61125f565b3480156104f657600080fd5b506104bc68056bc75e2d6310000081565b34801561051357600080fd5b50610454610522366004614402565b6113b6565b34801561053357600080fd5b506104bc6115b381565b34801561054957600080fd5b506103ba611411565b34801561055e57600080fd5b5061045461056d366004614402565b611421565b34801561057e57600080fd5b5061045461147c565b34801561059357600080fd5b50610454611585565b3480156105a857600080fd5b506104bc611636565b3480156105bd57600080fd5b506104546105cc3660046141ff565b611643565b3480156105dd57600080fd5b506104546105ec366004614448565b61165e565b6104546105ff3660046143bf565b611883565b34801561061057600080fd5b50600b546103909060ff1681565b34801561062a57600080fd5b50600b5461039090610100900460ff1681565b34801561064957600080fd5b50610454610658366004614460565b611af2565b34801561066957600080fd5b506104bc600581565b34801561067e57600080fd5b5061069261068d366004614448565b611df7565b60405161039c9291906146f3565b3480156106ac57600080fd5b506103e76106bb366004614448565b611f23565b3480156106cc57600080fd5b50600b546103909062010000900460ff1681565b3480156106ec57600080fd5b506104bc60fb81565b34801561070157600080fd5b506104bc6107103660046141b3565b611fae565b34801561072157600080fd5b50610454612048565b34801561073657600080fd5b50610454610745366004614402565b61209c565b34801561075657600080fd5b506104546120f7565b34801561076b57600080fd5b506006546001600160a01b03166103e7565b34801561078957600080fd5b50610454610798366004614333565b61215c565b3480156107a957600080fd5b506103ba6121de565b3480156107be57600080fd5b506104546107cd3660046142d6565b6121ed565b3480156107de57600080fd5b506103ba6107ed36600461438c565b6123f0565b610454610800366004614448565b612437565b34801561081157600080fd5b506104546108203660046142a0565b6125cf565b34801561083157600080fd5b506103e761084036600461438c565b6125da565b34801561085157600080fd5b5061045461086036600461423a565b6125fe565b34801561087157600080fd5b506104bc66c52cf4b908c00081565b34801561088c57600080fd5b506016546103e7906001600160a01b031681565b3480156108ac57600080fd5b506103ba6108bb366004614448565b612757565b3480156108cc57600080fd5b506104bc6108db366004614402565b612887565b3480156108ec57600080fd5b506104bc6128c7565b34801561090157600080fd5b50610454612923565b34801561091657600080fd5b506104546109253660046141b3565b61298a565b34801561093657600080fd5b506103906109453660046141cd565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561097f57600080fd5b506104bc600a81565b34801561099457600080fd5b506104546109a33660046141b3565b6129f4565b3480156109b457600080fd5b506103ba612ac1565b3480156109c957600080fd5b506104bc6109d83660046141b3565b600d6020526000908152604090205481565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610a4d57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a8157507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b600c8054610a949061491c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac09061491c565b8015610b0d5780601f10610ae257610100808354040283529160200191610b0d565b820191906000526020600020905b815481529060010190602001808311610af057829003601f168201915b505050505081565b606060008054610b249061491c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b509061491c565b8015610b9d5780601f10610b7257610100808354040283529160200191610b9d565b820191906000526020600020905b815481529060010190602001808311610b8057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c255760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c4c82611f23565b9050806001600160a01b0316836001600160a01b03161415610cd65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610c1c565b336001600160a01b0382161480610d1057506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b610d825760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c1c565b610d8c8383612ace565b505050565b6006546001600160a01b03163314610dd95760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b60115415610e295760405162461bcd60e51b815260206004820152601560248201527f4f666673657420697320616c72656164792073657400000000000000000000006044820152606401610c1c565b610e37601454601554612b3c565b50565b6006546001600160a01b03163314610e825760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b600a8054610e8f9061491c565b159050610f035760405162461bcd60e51b8152602060048201526024808201527f50726f76656e616e636520686173682068617320616c7265616479206265656e60448201527f20736574000000000000000000000000000000000000000000000000000000006064820152608401610c1c565b8051610f1690600a906020840190613ffe565b5050565b8233610f2582611f23565b6001600160a01b031614610f7b5760405162461bcd60e51b815260206004820152601d60248201527f53656e646572206973206e6f742074686520746f6b656e206f776e65720000006044820152606401610c1c565b6016546001600160a01b0316610fd35760405162461bcd60e51b815260206004820152601560248201527f4e6f20746f6b656e20636f6e74726163742073657400000000000000000000006044820152606401610c1c565b600083838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050825192935050501580159061102057506101188151105b61106c5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c6964206465736372697074696f6e206c656e6774680000000000006044820152606401610c1c565b600260186000878152602001908152602001600020600101604051611091919061451f565b602060405180830381855afa1580156110ae573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906110d1919061431b565b6002826040516110e19190614503565b602060405180830381855afa1580156110fe573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611121919061431b565b14156111955760405162461bcd60e51b815260206004820152602e60248201527f4e6577206465736372697074696f6e2069732073616d6520617320637572726560448201527f6e74206465736372697074696f6e0000000000000000000000000000000000006064820152608401610c1c565b601654604051632770a7eb60e21b815233600482015268056bc75e2d6310000060248201526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b1580156111e957600080fd5b505af11580156111fd573d6000803e3d6000fd5b505050600086815260186020526040902061121d9150600101858561407e565b50847fa5eb4fe2f21ddb28c752c9927387264d67ce06b0ce619ad8b4b06d8dfe94834785856040516112509291906146c4565b60405180910390a25050505050565b600260075414156112b25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c1c565b60026007556112c2335b82612cc7565b6113285760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610c1c565b6016546001600160a01b0316156113a15760165460405163c640752d60e01b81526001600160a01b03858116600483015284811660248301529091169063c640752d90604401600060405180830381600087803b15801561138857600080fd5b505af115801561139c573d6000803e3d6000fd5b505050505b6113ac838383612dba565b5050600160075550565b6006546001600160a01b031633146113fe5760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b8051610f16906012906020840190613ffe565b606061141c33612e34565b905090565b6006546001600160a01b031633146114695760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b8051610f16906013906020840190613ffe565b6006546001600160a01b031633146114c45760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b6011546115135760405162461bcd60e51b815260206004820152601d60248201527f4f666673657420686173206e6f74206265656e2067656e6572617465640000006044820152606401610c1c565b6000601280546115229061491c565b9050116115715760405162461bcd60e51b815260206004820152601960248201527f426173652055524920686173206e6f74206265656e20736574000000000000006044820152606401610c1c565b600b805460ff19811660ff90911615179055565b600260075414156115d85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c1c565b60026007556006546001600160a01b031633146116255760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b61162f3347612f97565b6001600755565b600061141c6108db611411565b610d8c838383604051806020016040528060008152506125fe565b600260075414156116b15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c1c565b600260075560006116c1826130b0565b6017546040517ff242432a00000000000000000000000000000000000000000000000000000000815233600482015261dead6024820152604481018590526001606482015260a06084820152600060a48201529192506001600160a01b03169063f242432a9060c401600060405180830381600087803b15801561174457600080fd5b505af1158015611758573d6000803e3d6000fd5b50506016546040517fad68ebf7000000000000000000000000000000000000000000000000000000008152336004820152600160248201526001600160a01b03909116925063ad68ebf79150604401600060405180830381600087803b1580156117c157600080fd5b505af11580156117d5573d6000803e3d6000fd5b505060165460405163c640752d60e01b8152600060048201523360248201526001600160a01b03909116925063c640752d9150604401600060405180830381600087803b15801561182557600080fd5b505af1158015611839573d6000803e3d6000fd5b5050505061184733826131fe565b6040518181527fe4a25c0c2cbe89d6ad8b64c61a7dbdd20d1f781f6023f1ab94ebb7fe0aef6ab89060200160405180910390a150506001600755565b600260075414156118d65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c1c565b60026007558160006118e96108db611411565b905060006118f78284613340565b6008549091506001600160a01b038083169116146119575760405162461bcd60e51b815260206004820152601960248201527f496e76616c69642070726573616c65207369676e6174757265000000000000006044820152606401610c1c565b600b54610100900460ff166119ae5760405162461bcd60e51b815260206004820152601760248201527f50726573616c6520686173206e6f7420737461727465640000000000000000006044820152606401610c1c565b6119bf8466c52cf4b908c000614876565b3414611a0d5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420457468657220616d6f756e742073656e74000000000000006044820152606401610c1c565b336000908152600d6020526040902054600590611a2b908690614718565b1115611a9f5760405162461bcd60e51b815260206004820152602160248201527f457863656564732072656d61696e696e672070726573616c652062616c616e6360448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610c1c565b611aa98433613364565b336000908152600d602052604081208054869290611ac8908490614718565b925050819055508360106000828254611ae19190614718565b909155505060016007555050505050565b8233611afd82611f23565b6001600160a01b031614611b535760405162461bcd60e51b815260206004820152601d60248201527f53656e646572206973206e6f742074686520746f6b656e206f776e65720000006044820152606401610c1c565b6016546001600160a01b0316611bab5760405162461bcd60e51b815260206004820152601560248201527f4e6f20746f6b656e20636f6e74726163742073657400000000000000000000006044820152606401610c1c565b600083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250508251929350505015801590611bf7575060198151105b611c435760405162461bcd60e51b815260206004820152601360248201527f496e76616c6964206e616d65206c656e677468000000000000000000000000006044820152606401610c1c565b600085815260186020526040908190209051600291611c619161451f565b602060405180830381855afa158015611c7e573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611ca1919061431b565b600282604051611cb19190614503565b602060405180830381855afa158015611cce573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611cf1919061431b565b1415611d3f5760405162461bcd60e51b815260206004820181905260248201527f4e6577206e616d652069732073616d652061732063757272656e74206e616d656044820152606401610c1c565b601654604051632770a7eb60e21b815233600482015268056bc75e2d6310000060248201526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b158015611d9357600080fd5b505af1158015611da7573d6000803e3d6000fd5b5050506000868152601860205260409020611dc49150858561407e565b50847fac2072268d18e10aecad35c0c04acd66330b2571a8ff403e3c702d77d3bab13485856040516112509291906146c4565b601860205260009081526040902080548190611e129061491c565b80601f0160208091040260200160405190810160405280929190818152602001828054611e3e9061491c565b8015611e8b5780601f10611e6057610100808354040283529160200191611e8b565b820191906000526020600020905b815481529060010190602001808311611e6e57829003601f168201915b505050505090806001018054611ea09061491c565b80601f0160208091040260200160405190810160405280929190818152602001828054611ecc9061491c565b8015611f195780601f10611eee57610100808354040283529160200191611f19565b820191906000526020600020905b815481529060010190602001808311611efc57829003601f168201915b5050505050905082565b6000818152600260205260408120546001600160a01b031680610a815760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610c1c565b60006001600160a01b03821661202c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610c1c565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146120905760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b61209a6000613405565b565b6006546001600160a01b031633146120e45760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b8051610f1690600c906020840190613ffe565b6006546001600160a01b0316331461213f5760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b600b805461ff001981166101009182900460ff1615909102179055565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146121d45760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610c1c565b610f168282613457565b606060018054610b249061491c565b6006546001600160a01b031633146122355760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b1580156122af57600080fd5b505afa1580156122c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e7919061431b565b10156123355760405162461bcd60e51b815260206004820152601960248201527f496e73756666696369656e74204c494e4b2062616c616e6365000000000000006044820152606401610c1c565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb90604401602060405180830381600087803b1580156123b857600080fd5b505af11580156123cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8c91906142ff565b606060006123fd836125da565b6040516bffffffffffffffffffffffff19606083901b1660208201529091506034015b604051602081830303815290604052915050919050565b6002600754141561248a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c1c565b6002600755600b5462010000900460ff166124e75760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632073616c6520686173206e6f74207374617274656400000000006044820152606401610c1c565b6124f88166c52cf4b908c000614876565b34146125465760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420457468657220616d6f756e742073656e74000000000000006044820152606401610c1c565b600a8111156125bd5760405162461bcd60e51b815260206004820152602a60248201527f4578636565647320746865206d6178696d756d20616d6f756e7420746f206d6960448201527f6e74206174206f6e6365000000000000000000000000000000000000000000006064820152608401610c1c565b6125c78133613364565b506001600755565b610f16338383613475565b6000806125e86108db611411565b905060006125f68285613340565b949350505050565b600260075414156126515760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c1c565b6002600755612661335b83612cc7565b6126c75760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610c1c565b6016546001600160a01b0316156127405760165460405163c640752d60e01b81526001600160a01b03868116600483015285811660248301529091169063c640752d90604401600060405180830381600087803b15801561272757600080fd5b505af115801561273b573d6000803e3d6000fd5b505050505b61274c84848484613544565b505060016007555050565b6000818152600260205260409020546060906001600160a01b03166127e45760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610c1c565b600b5460ff1661287e57601380546127fb9061491c565b80601f01602080910402602001604051908101604052809291908181526020018280546128279061491c565b80156128745780601f1061284957610100808354040283529160200191612874565b820191906000526020600020905b81548152906001019060200180831161285757829003601f168201915b5050505050610a81565b610a81826135c5565b600080829050612897815161369e565b816040516020016128a99291906145e9565b60405160208183030381529060405280519060200120915050919050565b60006011546000141561291c5760405162461bcd60e51b815260206004820152601d60248201527f4f666673657420686173206e6f74206265656e2067656e6572617465640000006044820152606401610c1c565b5060115490565b6006546001600160a01b0316331461296b5760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b600b805462ff0000198116620100009182900460ff1615909102179055565b6006546001600160a01b031633146129d25760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314612a3c5760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b6001600160a01b038116612ab85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c1c565b610e3781613405565b600a8054610a949061491c565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612b0382611f23565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634000aea07f000000000000000000000000000000000000000000000000000000000000000084866000604051602001612bac929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612bd993929190614680565b602060405180830381600087803b158015612bf357600080fd5b505af1158015612c07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c2b91906142ff565b50600083815260096020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a090910190925281519183019190912093879052919052612c87906001614718565b6000858152600960205260409020556125f68482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b6000818152600260205260408120546001600160a01b0316612d405760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c1c565b6000612d4b83611f23565b9050806001600160a01b0316846001600160a01b03161480612d865750836001600160a01b0316612d7b84610ba7565b6001600160a01b0316145b806125f657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff166125f6565b612dc3336112bc565b612e295760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610c1c565b610d8c8383836137d4565b60408051602880825260608281019093526000919060208201818036833701905050905060005b6014811015612f90576000612e718260136148b6565b612e7c906008614876565b612e879060026147ce565b612e9a906001600160a01b038716614755565b60f81b9050600060108260f81c612eb19190614769565b60f81b905060008160f81c6010612ec89190614895565b8360f81c612ed691906148cd565b60f81b9050612ee4826139a1565b85612ef0866002614876565b81518110612f0e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612f2e816139a1565b85612f3a866002614876565b612f45906001614718565b81518110612f6357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053505050508080612f8890614957565b915050612e5b565b5092915050565b80471015612fe75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c1c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613034576040519150601f19603f3d011682016040523d82523d6000602084013e613039565b606091505b5050905080610d8c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c1c565b6000606082901c732507f5f7622cc7097630dd6e060719e063778b2b146131095760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b6044820152606401610c1c565b8164ffffffffff166001146131505760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b6044820152606401610c1c565b6028826bffffffffffffff000000000016901c9150600082118015613176575060fb8211155b6131b25760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b6044820152606401610c1c565b8160fb14156131c357506000919050565b8160c814156131d45750602e919050565b602e82101580156131e5575060c882105b156131f557610a81826001614718565b5090565b919050565b6001600160a01b0382166132545760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c1c565b6000818152600260205260409020546001600160a01b0316156132b95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c1c565b6001600160a01b03821660009081526003602052604081208054600192906132e2908490614718565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080600061334f85856139de565b9150915061335c81613a4e565b509392505050565b6115b382600e546133759190614718565b11156133c35760405162461bcd60e51b815260206004820181905260248201527f45786365656473206d6178696d756d206e756d626572206f6620746f6b656e736044820152606401610c1c565b60005b82811015610d8c576133da82600e54613c4f565b6001600e60008282546133ed9190614718565b909155508190506133fd81614957565b9150506133c6565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61346460fb6115b36148b6565b61346e9082614972565b6011555050565b816001600160a01b0316836001600160a01b031614156134d75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c1c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61354d3361265b565b6135b35760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610c1c565b6135bf84848484613c69565b50505050565b6000818152600260205260409020546060906001600160a01b03166136525760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610c1c565b600061365c613ce7565b9050600081511161367c5760405180602001604052806000815250613697565b806136868461369e565b6040516020016124209291906145ba565b9392505050565b6060816136de57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561370857806136f281614957565b91506137019050600a83614755565b91506136e2565b60008167ffffffffffffffff81111561373157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561375b576020820181803683370190505b5090505b84156125f6576137706001836148b6565b915061377d600a86614972565b613788906030614718565b60f81b8183815181106137ab57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506137cd600a86614755565b945061375f565b826001600160a01b03166137e782611f23565b6001600160a01b0316146138635760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610c1c565b6001600160a01b0382166138de5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610c1c565b6138e9600082612ace565b6001600160a01b03831660009081526003602052604081208054600192906139129084906148b6565b90915550506001600160a01b0382166000908152600360205260408120805460019290613940908490614718565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000600a60f883901c106139c6576139be60f883901c6057614730565b60f81b610a81565b6139d560f883901c6030614730565b60f81b92915050565b600080825160411415613a155760208301516040840151606085015160001a613a0987828585613cf6565b94509450505050613a47565b825160401415613a3f5760208301516040840151613a34868383613de3565b935093505050613a47565b506000905060025b9250929050565b6000816004811115613a7057634e487b7160e01b600052602160045260246000fd5b1415613a795750565b6001816004811115613a9b57634e487b7160e01b600052602160045260246000fd5b1415613ae95760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c1c565b6002816004811115613b0b57634e487b7160e01b600052602160045260246000fd5b1415613b595760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c1c565b6003816004811115613b7b57634e487b7160e01b600052602160045260246000fd5b1415613bd45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c1c565b6004816004811115613bf657634e487b7160e01b600052602160045260246000fd5b1415610e375760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610c1c565b610f16828260405180602001604052806000815250613e2b565b613c748484846137d4565b613c8084848484613ea9565b6135bf5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610c1c565b606060128054610b249061491c565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613d2d5750600090506003613dda565b8460ff16601b14158015613d4557508460ff16601c14155b15613d565750600090506004613dda565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613daa573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613dd357600060019250925050613dda565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b01613e1d87828885613cf6565b935093505050935093915050565b613e3583836131fe565b613e426000848484613ea9565b610d8c5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610c1c565b60006001600160a01b0384163b15613ff657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613eed903390899088908890600401614644565b602060405180830381600087803b158015613f0757600080fd5b505af1925050508015613f37575060408051601f3d908101601f19168201909252613f3491810190614370565b60015b613fdc573d808015613f65576040519150601f19603f3d011682016040523d82523d6000602084013e613f6a565b606091505b508051613fd45760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610c1c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506125f6565b5060016125f6565b82805461400a9061491c565b90600052602060002090601f01602090048101928261402c5760008555614072565b82601f1061404557805160ff1916838001178555614072565b82800160010185558215614072579182015b82811115614072578251825591602001919060010190614057565b506131f59291506140f2565b82805461408a9061491c565b90600052602060002090601f0160209004810192826140ac5760008555614072565b82601f106140c55782800160ff19823516178555614072565b82800160010185558215614072579182015b828111156140725782358255916020019190600101906140d7565b5b808211156131f557600081556001016140f3565b600067ffffffffffffffff80841115614122576141226149b2565b604051601f8501601f19908116603f0116810190828211818310171561414a5761414a6149b2565b8160405280935085815286868601111561416357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146131f957600080fd5b600082601f8301126141a4578081fd5b61369783833560208501614107565b6000602082840312156141c4578081fd5b6136978261417d565b600080604083850312156141df578081fd5b6141e88361417d565b91506141f66020840161417d565b90509250929050565b600080600060608486031215614213578081fd5b61421c8461417d565b925061422a6020850161417d565b9150604084013590509250925092565b6000806000806080858703121561424f578081fd5b6142588561417d565b93506142666020860161417d565b925060408501359150606085013567ffffffffffffffff811115614288578182fd5b61429487828801614194565b91505092959194509250565b600080604083850312156142b2578182fd5b6142bb8361417d565b915060208301356142cb816149c8565b809150509250929050565b600080604083850312156142e8578182fd5b6142f18361417d565b946020939093013593505050565b600060208284031215614310578081fd5b8151613697816149c8565b60006020828403121561432c578081fd5b5051919050565b60008060408385031215614345578182fd5b50508035926020909101359150565b600060208284031215614365578081fd5b8135613697816149d6565b600060208284031215614381578081fd5b8151613697816149d6565b60006020828403121561439d578081fd5b813567ffffffffffffffff8111156143b3578182fd5b6125f684828501614194565b600080604083850312156143d1578182fd5b823567ffffffffffffffff8111156143e7578283fd5b6143f385828601614194565b95602094909401359450505050565b600060208284031215614413578081fd5b813567ffffffffffffffff811115614429578182fd5b8201601f81018413614439578182fd5b6125f684823560208401614107565b600060208284031215614459578081fd5b5035919050565b600080600060408486031215614474578081fd5b83359250602084013567ffffffffffffffff80821115614492578283fd5b818601915086601f8301126144a5578283fd5b8135818111156144b3578384fd5b8760208285010111156144c4578384fd5b6020830194508093505050509250925092565b600081518084526144ef8160208601602086016148f0565b601f01601f19169290920160200192915050565b600082516145158184602087016148f0565b9190910192915050565b600080835482600182811c91508083168061453b57607f831692505b602080841082141561455b57634e487b7160e01b87526022600452602487fd5b81801561456f5760018114614580576145ac565b60ff198616895284890196506145ac565b60008a815260209020885b868110156145a45781548b82015290850190830161458b565b505084890196505b509498975050505050505050565b600083516145cc8184602088016148f0565b8351908301906145e08183602088016148f0565b01949350505050565b7f19457468657265756d205369676e6564204d6573736167653a0a00000000000081526000835161462181601a8501602088016148f0565b83519083019061463881601a8401602088016148f0565b01601a01949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261467660808301846144d7565b9695505050505050565b6001600160a01b03841681528260208201526060604082015260006146a860608301846144d7565b95945050505050565b60208152600061369760208301846144d7565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60408152600061470660408301856144d7565b82810360208401526146a881856144d7565b6000821982111561472b5761472b614986565b500190565b600060ff821660ff84168060ff0382111561474d5761474d614986565b019392505050565b6000826147645761476461499c565b500490565b600060ff83168061477c5761477c61499c565b8060ff84160491505092915050565b600181815b808511156147c65781600019048211156147ac576147ac614986565b808516156147b957918102915b93841c9390800290614790565b509250929050565b600061369783836000826147e457506001610a81565b816147f157506000610a81565b816001811461480757600281146148115761482d565b6001915050610a81565b60ff84111561482257614822614986565b50506001821b610a81565b5060208310610133831016604e8410600b8410161715614850575081810a610a81565b61485a838361478b565b806000190482111561486e5761486e614986565b029392505050565b600081600019048311821515161561489057614890614986565b500290565b600060ff821660ff84168160ff048111821515161561486e5761486e614986565b6000828210156148c8576148c8614986565b500390565b600060ff821660ff8416808210156148e7576148e7614986565b90039392505050565b60005b8381101561490b5781810151838201526020016148f3565b838111156135bf5750506000910152565b600181811c9082168061493057607f821691505b6020821081141561495157634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561496b5761496b614986565b5060010190565b6000826149815761498161499c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610e3757600080fd5b6001600160e01b031981168114610e3757600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212203126ac63acb04732de75590d200c15526e4c614886724388f06711984f1794fd64736f6c63430008040033000000000000000000000000cef6fb645c285d7254178400fb3459b681f718e0000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676c697a7a792e6d7970696e6174612e636c6f75642f697066732f516d575172434e63774e617a324e553550594d626f385237426e5378757a4e776d624577464e763457334833566d000000000000000000000000000000

Deployed Bytecode

0x60806040526004361061036b5760003560e01c806368428a1b116101c6578063a4a1edb1116100f7578063de8b51e111610095578063f0292a031161006f578063f0292a0314610973578063f2fde38b14610988578063ff1b6556146109a8578063ff501885146109bd57600080fd5b8063de8b51e1146108f5578063e968e70e1461090a578063e985e9c51461092a57600080fd5b8063c04d2a83116100d1578063c04d2a8314610880578063c87b56dd146108a0578063d720f9da146108c0578063dc8c57b4146108e057600080fd5b8063a4a1edb114610825578063b88d4fde14610845578063c002d23d1461086557600080fd5b806394985ddd1161016457806398e901841161013e57806398e90184146104ea5780639c6add8e146107d2578063a0712d68146107f2578063a22cb4651461080557600080fd5b806394985ddd1461077d57806395d89b411461079d578063983fbab2146107b257600080fd5b8063715018a6116101a0578063715018a614610715578063750521f51461072a578063773110491461074a5780638da5cb5b1461075f57600080fd5b806368428a1b146106c05780637093bbfd146106e057806370a08231146106f557600080fd5b8063346d14ae116102a05780634e21dc401161023e57806353e76f2c1161021857806353e76f2c1461063d578063549527c31461065d57806356756927146106725780636352211e146106a057600080fd5b80634e21dc40146105f1578063518302271461060457806353135ca01461061e57600080fd5b80633ccfd60b1161027a5780633ccfd60b1461058757806340838f741461059c57806342842e0e146105b1578063454b0608146105d157600080fd5b8063346d14ae1461053d5780633574a2dd146105525780633b2c3fb61461057257600080fd5b8063109695231161030d57806323b872dd116102e757806323b872dd146104ca5780632ee75a40146104ea57806330176e131461050757806332cb6b0c1461052757600080fd5b8063109695231461046b57806314dee4b31461048b57806318160ddd146104ab57600080fd5b806306fdde031161034957806306fdde03146103ff578063081812fc14610414578063095ea7b3146104345780630f1876a21461045657600080fd5b806301ffc9a71461037057806303ee438c146103a55780630549d293146103c7575b600080fd5b34801561037c57600080fd5b5061039061038b366004614354565b6109ea565b60405190151581526020015b60405180910390f35b3480156103b157600080fd5b506103ba610a87565b60405161039c91906146b1565b3480156103d357600080fd5b506017546103e7906001600160a01b031681565b6040516001600160a01b03909116815260200161039c565b34801561040b57600080fd5b506103ba610b15565b34801561042057600080fd5b506103e761042f366004614448565b610ba7565b34801561044057600080fd5b5061045461044f3660046142d6565b610c41565b005b34801561046257600080fd5b50610454610d91565b34801561047757600080fd5b50610454610486366004614402565b610e3a565b34801561049757600080fd5b506104546104a6366004614460565b610f1a565b3480156104b757600080fd5b50600e545b60405190815260200161039c565b3480156104d657600080fd5b506104546104e53660046141ff565b61125f565b3480156104f657600080fd5b506104bc68056bc75e2d6310000081565b34801561051357600080fd5b50610454610522366004614402565b6113b6565b34801561053357600080fd5b506104bc6115b381565b34801561054957600080fd5b506103ba611411565b34801561055e57600080fd5b5061045461056d366004614402565b611421565b34801561057e57600080fd5b5061045461147c565b34801561059357600080fd5b50610454611585565b3480156105a857600080fd5b506104bc611636565b3480156105bd57600080fd5b506104546105cc3660046141ff565b611643565b3480156105dd57600080fd5b506104546105ec366004614448565b61165e565b6104546105ff3660046143bf565b611883565b34801561061057600080fd5b50600b546103909060ff1681565b34801561062a57600080fd5b50600b5461039090610100900460ff1681565b34801561064957600080fd5b50610454610658366004614460565b611af2565b34801561066957600080fd5b506104bc600581565b34801561067e57600080fd5b5061069261068d366004614448565b611df7565b60405161039c9291906146f3565b3480156106ac57600080fd5b506103e76106bb366004614448565b611f23565b3480156106cc57600080fd5b50600b546103909062010000900460ff1681565b3480156106ec57600080fd5b506104bc60fb81565b34801561070157600080fd5b506104bc6107103660046141b3565b611fae565b34801561072157600080fd5b50610454612048565b34801561073657600080fd5b50610454610745366004614402565b61209c565b34801561075657600080fd5b506104546120f7565b34801561076b57600080fd5b506006546001600160a01b03166103e7565b34801561078957600080fd5b50610454610798366004614333565b61215c565b3480156107a957600080fd5b506103ba6121de565b3480156107be57600080fd5b506104546107cd3660046142d6565b6121ed565b3480156107de57600080fd5b506103ba6107ed36600461438c565b6123f0565b610454610800366004614448565b612437565b34801561081157600080fd5b506104546108203660046142a0565b6125cf565b34801561083157600080fd5b506103e761084036600461438c565b6125da565b34801561085157600080fd5b5061045461086036600461423a565b6125fe565b34801561087157600080fd5b506104bc66c52cf4b908c00081565b34801561088c57600080fd5b506016546103e7906001600160a01b031681565b3480156108ac57600080fd5b506103ba6108bb366004614448565b612757565b3480156108cc57600080fd5b506104bc6108db366004614402565b612887565b3480156108ec57600080fd5b506104bc6128c7565b34801561090157600080fd5b50610454612923565b34801561091657600080fd5b506104546109253660046141b3565b61298a565b34801561093657600080fd5b506103906109453660046141cd565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561097f57600080fd5b506104bc600a81565b34801561099457600080fd5b506104546109a33660046141b3565b6129f4565b3480156109b457600080fd5b506103ba612ac1565b3480156109c957600080fd5b506104bc6109d83660046141b3565b600d6020526000908152604090205481565b60006001600160e01b031982167f80ac58cd000000000000000000000000000000000000000000000000000000001480610a4d57506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a8157507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b600c8054610a949061491c565b80601f0160208091040260200160405190810160405280929190818152602001828054610ac09061491c565b8015610b0d5780601f10610ae257610100808354040283529160200191610b0d565b820191906000526020600020905b815481529060010190602001808311610af057829003601f168201915b505050505081565b606060008054610b249061491c565b80601f0160208091040260200160405190810160405280929190818152602001828054610b509061491c565b8015610b9d5780601f10610b7257610100808354040283529160200191610b9d565b820191906000526020600020905b815481529060010190602001808311610b8057829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c255760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b60648201526084015b60405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610c4c82611f23565b9050806001600160a01b0316836001600160a01b03161415610cd65760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610c1c565b336001600160a01b0382161480610d1057506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b610d825760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610c1c565b610d8c8383612ace565b505050565b6006546001600160a01b03163314610dd95760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b60115415610e295760405162461bcd60e51b815260206004820152601560248201527f4f666673657420697320616c72656164792073657400000000000000000000006044820152606401610c1c565b610e37601454601554612b3c565b50565b6006546001600160a01b03163314610e825760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b600a8054610e8f9061491c565b159050610f035760405162461bcd60e51b8152602060048201526024808201527f50726f76656e616e636520686173682068617320616c7265616479206265656e60448201527f20736574000000000000000000000000000000000000000000000000000000006064820152608401610c1c565b8051610f1690600a906020840190613ffe565b5050565b8233610f2582611f23565b6001600160a01b031614610f7b5760405162461bcd60e51b815260206004820152601d60248201527f53656e646572206973206e6f742074686520746f6b656e206f776e65720000006044820152606401610c1c565b6016546001600160a01b0316610fd35760405162461bcd60e51b815260206004820152601560248201527f4e6f20746f6b656e20636f6e74726163742073657400000000000000000000006044820152606401610c1c565b600083838080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050825192935050501580159061102057506101188151105b61106c5760405162461bcd60e51b815260206004820152601a60248201527f496e76616c6964206465736372697074696f6e206c656e6774680000000000006044820152606401610c1c565b600260186000878152602001908152602001600020600101604051611091919061451f565b602060405180830381855afa1580156110ae573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906110d1919061431b565b6002826040516110e19190614503565b602060405180830381855afa1580156110fe573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611121919061431b565b14156111955760405162461bcd60e51b815260206004820152602e60248201527f4e6577206465736372697074696f6e2069732073616d6520617320637572726560448201527f6e74206465736372697074696f6e0000000000000000000000000000000000006064820152608401610c1c565b601654604051632770a7eb60e21b815233600482015268056bc75e2d6310000060248201526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b1580156111e957600080fd5b505af11580156111fd573d6000803e3d6000fd5b505050600086815260186020526040902061121d9150600101858561407e565b50847fa5eb4fe2f21ddb28c752c9927387264d67ce06b0ce619ad8b4b06d8dfe94834785856040516112509291906146c4565b60405180910390a25050505050565b600260075414156112b25760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c1c565b60026007556112c2335b82612cc7565b6113285760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610c1c565b6016546001600160a01b0316156113a15760165460405163c640752d60e01b81526001600160a01b03858116600483015284811660248301529091169063c640752d90604401600060405180830381600087803b15801561138857600080fd5b505af115801561139c573d6000803e3d6000fd5b505050505b6113ac838383612dba565b5050600160075550565b6006546001600160a01b031633146113fe5760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b8051610f16906012906020840190613ffe565b606061141c33612e34565b905090565b6006546001600160a01b031633146114695760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b8051610f16906013906020840190613ffe565b6006546001600160a01b031633146114c45760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b6011546115135760405162461bcd60e51b815260206004820152601d60248201527f4f666673657420686173206e6f74206265656e2067656e6572617465640000006044820152606401610c1c565b6000601280546115229061491c565b9050116115715760405162461bcd60e51b815260206004820152601960248201527f426173652055524920686173206e6f74206265656e20736574000000000000006044820152606401610c1c565b600b805460ff19811660ff90911615179055565b600260075414156115d85760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c1c565b60026007556006546001600160a01b031633146116255760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b61162f3347612f97565b6001600755565b600061141c6108db611411565b610d8c838383604051806020016040528060008152506125fe565b600260075414156116b15760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c1c565b600260075560006116c1826130b0565b6017546040517ff242432a00000000000000000000000000000000000000000000000000000000815233600482015261dead6024820152604481018590526001606482015260a06084820152600060a48201529192506001600160a01b03169063f242432a9060c401600060405180830381600087803b15801561174457600080fd5b505af1158015611758573d6000803e3d6000fd5b50506016546040517fad68ebf7000000000000000000000000000000000000000000000000000000008152336004820152600160248201526001600160a01b03909116925063ad68ebf79150604401600060405180830381600087803b1580156117c157600080fd5b505af11580156117d5573d6000803e3d6000fd5b505060165460405163c640752d60e01b8152600060048201523360248201526001600160a01b03909116925063c640752d9150604401600060405180830381600087803b15801561182557600080fd5b505af1158015611839573d6000803e3d6000fd5b5050505061184733826131fe565b6040518181527fe4a25c0c2cbe89d6ad8b64c61a7dbdd20d1f781f6023f1ab94ebb7fe0aef6ab89060200160405180910390a150506001600755565b600260075414156118d65760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c1c565b60026007558160006118e96108db611411565b905060006118f78284613340565b6008549091506001600160a01b038083169116146119575760405162461bcd60e51b815260206004820152601960248201527f496e76616c69642070726573616c65207369676e6174757265000000000000006044820152606401610c1c565b600b54610100900460ff166119ae5760405162461bcd60e51b815260206004820152601760248201527f50726573616c6520686173206e6f7420737461727465640000000000000000006044820152606401610c1c565b6119bf8466c52cf4b908c000614876565b3414611a0d5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420457468657220616d6f756e742073656e74000000000000006044820152606401610c1c565b336000908152600d6020526040902054600590611a2b908690614718565b1115611a9f5760405162461bcd60e51b815260206004820152602160248201527f457863656564732072656d61696e696e672070726573616c652062616c616e6360448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610c1c565b611aa98433613364565b336000908152600d602052604081208054869290611ac8908490614718565b925050819055508360106000828254611ae19190614718565b909155505060016007555050505050565b8233611afd82611f23565b6001600160a01b031614611b535760405162461bcd60e51b815260206004820152601d60248201527f53656e646572206973206e6f742074686520746f6b656e206f776e65720000006044820152606401610c1c565b6016546001600160a01b0316611bab5760405162461bcd60e51b815260206004820152601560248201527f4e6f20746f6b656e20636f6e74726163742073657400000000000000000000006044820152606401610c1c565b600083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250508251929350505015801590611bf7575060198151105b611c435760405162461bcd60e51b815260206004820152601360248201527f496e76616c6964206e616d65206c656e677468000000000000000000000000006044820152606401610c1c565b600085815260186020526040908190209051600291611c619161451f565b602060405180830381855afa158015611c7e573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611ca1919061431b565b600282604051611cb19190614503565b602060405180830381855afa158015611cce573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611cf1919061431b565b1415611d3f5760405162461bcd60e51b815260206004820181905260248201527f4e6577206e616d652069732073616d652061732063757272656e74206e616d656044820152606401610c1c565b601654604051632770a7eb60e21b815233600482015268056bc75e2d6310000060248201526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b158015611d9357600080fd5b505af1158015611da7573d6000803e3d6000fd5b5050506000868152601860205260409020611dc49150858561407e565b50847fac2072268d18e10aecad35c0c04acd66330b2571a8ff403e3c702d77d3bab13485856040516112509291906146c4565b601860205260009081526040902080548190611e129061491c565b80601f0160208091040260200160405190810160405280929190818152602001828054611e3e9061491c565b8015611e8b5780601f10611e6057610100808354040283529160200191611e8b565b820191906000526020600020905b815481529060010190602001808311611e6e57829003601f168201915b505050505090806001018054611ea09061491c565b80601f0160208091040260200160405190810160405280929190818152602001828054611ecc9061491c565b8015611f195780601f10611eee57610100808354040283529160200191611f19565b820191906000526020600020905b815481529060010190602001808311611efc57829003601f168201915b5050505050905082565b6000818152600260205260408120546001600160a01b031680610a815760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610c1c565b60006001600160a01b03821661202c5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610c1c565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b031633146120905760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b61209a6000613405565b565b6006546001600160a01b031633146120e45760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b8051610f1690600c906020840190613ffe565b6006546001600160a01b0316331461213f5760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b600b805461ff001981166101009182900460ff1615909102179055565b336001600160a01b037f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795216146121d45760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610c1c565b610f168282613457565b606060018054610b249061491c565b6006546001600160a01b031633146122355760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281907f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316906370a082319060240160206040518083038186803b1580156122af57600080fd5b505afa1580156122c3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122e7919061431b565b10156123355760405162461bcd60e51b815260206004820152601960248201527f496e73756666696369656e74204c494e4b2062616c616e6365000000000000006044820152606401610c1c565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152602482018390527f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca169063a9059cbb90604401602060405180830381600087803b1580156123b857600080fd5b505af11580156123cc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d8c91906142ff565b606060006123fd836125da565b6040516bffffffffffffffffffffffff19606083901b1660208201529091506034015b604051602081830303815290604052915050919050565b6002600754141561248a5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c1c565b6002600755600b5462010000900460ff166124e75760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632073616c6520686173206e6f74207374617274656400000000006044820152606401610c1c565b6124f88166c52cf4b908c000614876565b34146125465760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420457468657220616d6f756e742073656e74000000000000006044820152606401610c1c565b600a8111156125bd5760405162461bcd60e51b815260206004820152602a60248201527f4578636565647320746865206d6178696d756d20616d6f756e7420746f206d6960448201527f6e74206174206f6e6365000000000000000000000000000000000000000000006064820152608401610c1c565b6125c78133613364565b506001600755565b610f16338383613475565b6000806125e86108db611411565b905060006125f68285613340565b949350505050565b600260075414156126515760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610c1c565b6002600755612661335b83612cc7565b6126c75760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610c1c565b6016546001600160a01b0316156127405760165460405163c640752d60e01b81526001600160a01b03868116600483015285811660248301529091169063c640752d90604401600060405180830381600087803b15801561272757600080fd5b505af115801561273b573d6000803e3d6000fd5b505050505b61274c84848484613544565b505060016007555050565b6000818152600260205260409020546060906001600160a01b03166127e45760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610c1c565b600b5460ff1661287e57601380546127fb9061491c565b80601f01602080910402602001604051908101604052809291908181526020018280546128279061491c565b80156128745780601f1061284957610100808354040283529160200191612874565b820191906000526020600020905b81548152906001019060200180831161285757829003601f168201915b5050505050610a81565b610a81826135c5565b600080829050612897815161369e565b816040516020016128a99291906145e9565b60405160208183030381529060405280519060200120915050919050565b60006011546000141561291c5760405162461bcd60e51b815260206004820152601d60248201527f4f666673657420686173206e6f74206265656e2067656e6572617465640000006044820152606401610c1c565b5060115490565b6006546001600160a01b0316331461296b5760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b600b805462ff0000198116620100009182900460ff1615909102179055565b6006546001600160a01b031633146129d25760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b601680546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b03163314612a3c5760405162461bcd60e51b815260206004820181905260248201526000805160206149ed8339815191526044820152606401610c1c565b6001600160a01b038116612ab85760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610c1c565b610e3781613405565b600a8054610a949061491c565b600081815260046020526040902080546001600160a01b0319166001600160a01b0384169081179091558190612b0382611f23565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795284866000604051602001612bac929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612bd993929190614680565b602060405180830381600087803b158015612bf357600080fd5b505af1158015612c07573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612c2b91906142ff565b50600083815260096020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a090910190925281519183019190912093879052919052612c87906001614718565b6000858152600960205260409020556125f68482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b6000818152600260205260408120546001600160a01b0316612d405760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610c1c565b6000612d4b83611f23565b9050806001600160a01b0316846001600160a01b03161480612d865750836001600160a01b0316612d7b84610ba7565b6001600160a01b0316145b806125f657506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff166125f6565b612dc3336112bc565b612e295760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610c1c565b610d8c8383836137d4565b60408051602880825260608281019093526000919060208201818036833701905050905060005b6014811015612f90576000612e718260136148b6565b612e7c906008614876565b612e879060026147ce565b612e9a906001600160a01b038716614755565b60f81b9050600060108260f81c612eb19190614769565b60f81b905060008160f81c6010612ec89190614895565b8360f81c612ed691906148cd565b60f81b9050612ee4826139a1565b85612ef0866002614876565b81518110612f0e57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612f2e816139a1565b85612f3a866002614876565b612f45906001614718565b81518110612f6357634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053505050508080612f8890614957565b915050612e5b565b5092915050565b80471015612fe75760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610c1c565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613034576040519150601f19603f3d011682016040523d82523d6000602084013e613039565b606091505b5050905080610d8c5760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610c1c565b6000606082901c732507f5f7622cc7097630dd6e060719e063778b2b146131095760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b6044820152606401610c1c565b8164ffffffffff166001146131505760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b6044820152606401610c1c565b6028826bffffffffffffff000000000016901c9150600082118015613176575060fb8211155b6131b25760405162461bcd60e51b815260206004820152600d60248201526c24b73b30b634b2103a37b5b2b760991b6044820152606401610c1c565b8160fb14156131c357506000919050565b8160c814156131d45750602e919050565b602e82101580156131e5575060c882105b156131f557610a81826001614718565b5090565b919050565b6001600160a01b0382166132545760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610c1c565b6000818152600260205260409020546001600160a01b0316156132b95760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610c1c565b6001600160a01b03821660009081526003602052604081208054600192906132e2908490614718565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b600080600061334f85856139de565b9150915061335c81613a4e565b509392505050565b6115b382600e546133759190614718565b11156133c35760405162461bcd60e51b815260206004820181905260248201527f45786365656473206d6178696d756d206e756d626572206f6620746f6b656e736044820152606401610c1c565b60005b82811015610d8c576133da82600e54613c4f565b6001600e60008282546133ed9190614718565b909155508190506133fd81614957565b9150506133c6565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b61346460fb6115b36148b6565b61346e9082614972565b6011555050565b816001600160a01b0316836001600160a01b031614156134d75760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610c1c565b6001600160a01b03838116600081815260056020908152604080832094871680845294825291829020805460ff191686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a3505050565b61354d3361265b565b6135b35760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610c1c565b6135bf84848484613c69565b50505050565b6000818152600260205260409020546060906001600160a01b03166136525760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610c1c565b600061365c613ce7565b9050600081511161367c5760405180602001604052806000815250613697565b806136868461369e565b6040516020016124209291906145ba565b9392505050565b6060816136de57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561370857806136f281614957565b91506137019050600a83614755565b91506136e2565b60008167ffffffffffffffff81111561373157634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561375b576020820181803683370190505b5090505b84156125f6576137706001836148b6565b915061377d600a86614972565b613788906030614718565b60f81b8183815181106137ab57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053506137cd600a86614755565b945061375f565b826001600160a01b03166137e782611f23565b6001600160a01b0316146138635760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610c1c565b6001600160a01b0382166138de5760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610c1c565b6138e9600082612ace565b6001600160a01b03831660009081526003602052604081208054600192906139129084906148b6565b90915550506001600160a01b0382166000908152600360205260408120805460019290613940908490614718565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000600a60f883901c106139c6576139be60f883901c6057614730565b60f81b610a81565b6139d560f883901c6030614730565b60f81b92915050565b600080825160411415613a155760208301516040840151606085015160001a613a0987828585613cf6565b94509450505050613a47565b825160401415613a3f5760208301516040840151613a34868383613de3565b935093505050613a47565b506000905060025b9250929050565b6000816004811115613a7057634e487b7160e01b600052602160045260246000fd5b1415613a795750565b6001816004811115613a9b57634e487b7160e01b600052602160045260246000fd5b1415613ae95760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610c1c565b6002816004811115613b0b57634e487b7160e01b600052602160045260246000fd5b1415613b595760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610c1c565b6003816004811115613b7b57634e487b7160e01b600052602160045260246000fd5b1415613bd45760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610c1c565b6004816004811115613bf657634e487b7160e01b600052602160045260246000fd5b1415610e375760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610c1c565b610f16828260405180602001604052806000815250613e2b565b613c748484846137d4565b613c8084848484613ea9565b6135bf5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610c1c565b606060128054610b249061491c565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115613d2d5750600090506003613dda565b8460ff16601b14158015613d4557508460ff16601c14155b15613d565750600090506004613dda565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613daa573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613dd357600060019250925050613dda565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b01613e1d87828885613cf6565b935093505050935093915050565b613e3583836131fe565b613e426000848484613ea9565b610d8c5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610c1c565b60006001600160a01b0384163b15613ff657604051630a85bd0160e11b81526001600160a01b0385169063150b7a0290613eed903390899088908890600401614644565b602060405180830381600087803b158015613f0757600080fd5b505af1925050508015613f37575060408051601f3d908101601f19168201909252613f3491810190614370565b60015b613fdc573d808015613f65576040519150601f19603f3d011682016040523d82523d6000602084013e613f6a565b606091505b508051613fd45760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610c1c565b805181602001fd5b6001600160e01b031916630a85bd0160e11b1490506125f6565b5060016125f6565b82805461400a9061491c565b90600052602060002090601f01602090048101928261402c5760008555614072565b82601f1061404557805160ff1916838001178555614072565b82800160010185558215614072579182015b82811115614072578251825591602001919060010190614057565b506131f59291506140f2565b82805461408a9061491c565b90600052602060002090601f0160209004810192826140ac5760008555614072565b82601f106140c55782800160ff19823516178555614072565b82800160010185558215614072579182015b828111156140725782358255916020019190600101906140d7565b5b808211156131f557600081556001016140f3565b600067ffffffffffffffff80841115614122576141226149b2565b604051601f8501601f19908116603f0116810190828211818310171561414a5761414a6149b2565b8160405280935085815286868601111561416357600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b03811681146131f957600080fd5b600082601f8301126141a4578081fd5b61369783833560208501614107565b6000602082840312156141c4578081fd5b6136978261417d565b600080604083850312156141df578081fd5b6141e88361417d565b91506141f66020840161417d565b90509250929050565b600080600060608486031215614213578081fd5b61421c8461417d565b925061422a6020850161417d565b9150604084013590509250925092565b6000806000806080858703121561424f578081fd5b6142588561417d565b93506142666020860161417d565b925060408501359150606085013567ffffffffffffffff811115614288578182fd5b61429487828801614194565b91505092959194509250565b600080604083850312156142b2578182fd5b6142bb8361417d565b915060208301356142cb816149c8565b809150509250929050565b600080604083850312156142e8578182fd5b6142f18361417d565b946020939093013593505050565b600060208284031215614310578081fd5b8151613697816149c8565b60006020828403121561432c578081fd5b5051919050565b60008060408385031215614345578182fd5b50508035926020909101359150565b600060208284031215614365578081fd5b8135613697816149d6565b600060208284031215614381578081fd5b8151613697816149d6565b60006020828403121561439d578081fd5b813567ffffffffffffffff8111156143b3578182fd5b6125f684828501614194565b600080604083850312156143d1578182fd5b823567ffffffffffffffff8111156143e7578283fd5b6143f385828601614194565b95602094909401359450505050565b600060208284031215614413578081fd5b813567ffffffffffffffff811115614429578182fd5b8201601f81018413614439578182fd5b6125f684823560208401614107565b600060208284031215614459578081fd5b5035919050565b600080600060408486031215614474578081fd5b83359250602084013567ffffffffffffffff80821115614492578283fd5b818601915086601f8301126144a5578283fd5b8135818111156144b3578384fd5b8760208285010111156144c4578384fd5b6020830194508093505050509250925092565b600081518084526144ef8160208601602086016148f0565b601f01601f19169290920160200192915050565b600082516145158184602087016148f0565b9190910192915050565b600080835482600182811c91508083168061453b57607f831692505b602080841082141561455b57634e487b7160e01b87526022600452602487fd5b81801561456f5760018114614580576145ac565b60ff198616895284890196506145ac565b60008a815260209020885b868110156145a45781548b82015290850190830161458b565b505084890196505b509498975050505050505050565b600083516145cc8184602088016148f0565b8351908301906145e08183602088016148f0565b01949350505050565b7f19457468657265756d205369676e6564204d6573736167653a0a00000000000081526000835161462181601a8501602088016148f0565b83519083019061463881601a8401602088016148f0565b01601a01949350505050565b60006001600160a01b0380871683528086166020840152508360408301526080606083015261467660808301846144d7565b9695505050505050565b6001600160a01b03841681528260208201526060604082015260006146a860608301846144d7565b95945050505050565b60208152600061369760208301846144d7565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b60408152600061470660408301856144d7565b82810360208401526146a881856144d7565b6000821982111561472b5761472b614986565b500190565b600060ff821660ff84168060ff0382111561474d5761474d614986565b019392505050565b6000826147645761476461499c565b500490565b600060ff83168061477c5761477c61499c565b8060ff84160491505092915050565b600181815b808511156147c65781600019048211156147ac576147ac614986565b808516156147b957918102915b93841c9390800290614790565b509250929050565b600061369783836000826147e457506001610a81565b816147f157506000610a81565b816001811461480757600281146148115761482d565b6001915050610a81565b60ff84111561482257614822614986565b50506001821b610a81565b5060208310610133831016604e8410600b8410161715614850575081810a610a81565b61485a838361478b565b806000190482111561486e5761486e614986565b029392505050565b600081600019048311821515161561489057614890614986565b500290565b600060ff821660ff84168160ff048111821515161561486e5761486e614986565b6000828210156148c8576148c8614986565b500390565b600060ff821660ff8416808210156148e7576148e7614986565b90039392505050565b60005b8381101561490b5781810151838201526020016148f3565b838111156135bf5750506000910152565b600181811c9082168061493057607f821691505b6020821081141561495157634e487b7160e01b600052602260045260246000fd5b50919050565b600060001982141561496b5761496b614986565b5060010190565b6000826149815761498161499c565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610e3757600080fd5b6001600160e01b031981168114610e3757600080fdfe4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212203126ac63acb04732de75590d200c15526e4c614886724388f06711984f1794fd64736f6c63430008040033

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

000000000000000000000000cef6fb645c285d7254178400fb3459b681f718e0000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e00000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676c697a7a792e6d7970696e6174612e636c6f75642f697066732f516d575172434e63774e617a324e553550594d626f385237426e5378757a4e776d624577464e763457334833566d000000000000000000000000000000

-----Decoded View---------------
Arg [0] : signer (address): 0xCEF6fb645C285D7254178400Fb3459B681F718E0
Arg [1] : openSeaStore (address): 0x495f947276749Ce646f68AC8c248420045cb7b5e
Arg [2] : placeholderURI (string): https://glizzy.mypinata.cloud/ipfs/QmWQrCNcwNaz2NU5PYMbo8R7BnSxuzNwmbEwFNv4W3H3Vm
Arg [3] : vrfCoordinator (address): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952
Arg [4] : linkToken (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [5] : keyHash (bytes32): 0xaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [6] : linkFee (uint256): 2000000000000000000

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 000000000000000000000000cef6fb645c285d7254178400fb3459b681f718e0
Arg [1] : 000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952
Arg [4] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [5] : aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [6] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [8] : 68747470733a2f2f676c697a7a792e6d7970696e6174612e636c6f75642f6970
Arg [9] : 66732f516d575172434e63774e617a324e553550594d626f385237426e537875
Arg [10] : 7a4e776d624577464e763457334833566d000000000000000000000000000000


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.