ETH Price: $3,469.99 (+2.33%)
Gas: 7 Gwei

Token

Swampverse (SWAMPER)
 

Overview

Max Total Supply

9,599 SWAMPER

Holders

2,990

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Filtered by Token Holder
ilkery.eth
Balance
1 SWAMPER
0xcB7b8A1DBE163cB3CCff2fbc4E55BcA30cDA300A
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Where 9600 pixel generated toads croak on the Ethereum blockchain.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
Swampverse

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 1000 runs

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

pragma solidity ^0.8.0;

import "./SwampverseERC721.sol";

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

contract Swampverse is SwampverseERC721 {
  using Address for address;

  struct SwamperInfo {
    string name;
    string description;
  }

  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;

  ICroakens public Croakens;
  mapping(uint256 => SwamperInfo) public swamperInfo;

  constructor(
    address team,
    address signer,
    string memory baseTokenURI,
    address vrfCoordinator,
    address linkToken,
    bytes32 keyHash,
    uint256 linkFee
  )
    SwampverseERC721(
      team,
      signer,
      baseTokenURI,
      vrfCoordinator,
      linkToken,
      keyHash,
      linkFee
    )
  {}

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

  function setCroakensAddress(address croakens) public onlyOwner {
    Croakens = ICroakens(croakens);
  }

  function updateName(uint256 tokenId, string calldata name)
    public
    onlyTokenOwner(tokenId)
  {
    require(address(Croakens) != 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(swamperInfo[tokenId].name)),
      "New name is same as current name"
    );

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

  function updateDescription(uint256 tokenId, string calldata description)
    public
    onlyTokenOwner(tokenId)
  {
    require(address(Croakens) != 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(swamperInfo[tokenId].description)),
      "New description is same as current description"
    );

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

  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(Croakens) != address(0)) {
      Croakens.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(Croakens) != address(0)) {
      Croakens.update(from, to);
    }

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

File 2 of 18 : SwampverseERC721.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 "./Whitelisted.sol";

contract SwampverseERC721 is ERC721, Ownable, ReentrancyGuard, Whitelisted, VRFConsumerBase {
  using Address for address;

  bytes32 internal _LINK_KEY_HASH;
  uint256 internal _LINK_FEE;
  uint256 internal _tokenIds;
  uint256 internal _reserved;
  uint256 internal _presaleMinted;
  uint256 internal _tokenOffset;
  string internal _baseTokenURI;
  address internal _team;

  uint256 constant public MAX_MINT = 10;
  uint256 constant public PRESALE_MAX_MINT = 3;
  uint256 constant public MINT_PRICE = 0.06 ether;
  uint256 constant public MAX_SUPPLY = 9600;
  uint256 constant public MAX_RESERVED = 100;
  string constant public PROVENANCE_HASH = "8016b8eee30dcaf2c61321cee08ccd0ae08657e3d150cbd49315e353b161cd6e"; // sha256
  bool public revealed;
  bool public presaleActive;
  bool public saleActive;
  string public metadataURI;
  mapping(address => uint256) public presaleMints;

  constructor(
    address team,
    address signer,
    string memory baseTokenURI,
    address vrfCoordinator,
    address linkToken,
    bytes32 keyHash,
    uint256 linkFee
  )
    ERC721("Swampverse", "SWAMPER")
    Whitelisted(signer)
    VRFConsumerBase(vrfCoordinator, linkToken)
  {
    _team = team;
    _baseTokenURI = baseTokenURI;
    _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 _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 flipPresaleActive() public onlyOwner {
    presaleActive = !presaleActive;
  }

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

  function flipRevealed() public onlyOwner {
    require(_tokenOffset != 0, "Offset has not been generated");

    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 {
    _tokenOffset = randomness % MAX_SUPPLY;
  }

  function reserve(uint256 amount, address to) public onlyOwner {
    require(_reserved + amount <= MAX_RESERVED, "Exceeds maximum number of reserved tokens");

    _mintAmount(amount, to);
    _reserved += amount;
  }

  function presaleMint(bytes memory signature, uint256 amount)
    public
    payable
    nonReentrant
    isValidWhitelistSignature(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 public {
    require(msg.sender == _team || msg.sender == owner(), "Caller cannot withdraw");

    Address.sendValue(payable(_team), address(this).balance / 5);
    Address.sendValue(payable(owner()), 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 3 of 18 : VRFConsumerBase.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "./interfaces/LinkTokenInterface.sol";

import "./VRFRequestIDBase.sol";

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

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

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

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

  LinkTokenInterface immutable internal LINK;
  address immutable private vrfCoordinator;

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

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

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

File 4 of 18 : Ownable.sol
// SPDX-License-Identifier: MIT

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() {
        _setOwner(_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 {
        _setOwner(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");
        _setOwner(newOwner);
    }

    function _setOwner(address newOwner) private {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 18 : ERC721.sol
// SPDX-License-Identifier: MIT

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 {
        require(operator != _msgSender(), "ERC721: approve to caller");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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 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 6 of 18 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT

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 make 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 7 of 18 : Whitelisted.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 Whitelisted {
  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 isValidWhitelistSignature(bytes memory signature) {
    bytes32 messageHash = toEthSignedMessageHash(asciiSender());
    address signer = messageHash.recover(signature);

    require(signer == _signer, "Invalid whitelist 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 8 of 18 : 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 9 of 18 : 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 10 of 18 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 11 of 18 : IERC721.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 18 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT

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 13 of 18 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT

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 14 of 18 : Address.sol
// SPDX-License-Identifier: MIT

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 15 of 18 : Strings.sol
// SPDX-License-Identifier: MIT

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 16 of 18 : ERC165.sol
// SPDX-License-Identifier: MIT

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 17 of 18 : IERC165.sol
// SPDX-License-Identifier: MIT

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 18 of 18 : ECDSA.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @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 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":"team","type":"address"},{"internalType":"address","name":"signer","type":"address"},{"internalType":"string","name":"baseTokenURI","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":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":"Croakens","outputs":[{"internalType":"contract ICroakens","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_MINT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MAX_RESERVED","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":"PRESALE_MAX_MINT","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":"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":"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":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"to","type":"address"}],"name":"reserve","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":"address","name":"croakens","type":"address"}],"name":"setCroakensAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setMetadataURI","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":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"swamperInfo","outputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"description","type":"string"}],"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"}]

60c06040523480156200001157600080fd5b50604051620049cd380380620049cd833981016040819052620000349162000266565b868686868686868383876040518060400160405280600a8152602001695377616d70766572736560b01b8152506040518060400160405280600781526020016629aba0a6a822a960c91b815250816000908051906020019062000099929190620001a3565b508051620000af906001906020840190620001a3565b505050620000cc620000c66200014d60201b60201c565b62000151565b6001600755600880546001600160a01b039283166001600160a01b0319918216179091556001600160601b0319606094851b811660a0529290931b90911660805260118054918a1691909216179055845162000130906010906020880190620001a3565b50600a91909155600b5550620003f09a5050505050505050505050565b3390565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b828054620001b1906200039d565b90600052602060002090601f016020900481019282620001d5576000855562000220565b82601f10620001f057805160ff191683800117855562000220565b8280016001018555821562000220579182015b828111156200022057825182559160200191906001019062000203565b506200022e92915062000232565b5090565b5b808211156200022e576000815560010162000233565b80516001600160a01b03811681146200026157600080fd5b919050565b600080600080600080600060e0888a03121562000281578283fd5b6200028c8862000249565b965060206200029d818a0162000249565b60408a01519097506001600160401b0380821115620002ba578586fd5b818b0191508b601f830112620002ce578586fd5b815181811115620002e357620002e3620003da565b604051601f8201601f19908116603f011681019083821181831017156200030e576200030e620003da565b816040528281528e8684870101111562000326578889fd5b8893505b828410156200034957848401860151818501870152928501926200032a565b828411156200035a57888684830101525b809a50505050505050620003716060890162000249565b9350620003816080890162000249565b925060a0880151915060c0880151905092959891949750929550565b600181811c90821680620003b257607f821691505b60208210811415620003d457634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b60805160601c60a05160601c61459c6200043160003960008181611ec80152612a00015260008181611fc6015281816120d501526129d1015261459c6000f3fe60806040526004361061034a5760003560e01c806368428a1b116101bb578063a0712d68116100f7578063dc8c57b411610095578063f0292a031161006f578063f0292a03146108fc578063f2fde38b14610911578063ff1b655614610931578063ff5018851461094657600080fd5b8063dc8c57b414610889578063de8b51e11461089e578063e985e9c5146108b357600080fd5b8063b88d4fde116100d1578063b88d4fde1461080e578063c002d23d1461082e578063c87b56dd14610849578063d720f9da1461086957600080fd5b8063a0712d68146107bb578063a22cb465146107ce578063a4a1edb1146107ee57600080fd5b80638da5cb5b11610164578063983fbab21161013e578063983fbab21461075b57806398e90184146104f75780639c6add8e1461077b5780639eb6ed1c1461079b57600080fd5b80638da5cb5b1461070857806394985ddd1461072657806395d89b411461074657600080fd5b8063715018a611610195578063715018a6146106be578063750521f5146106d357806377311049146106f357600080fd5b806368428a1b146106685780636ba90c6e1461068957806370a082311461069e57600080fd5b806330176e131161028a57806342842e0e1161023357806353135ca01161020d57806353135ca0146105f257806353e76f2c14610613578063549527c3146106335780636352211e1461064857600080fd5b806342842e0e1461059e5780634e21dc40146105be57806351830227146105d157600080fd5b80633b2c3fb6116102645780633b2c3fb61461055f5780633ccfd60b1461057457806340838f741461058957600080fd5b806330176e131461051457806332cb6b0c14610534578063346d14ae1461054a57600080fd5b8063095ea7b3116102f757806314dee4b3116102d157806314dee4b31461049857806318160ddd146104b857806323b872dd146104d75780632ee75a40146104f757600080fd5b8063095ea7b3146104355780630f1876a214610455578063124733061461046a57600080fd5b806305e3c4291161032857806305e3c429146103c857806306fdde0314610400578063081812fc1461041557600080fd5b806301ffc9a71461034f57806303339bcb1461038457806303ee438c146103a6575b600080fd5b34801561035b57600080fd5b5061036f61036a366004613e4c565b610973565b60405190151581526020015b60405180910390f35b34801561039057600080fd5b506103a461039f366004613f58565b610a10565b005b3480156103b257600080fd5b506103bb610b06565b60405161037b91906141cb565b3480156103d457600080fd5b506014546103e8906001600160a01b031681565b6040516001600160a01b03909116815260200161037b565b34801561040c57600080fd5b506103bb610b94565b34801561042157600080fd5b506103e8610430366004613f40565b610c26565b34801561044157600080fd5b506103a4610450366004613dce565b610cbb565b34801561046157600080fd5b506103a4610e0b565b34801561047657600080fd5b5061048a610485366004613f40565b610eb4565b60405161037b92919061420d565b3480156104a457600080fd5b506103a46104b3366004613f7a565b610fe0565b3480156104c457600080fd5b50600c545b60405190815260200161037b565b3480156104e357600080fd5b506103a46104f2366004613cf7565b611325565b34801561050357600080fd5b506104c968056bc75e2d6310000081565b34801561052057600080fd5b506103a461052f366004613efa565b61147c565b34801561054057600080fd5b506104c961258081565b34801561055657600080fd5b506103bb6114db565b34801561056b57600080fd5b506103a46114eb565b34801561058057600080fd5b506103a46115be565b34801561059557600080fd5b506104c96116c7565b3480156105aa57600080fd5b506103a46105b9366004613cf7565b6116d4565b6103a46105cc366004613eb7565b6116ef565b3480156105dd57600080fd5b5060115461036f90600160a01b900460ff1681565b3480156105fe57600080fd5b5060115461036f90600160a81b900460ff1681565b34801561061f57600080fd5b506103a461062e366004613f7a565b611960565b34801561063f57600080fd5b506104c9600381565b34801561065457600080fd5b506103e8610663366004613f40565b611c65565b34801561067457600080fd5b5060115461036f90600160b01b900460ff1681565b34801561069557600080fd5b506104c9606481565b3480156106aa57600080fd5b506104c96106b9366004613cab565b611cf0565b3480156106ca57600080fd5b506103a4611d8a565b3480156106df57600080fd5b506103a46106ee366004613efa565b611dde565b3480156106ff57600080fd5b506103a4611e39565b34801561071457600080fd5b506006546001600160a01b03166103e8565b34801561073257600080fd5b506103a4610741366004613e2b565b611ebd565b34801561075257600080fd5b506103bb611f3f565b34801561076757600080fd5b506103a4610776366004613dce565b611f4e565b34801561078757600080fd5b506103bb610796366004613e84565b612151565b3480156107a757600080fd5b506103a46107b6366004613cab565b612198565b6103a46107c9366004613f40565b612202565b3480156107da57600080fd5b506103a46107e9366004613d98565b61239b565b3480156107fa57600080fd5b506103e8610809366004613e84565b612460565b34801561081a57600080fd5b506103a4610829366004613d32565b612484565b34801561083a57600080fd5b506104c966d529ae9e86000081565b34801561085557600080fd5b506103bb610864366004613f40565b6125dd565b34801561087557600080fd5b506104c9610884366004613efa565b6126b6565b34801561089557600080fd5b506104c96126f6565b3480156108aa57600080fd5b506103a4612752565b3480156108bf57600080fd5b5061036f6108ce366004613cc5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561090857600080fd5b506104c9600a81565b34801561091d57600080fd5b506103a461092c366004613cab565b6127d6565b34801561093d57600080fd5b506103bb6128a3565b34801561095257600080fd5b506104c9610961366004613cab565b60136020526000908152604090205481565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806109d657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a0a57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6006546001600160a01b03163314610a5d5760405162461bcd60e51b8152602060048201819052602482015260008051602061454783398151915260448201526064015b60405180910390fd5b606482600d54610a6d9190614232565b1115610ae15760405162461bcd60e51b815260206004820152602960248201527f45786365656473206d6178696d756d206e756d626572206f662072657365727660448201527f656420746f6b656e7300000000000000000000000000000000000000000000006064820152608401610a54565b610aeb82826128bf565b81600d6000828254610afd9190614232565b90915550505050565b60128054610b1390614436565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3f90614436565b8015610b8c5780601f10610b6157610100808354040283529160200191610b8c565b820191906000526020600020905b815481529060010190602001808311610b6f57829003601f168201915b505050505081565b606060008054610ba390614436565b80601f0160208091040260200160405190810160405280929190818152602001828054610bcf90614436565b8015610c1c5780601f10610bf157610100808354040283529160200191610c1c565b820191906000526020600020905b815481529060010190602001808311610bff57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c9f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a54565b506000908152600460205260409020546001600160a01b031690565b6000610cc682611c65565b9050806001600160a01b0316836001600160a01b03161415610d505760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a54565b336001600160a01b0382161480610d8a57506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b610dfc5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a54565b610e06838361295f565b505050565b6006546001600160a01b03163314610e535760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b600f5415610ea35760405162461bcd60e51b815260206004820152601560248201527f4f666673657420697320616c72656164792073657400000000000000000000006044820152606401610a54565b610eb1600a54600b546129cd565b50565b601560205260009081526040902080548190610ecf90614436565b80601f0160208091040260200160405190810160405280929190818152602001828054610efb90614436565b8015610f485780601f10610f1d57610100808354040283529160200191610f48565b820191906000526020600020905b815481529060010190602001808311610f2b57829003601f168201915b505050505090806001018054610f5d90614436565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8990614436565b8015610fd65780601f10610fab57610100808354040283529160200191610fd6565b820191906000526020600020905b815481529060010190602001808311610fb957829003601f168201915b5050505050905082565b8233610feb82611c65565b6001600160a01b0316146110415760405162461bcd60e51b815260206004820152601d60248201527f53656e646572206973206e6f742074686520746f6b656e206f776e65720000006044820152606401610a54565b6014546001600160a01b03166110995760405162461bcd60e51b815260206004820152601560248201527f4e6f20746f6b656e20636f6e74726163742073657400000000000000000000006044820152606401610a54565b600083838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505082519293505050158015906110e657506101188151105b6111325760405162461bcd60e51b815260206004820152601a60248201527f496e76616c6964206465736372697074696f6e206c656e6774680000000000006044820152606401610a54565b6002601560008781526020019081526020016000206001016040516111579190614039565b602060405180830381855afa158015611174573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906111979190613e13565b6002826040516111a7919061401d565b602060405180830381855afa1580156111c4573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906111e79190613e13565b141561125b5760405162461bcd60e51b815260206004820152602e60248201527f4e6577206465736372697074696f6e2069732073616d6520617320637572726560448201527f6e74206465736372697074696f6e0000000000000000000000000000000000006064820152608401610a54565b601454604051632770a7eb60e21b815233600482015268056bc75e2d6310000060248201526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b1580156112af57600080fd5b505af11580156112c3573d6000803e3d6000fd5b50505060008681526015602052604090206112e391506001018585613aed565b50847fa5eb4fe2f21ddb28c752c9927387264d67ce06b0ce619ad8b4b06d8dfe94834785856040516113169291906141de565b60405180910390a25050505050565b600260075414156113785760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a54565b6002600755611388335b82612b58565b6113ee5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610a54565b6014546001600160a01b0316156114675760145460405163c640752d60e01b81526001600160a01b03858116600483015284811660248301529091169063c640752d90604401600060405180830381600087803b15801561144e57600080fd5b505af1158015611462573d6000803e3d6000fd5b505050505b611472838383612c4b565b5050600160075550565b6006546001600160a01b031633146114c45760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b80516114d7906010906020840190613b71565b5050565b60606114e633612cc5565b905090565b6006546001600160a01b031633146115335760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b600f546115825760405162461bcd60e51b815260206004820152601d60248201527f4f666673657420686173206e6f74206265656e2067656e6572617465640000006044820152606401610a54565b601180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8116600160a01b9182900460ff1615909102179055565b600260075414156116115760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a54565b60026007556011546001600160a01b031633148061163957506006546001600160a01b031633145b6116855760405162461bcd60e51b815260206004820152601660248201527f43616c6c65722063616e6e6f74207769746864726177000000000000000000006044820152606401610a54565b6011546116a5906001600160a01b03166116a060054761426f565b612e28565b6116c06116ba6006546001600160a01b031690565b47612e28565b6001600755565b60006114e66108846114db565b610e0683838360405180602001604052806000815250612484565b600260075414156117425760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a54565b60026007558160006117556108846114db565b905060006117638284612f41565b6008549091506001600160a01b038083169116146117c35760405162461bcd60e51b815260206004820152601b60248201527f496e76616c69642077686974656c697374207369676e617475726500000000006044820152606401610a54565b601154600160a81b900460ff1661181c5760405162461bcd60e51b815260206004820152601760248201527f50726573616c6520686173206e6f7420737461727465640000000000000000006044820152606401610a54565b61182d8466d529ae9e860000614390565b341461187b5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420457468657220616d6f756e742073656e74000000000000006044820152606401610a54565b33600090815260136020526040902054600390611899908690614232565b111561190d5760405162461bcd60e51b815260206004820152602160248201527f457863656564732072656d61696e696e672070726573616c652062616c616e6360448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610a54565b61191784336128bf565b3360009081526013602052604081208054869290611936908490614232565b9250508190555083600e600082825461194f9190614232565b909155505060016007555050505050565b823361196b82611c65565b6001600160a01b0316146119c15760405162461bcd60e51b815260206004820152601d60248201527f53656e646572206973206e6f742074686520746f6b656e206f776e65720000006044820152606401610a54565b6014546001600160a01b0316611a195760405162461bcd60e51b815260206004820152601560248201527f4e6f20746f6b656e20636f6e74726163742073657400000000000000000000006044820152606401610a54565b600083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250508251929350505015801590611a65575060198151105b611ab15760405162461bcd60e51b815260206004820152601360248201527f496e76616c6964206e616d65206c656e677468000000000000000000000000006044820152606401610a54565b600085815260156020526040908190209051600291611acf91614039565b602060405180830381855afa158015611aec573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611b0f9190613e13565b600282604051611b1f919061401d565b602060405180830381855afa158015611b3c573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611b5f9190613e13565b1415611bad5760405162461bcd60e51b815260206004820181905260248201527f4e6577206e616d652069732073616d652061732063757272656e74206e616d656044820152606401610a54565b601454604051632770a7eb60e21b815233600482015268056bc75e2d6310000060248201526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b158015611c0157600080fd5b505af1158015611c15573d6000803e3d6000fd5b5050506000868152601560205260409020611c3291508585613aed565b50847fac2072268d18e10aecad35c0c04acd66330b2571a8ff403e3c702d77d3bab13485856040516113169291906141de565b6000818152600260205260408120546001600160a01b031680610a0a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a54565b60006001600160a01b038216611d6e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a54565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314611dd25760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b611ddc6000612f65565b565b6006546001600160a01b03163314611e265760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b80516114d7906012906020840190613b71565b6006546001600160a01b03163314611e815760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b601180547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff8116600160a81b9182900460ff1615909102179055565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611f355760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610a54565b6114d78282612fb7565b606060018054610ba390614436565b6006546001600160a01b03163314611f965760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a082319060240160206040518083038186803b15801561201057600080fd5b505afa158015612024573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120489190613e13565b10156120965760405162461bcd60e51b815260206004820152601960248201527f496e73756666696369656e74204c494e4b2062616c616e6365000000000000006044820152606401610a54565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152602482018390527f0000000000000000000000000000000000000000000000000000000000000000169063a9059cbb90604401602060405180830381600087803b15801561211957600080fd5b505af115801561212d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e069190613df7565b6060600061215e83612460565b6040516bffffffffffffffffffffffff19606083901b1660208201529091506034015b604051602081830303815290604052915050919050565b6006546001600160a01b031633146121e05760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b600260075414156122555760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a54565b6002600755601154600160b01b900460ff166122b35760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632073616c6520686173206e6f74207374617274656400000000006044820152606401610a54565b6122c48166d529ae9e860000614390565b34146123125760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420457468657220616d6f756e742073656e74000000000000006044820152606401610a54565b600a8111156123895760405162461bcd60e51b815260206004820152602a60248201527f4578636565647320746865206d6178696d756d20616d6f756e7420746f206d6960448201527f6e74206174206f6e6365000000000000000000000000000000000000000000006064820152608401610a54565b61239381336128bf565b506001600755565b6001600160a01b0382163314156123f45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a54565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008061246e6108846114db565b9050600061247c8285612f41565b949350505050565b600260075414156124d75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a54565b60026007556124e7335b83612b58565b61254d5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610a54565b6014546001600160a01b0316156125c65760145460405163c640752d60e01b81526001600160a01b03868116600483015285811660248301529091169063c640752d90604401600060405180830381600087803b1580156125ad57600080fd5b505af11580156125c1573d6000803e3d6000fd5b505050505b6125d284848484612fca565b505060016007555050565b6000818152600260205260409020546060906001600160a01b031661266a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a54565b600061267461304b565b9050600081511161269457604051806020016040528060008152506126af565b8061269e8461305a565b6040516020016121819291906140d4565b9392505050565b6000808290506126c6815161305a565b816040516020016126d8929190614103565b60405160208183030381529060405280519060200120915050919050565b6000600f546000141561274b5760405162461bcd60e51b815260206004820152601d60248201527f4f666673657420686173206e6f74206265656e2067656e6572617465640000006044820152606401610a54565b50600f5490565b6006546001600160a01b0316331461279a5760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b601180547fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff8116600160b01b9182900460ff1615909102179055565b6006546001600160a01b0316331461281e5760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b6001600160a01b03811661289a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a54565b610eb181612f65565b6040518060600160405280604081526020016145076040913981565b61258082600c546128d09190614232565b1061291d5760405162461bcd60e51b815260206004820181905260248201527f45786365656473206d6178696d756d206e756d626572206f6620746f6b656e736044820152606401610a54565b60005b82811015610e065761293482600c54613190565b6001600c60008282546129479190614232565b9091555081905061295781614471565b915050612920565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061299482611c65565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316634000aea07f000000000000000000000000000000000000000000000000000000000000000084866000604051602001612a3d929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612a6a9392919061419a565b602060405180830381600087803b158015612a8457600080fd5b505af1158015612a98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612abc9190613df7565b50600083815260096020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a090910190925281519183019190912093879052919052612b18906001614232565b60008581526009602052604090205561247c8482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b6000818152600260205260408120546001600160a01b0316612bd15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a54565b6000612bdc83611c65565b9050806001600160a01b0316846001600160a01b03161480612c175750836001600160a01b0316612c0c84610c26565b6001600160a01b0316145b8061247c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff1661247c565b612c5433611382565b612cba5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610a54565b610e068383836131aa565b60408051602880825260608281019093526000919060208201818036833701905050905060005b6014811015612e21576000612d028260136143d0565b612d0d906008614390565b612d189060026142e8565b612d2b906001600160a01b03871661426f565b60f81b9050600060108260f81c612d429190614283565b60f81b905060008160f81c6010612d5991906143af565b8360f81c612d6791906143e7565b60f81b9050612d7582613377565b85612d81866002614390565b81518110612d9f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612dbf81613377565b85612dcb866002614390565b612dd6906001614232565b81518110612df457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053505050508080612e1990614471565b915050612cec565b5092915050565b80471015612e785760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a54565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612ec5576040519150601f19603f3d011682016040523d82523d6000602084013e612eca565b606091505b5050905080610e065760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a54565b6000806000612f5085856133b4565b91509150612f5d81613424565b509392505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612fc36125808261448c565b600f555050565b612fd3336124e1565b6130395760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610a54565b61304584848484613625565b50505050565b606060108054610ba390614436565b60608161309a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156130c457806130ae81614471565b91506130bd9050600a8361426f565b915061309e565b60008167ffffffffffffffff8111156130ed57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613117576020820181803683370190505b5090505b841561247c5761312c6001836143d0565b9150613139600a8661448c565b613144906030614232565b60f81b81838151811061316757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613189600a8661426f565b945061311b565b6114d78282604051806020016040528060008152506136a3565b826001600160a01b03166131bd82611c65565b6001600160a01b0316146132395760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a54565b6001600160a01b0382166132b45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a54565b6132bf60008261295f565b6001600160a01b03831660009081526003602052604081208054600192906132e89084906143d0565b90915550506001600160a01b0382166000908152600360205260408120805460019290613316908490614232565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000600a60f883901c1061339c5761339460f883901c605761424a565b60f81b610a0a565b6133ab60f883901c603061424a565b60f81b92915050565b6000808251604114156133eb5760208301516040840151606085015160001a6133df87828585613721565b9450945050505061341d565b825160401415613415576020830151604084015161340a86838361380e565b93509350505061341d565b506000905060025b9250929050565b600081600481111561344657634e487b7160e01b600052602160045260246000fd5b141561344f5750565b600181600481111561347157634e487b7160e01b600052602160045260246000fd5b14156134bf5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a54565b60028160048111156134e157634e487b7160e01b600052602160045260246000fd5b141561352f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a54565b600381600481111561355157634e487b7160e01b600052602160045260246000fd5b14156135aa5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a54565b60048160048111156135cc57634e487b7160e01b600052602160045260246000fd5b1415610eb15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a54565b6136308484846131aa565b61363c84848484613856565b6130455760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610a54565b6136ad83836139ab565b6136ba6000848484613856565b610e065760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610a54565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156137585750600090506003613805565b8460ff16601b1415801561377057508460ff16601c14155b156137815750600090506004613805565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156137d5573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166137fe57600060019250925050613805565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b0161384887828885613721565b935093505050935093915050565b60006001600160a01b0384163b156139a357604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061389a90339089908890889060040161415e565b602060405180830381600087803b1580156138b457600080fd5b505af19250505080156138e4575060408051601f3d908101601f191682019092526138e191810190613e68565b60015b613989573d808015613912576040519150601f19603f3d011682016040523d82523d6000602084013e613917565b606091505b5080516139815760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610a54565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061247c565b50600161247c565b6001600160a01b038216613a015760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a54565b6000818152600260205260409020546001600160a01b031615613a665760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a54565b6001600160a01b0382166000908152600360205260408120805460019290613a8f908490614232565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613af990614436565b90600052602060002090601f016020900481019282613b1b5760008555613b61565b82601f10613b345782800160ff19823516178555613b61565b82800160010185558215613b61579182015b82811115613b61578235825591602001919060010190613b46565b50613b6d929150613be5565b5090565b828054613b7d90614436565b90600052602060002090601f016020900481019282613b9f5760008555613b61565b82601f10613bb857805160ff1916838001178555613b61565b82800160010185558215613b61579182015b82811115613b61578251825591602001919060010190613bca565b5b80821115613b6d5760008155600101613be6565b600067ffffffffffffffff80841115613c1557613c156144cc565b604051601f8501601f19908116603f01168101908282118183101715613c3d57613c3d6144cc565b81604052809350858152868686011115613c5657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114613c8757600080fd5b919050565b600082601f830112613c9c578081fd5b6126af83833560208501613bfa565b600060208284031215613cbc578081fd5b6126af82613c70565b60008060408385031215613cd7578081fd5b613ce083613c70565b9150613cee60208401613c70565b90509250929050565b600080600060608486031215613d0b578081fd5b613d1484613c70565b9250613d2260208501613c70565b9150604084013590509250925092565b60008060008060808587031215613d47578081fd5b613d5085613c70565b9350613d5e60208601613c70565b925060408501359150606085013567ffffffffffffffff811115613d80578182fd5b613d8c87828801613c8c565b91505092959194509250565b60008060408385031215613daa578182fd5b613db383613c70565b91506020830135613dc3816144e2565b809150509250929050565b60008060408385031215613de0578182fd5b613de983613c70565b946020939093013593505050565b600060208284031215613e08578081fd5b81516126af816144e2565b600060208284031215613e24578081fd5b5051919050565b60008060408385031215613e3d578182fd5b50508035926020909101359150565b600060208284031215613e5d578081fd5b81356126af816144f0565b600060208284031215613e79578081fd5b81516126af816144f0565b600060208284031215613e95578081fd5b813567ffffffffffffffff811115613eab578182fd5b61247c84828501613c8c565b60008060408385031215613ec9578182fd5b823567ffffffffffffffff811115613edf578283fd5b613eeb85828601613c8c565b95602094909401359450505050565b600060208284031215613f0b578081fd5b813567ffffffffffffffff811115613f21578182fd5b8201601f81018413613f31578182fd5b61247c84823560208401613bfa565b600060208284031215613f51578081fd5b5035919050565b60008060408385031215613f6a578182fd5b82359150613cee60208401613c70565b600080600060408486031215613f8e578081fd5b83359250602084013567ffffffffffffffff80821115613fac578283fd5b818601915086601f830112613fbf578283fd5b813581811115613fcd578384fd5b876020828501011115613fde578384fd5b6020830194508093505050509250925092565b6000815180845261400981602086016020860161440a565b601f01601f19169290920160200192915050565b6000825161402f81846020870161440a565b9190910192915050565b600080835482600182811c91508083168061405557607f831692505b602080841082141561407557634e487b7160e01b87526022600452602487fd5b818015614089576001811461409a576140c6565b60ff198616895284890196506140c6565b60008a815260209020885b868110156140be5781548b8201529085019083016140a5565b505084890196505b509498975050505050505050565b600083516140e681846020880161440a565b8351908301906140fa81836020880161440a565b01949350505050565b7f19457468657265756d205369676e6564204d6573736167653a0a00000000000081526000835161413b81601a85016020880161440a565b83519083019061415281601a84016020880161440a565b01601a01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526141906080830184613ff1565b9695505050505050565b6001600160a01b03841681528260208201526060604082015260006141c26060830184613ff1565b95945050505050565b6020815260006126af6020830184613ff1565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6040815260006142206040830185613ff1565b82810360208401526141c28185613ff1565b60008219821115614245576142456144a0565b500190565b600060ff821660ff84168060ff03821115614267576142676144a0565b019392505050565b60008261427e5761427e6144b6565b500490565b600060ff831680614296576142966144b6565b8060ff84160491505092915050565b600181815b808511156142e05781600019048211156142c6576142c66144a0565b808516156142d357918102915b93841c93908002906142aa565b509250929050565b60006126af83836000826142fe57506001610a0a565b8161430b57506000610a0a565b8160018114614321576002811461432b57614347565b6001915050610a0a565b60ff84111561433c5761433c6144a0565b50506001821b610a0a565b5060208310610133831016604e8410600b841016171561436a575081810a610a0a565b61437483836142a5565b8060001904821115614388576143886144a0565b029392505050565b60008160001904831182151516156143aa576143aa6144a0565b500290565b600060ff821660ff84168160ff0481118215151615614388576143886144a0565b6000828210156143e2576143e26144a0565b500390565b600060ff821660ff841680821015614401576144016144a0565b90039392505050565b60005b8381101561442557818101518382015260200161440d565b838111156130455750506000910152565b600181811c9082168061444a57607f821691505b6020821081141561446b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415614485576144856144a0565b5060010190565b60008261449b5761449b6144b6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610eb157600080fd5b6001600160e01b031981168114610eb157600080fdfe383031366238656565333064636166326336313332316365653038636364306165303836353765336431353063626434393331356533353362313631636436654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122055c56e912e8c4dc1f2a6bd43fb3a017c606239f8ebce38be0c9beb29ef432a0d64736f6c6343000804003300000000000000000000000076b704fd0d9bb603f3c1afcff9d022fb224893c000000000000000000000000005459f875cd1e68b95e4c9ceb7b762983d06c8e400000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000000000000000000000000000000000000000001668747470733a2f2f6170692e7377616d70732e696f2f00000000000000000000

Deployed Bytecode

0x60806040526004361061034a5760003560e01c806368428a1b116101bb578063a0712d68116100f7578063dc8c57b411610095578063f0292a031161006f578063f0292a03146108fc578063f2fde38b14610911578063ff1b655614610931578063ff5018851461094657600080fd5b8063dc8c57b414610889578063de8b51e11461089e578063e985e9c5146108b357600080fd5b8063b88d4fde116100d1578063b88d4fde1461080e578063c002d23d1461082e578063c87b56dd14610849578063d720f9da1461086957600080fd5b8063a0712d68146107bb578063a22cb465146107ce578063a4a1edb1146107ee57600080fd5b80638da5cb5b11610164578063983fbab21161013e578063983fbab21461075b57806398e90184146104f75780639c6add8e1461077b5780639eb6ed1c1461079b57600080fd5b80638da5cb5b1461070857806394985ddd1461072657806395d89b411461074657600080fd5b8063715018a611610195578063715018a6146106be578063750521f5146106d357806377311049146106f357600080fd5b806368428a1b146106685780636ba90c6e1461068957806370a082311461069e57600080fd5b806330176e131161028a57806342842e0e1161023357806353135ca01161020d57806353135ca0146105f257806353e76f2c14610613578063549527c3146106335780636352211e1461064857600080fd5b806342842e0e1461059e5780634e21dc40146105be57806351830227146105d157600080fd5b80633b2c3fb6116102645780633b2c3fb61461055f5780633ccfd60b1461057457806340838f741461058957600080fd5b806330176e131461051457806332cb6b0c14610534578063346d14ae1461054a57600080fd5b8063095ea7b3116102f757806314dee4b3116102d157806314dee4b31461049857806318160ddd146104b857806323b872dd146104d75780632ee75a40146104f757600080fd5b8063095ea7b3146104355780630f1876a214610455578063124733061461046a57600080fd5b806305e3c4291161032857806305e3c429146103c857806306fdde0314610400578063081812fc1461041557600080fd5b806301ffc9a71461034f57806303339bcb1461038457806303ee438c146103a6575b600080fd5b34801561035b57600080fd5b5061036f61036a366004613e4c565b610973565b60405190151581526020015b60405180910390f35b34801561039057600080fd5b506103a461039f366004613f58565b610a10565b005b3480156103b257600080fd5b506103bb610b06565b60405161037b91906141cb565b3480156103d457600080fd5b506014546103e8906001600160a01b031681565b6040516001600160a01b03909116815260200161037b565b34801561040c57600080fd5b506103bb610b94565b34801561042157600080fd5b506103e8610430366004613f40565b610c26565b34801561044157600080fd5b506103a4610450366004613dce565b610cbb565b34801561046157600080fd5b506103a4610e0b565b34801561047657600080fd5b5061048a610485366004613f40565b610eb4565b60405161037b92919061420d565b3480156104a457600080fd5b506103a46104b3366004613f7a565b610fe0565b3480156104c457600080fd5b50600c545b60405190815260200161037b565b3480156104e357600080fd5b506103a46104f2366004613cf7565b611325565b34801561050357600080fd5b506104c968056bc75e2d6310000081565b34801561052057600080fd5b506103a461052f366004613efa565b61147c565b34801561054057600080fd5b506104c961258081565b34801561055657600080fd5b506103bb6114db565b34801561056b57600080fd5b506103a46114eb565b34801561058057600080fd5b506103a46115be565b34801561059557600080fd5b506104c96116c7565b3480156105aa57600080fd5b506103a46105b9366004613cf7565b6116d4565b6103a46105cc366004613eb7565b6116ef565b3480156105dd57600080fd5b5060115461036f90600160a01b900460ff1681565b3480156105fe57600080fd5b5060115461036f90600160a81b900460ff1681565b34801561061f57600080fd5b506103a461062e366004613f7a565b611960565b34801561063f57600080fd5b506104c9600381565b34801561065457600080fd5b506103e8610663366004613f40565b611c65565b34801561067457600080fd5b5060115461036f90600160b01b900460ff1681565b34801561069557600080fd5b506104c9606481565b3480156106aa57600080fd5b506104c96106b9366004613cab565b611cf0565b3480156106ca57600080fd5b506103a4611d8a565b3480156106df57600080fd5b506103a46106ee366004613efa565b611dde565b3480156106ff57600080fd5b506103a4611e39565b34801561071457600080fd5b506006546001600160a01b03166103e8565b34801561073257600080fd5b506103a4610741366004613e2b565b611ebd565b34801561075257600080fd5b506103bb611f3f565b34801561076757600080fd5b506103a4610776366004613dce565b611f4e565b34801561078757600080fd5b506103bb610796366004613e84565b612151565b3480156107a757600080fd5b506103a46107b6366004613cab565b612198565b6103a46107c9366004613f40565b612202565b3480156107da57600080fd5b506103a46107e9366004613d98565b61239b565b3480156107fa57600080fd5b506103e8610809366004613e84565b612460565b34801561081a57600080fd5b506103a4610829366004613d32565b612484565b34801561083a57600080fd5b506104c966d529ae9e86000081565b34801561085557600080fd5b506103bb610864366004613f40565b6125dd565b34801561087557600080fd5b506104c9610884366004613efa565b6126b6565b34801561089557600080fd5b506104c96126f6565b3480156108aa57600080fd5b506103a4612752565b3480156108bf57600080fd5b5061036f6108ce366004613cc5565b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b34801561090857600080fd5b506104c9600a81565b34801561091d57600080fd5b506103a461092c366004613cab565b6127d6565b34801561093d57600080fd5b506103bb6128a3565b34801561095257600080fd5b506104c9610961366004613cab565b60136020526000908152604090205481565b60006001600160e01b031982167f80ac58cd0000000000000000000000000000000000000000000000000000000014806109d657506001600160e01b031982167f5b5e139f00000000000000000000000000000000000000000000000000000000145b80610a0a57507f01ffc9a7000000000000000000000000000000000000000000000000000000006001600160e01b03198316145b92915050565b6006546001600160a01b03163314610a5d5760405162461bcd60e51b8152602060048201819052602482015260008051602061454783398151915260448201526064015b60405180910390fd5b606482600d54610a6d9190614232565b1115610ae15760405162461bcd60e51b815260206004820152602960248201527f45786365656473206d6178696d756d206e756d626572206f662072657365727660448201527f656420746f6b656e7300000000000000000000000000000000000000000000006064820152608401610a54565b610aeb82826128bf565b81600d6000828254610afd9190614232565b90915550505050565b60128054610b1390614436565b80601f0160208091040260200160405190810160405280929190818152602001828054610b3f90614436565b8015610b8c5780601f10610b6157610100808354040283529160200191610b8c565b820191906000526020600020905b815481529060010190602001808311610b6f57829003601f168201915b505050505081565b606060008054610ba390614436565b80601f0160208091040260200160405190810160405280929190818152602001828054610bcf90614436565b8015610c1c5780601f10610bf157610100808354040283529160200191610c1c565b820191906000526020600020905b815481529060010190602001808311610bff57829003601f168201915b5050505050905090565b6000818152600260205260408120546001600160a01b0316610c9f5760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a54565b506000908152600460205260409020546001600160a01b031690565b6000610cc682611c65565b9050806001600160a01b0316836001600160a01b03161415610d505760405162461bcd60e51b815260206004820152602160248201527f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560448201527f72000000000000000000000000000000000000000000000000000000000000006064820152608401610a54565b336001600160a01b0382161480610d8a57506001600160a01b038116600090815260056020908152604080832033845290915290205460ff165b610dfc5760405162461bcd60e51b815260206004820152603860248201527f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760448201527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006064820152608401610a54565b610e06838361295f565b505050565b6006546001600160a01b03163314610e535760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b600f5415610ea35760405162461bcd60e51b815260206004820152601560248201527f4f666673657420697320616c72656164792073657400000000000000000000006044820152606401610a54565b610eb1600a54600b546129cd565b50565b601560205260009081526040902080548190610ecf90614436565b80601f0160208091040260200160405190810160405280929190818152602001828054610efb90614436565b8015610f485780601f10610f1d57610100808354040283529160200191610f48565b820191906000526020600020905b815481529060010190602001808311610f2b57829003601f168201915b505050505090806001018054610f5d90614436565b80601f0160208091040260200160405190810160405280929190818152602001828054610f8990614436565b8015610fd65780601f10610fab57610100808354040283529160200191610fd6565b820191906000526020600020905b815481529060010190602001808311610fb957829003601f168201915b5050505050905082565b8233610feb82611c65565b6001600160a01b0316146110415760405162461bcd60e51b815260206004820152601d60248201527f53656e646572206973206e6f742074686520746f6b656e206f776e65720000006044820152606401610a54565b6014546001600160a01b03166110995760405162461bcd60e51b815260206004820152601560248201527f4e6f20746f6b656e20636f6e74726163742073657400000000000000000000006044820152606401610a54565b600083838080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505082519293505050158015906110e657506101188151105b6111325760405162461bcd60e51b815260206004820152601a60248201527f496e76616c6964206465736372697074696f6e206c656e6774680000000000006044820152606401610a54565b6002601560008781526020019081526020016000206001016040516111579190614039565b602060405180830381855afa158015611174573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906111979190613e13565b6002826040516111a7919061401d565b602060405180830381855afa1580156111c4573d6000803e3d6000fd5b5050506040513d601f19601f820116820180604052508101906111e79190613e13565b141561125b5760405162461bcd60e51b815260206004820152602e60248201527f4e6577206465736372697074696f6e2069732073616d6520617320637572726560448201527f6e74206465736372697074696f6e0000000000000000000000000000000000006064820152608401610a54565b601454604051632770a7eb60e21b815233600482015268056bc75e2d6310000060248201526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b1580156112af57600080fd5b505af11580156112c3573d6000803e3d6000fd5b50505060008681526015602052604090206112e391506001018585613aed565b50847fa5eb4fe2f21ddb28c752c9927387264d67ce06b0ce619ad8b4b06d8dfe94834785856040516113169291906141de565b60405180910390a25050505050565b600260075414156113785760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a54565b6002600755611388335b82612b58565b6113ee5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610a54565b6014546001600160a01b0316156114675760145460405163c640752d60e01b81526001600160a01b03858116600483015284811660248301529091169063c640752d90604401600060405180830381600087803b15801561144e57600080fd5b505af1158015611462573d6000803e3d6000fd5b505050505b611472838383612c4b565b5050600160075550565b6006546001600160a01b031633146114c45760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b80516114d7906010906020840190613b71565b5050565b60606114e633612cc5565b905090565b6006546001600160a01b031633146115335760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b600f546115825760405162461bcd60e51b815260206004820152601d60248201527f4f666673657420686173206e6f74206265656e2067656e6572617465640000006044820152606401610a54565b601180547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff8116600160a01b9182900460ff1615909102179055565b600260075414156116115760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a54565b60026007556011546001600160a01b031633148061163957506006546001600160a01b031633145b6116855760405162461bcd60e51b815260206004820152601660248201527f43616c6c65722063616e6e6f74207769746864726177000000000000000000006044820152606401610a54565b6011546116a5906001600160a01b03166116a060054761426f565b612e28565b6116c06116ba6006546001600160a01b031690565b47612e28565b6001600755565b60006114e66108846114db565b610e0683838360405180602001604052806000815250612484565b600260075414156117425760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a54565b60026007558160006117556108846114db565b905060006117638284612f41565b6008549091506001600160a01b038083169116146117c35760405162461bcd60e51b815260206004820152601b60248201527f496e76616c69642077686974656c697374207369676e617475726500000000006044820152606401610a54565b601154600160a81b900460ff1661181c5760405162461bcd60e51b815260206004820152601760248201527f50726573616c6520686173206e6f7420737461727465640000000000000000006044820152606401610a54565b61182d8466d529ae9e860000614390565b341461187b5760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420457468657220616d6f756e742073656e74000000000000006044820152606401610a54565b33600090815260136020526040902054600390611899908690614232565b111561190d5760405162461bcd60e51b815260206004820152602160248201527f457863656564732072656d61696e696e672070726573616c652062616c616e6360448201527f65000000000000000000000000000000000000000000000000000000000000006064820152608401610a54565b61191784336128bf565b3360009081526013602052604081208054869290611936908490614232565b9250508190555083600e600082825461194f9190614232565b909155505060016007555050505050565b823361196b82611c65565b6001600160a01b0316146119c15760405162461bcd60e51b815260206004820152601d60248201527f53656e646572206973206e6f742074686520746f6b656e206f776e65720000006044820152606401610a54565b6014546001600160a01b0316611a195760405162461bcd60e51b815260206004820152601560248201527f4e6f20746f6b656e20636f6e74726163742073657400000000000000000000006044820152606401610a54565b600083838080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250508251929350505015801590611a65575060198151105b611ab15760405162461bcd60e51b815260206004820152601360248201527f496e76616c6964206e616d65206c656e677468000000000000000000000000006044820152606401610a54565b600085815260156020526040908190209051600291611acf91614039565b602060405180830381855afa158015611aec573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611b0f9190613e13565b600282604051611b1f919061401d565b602060405180830381855afa158015611b3c573d6000803e3d6000fd5b5050506040513d601f19601f82011682018060405250810190611b5f9190613e13565b1415611bad5760405162461bcd60e51b815260206004820181905260248201527f4e6577206e616d652069732073616d652061732063757272656e74206e616d656044820152606401610a54565b601454604051632770a7eb60e21b815233600482015268056bc75e2d6310000060248201526001600160a01b0390911690639dc29fac90604401600060405180830381600087803b158015611c0157600080fd5b505af1158015611c15573d6000803e3d6000fd5b5050506000868152601560205260409020611c3291508585613aed565b50847fac2072268d18e10aecad35c0c04acd66330b2571a8ff403e3c702d77d3bab13485856040516113169291906141de565b6000818152600260205260408120546001600160a01b031680610a0a5760405162461bcd60e51b815260206004820152602960248201527f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460448201527f656e7420746f6b656e00000000000000000000000000000000000000000000006064820152608401610a54565b60006001600160a01b038216611d6e5760405162461bcd60e51b815260206004820152602a60248201527f4552433732313a2062616c616e636520717565727920666f7220746865207a6560448201527f726f2061646472657373000000000000000000000000000000000000000000006064820152608401610a54565b506001600160a01b031660009081526003602052604090205490565b6006546001600160a01b03163314611dd25760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b611ddc6000612f65565b565b6006546001600160a01b03163314611e265760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b80516114d7906012906020840190613b71565b6006546001600160a01b03163314611e815760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b601180547fffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffff8116600160a81b9182900460ff1615909102179055565b336001600160a01b037f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb79521614611f355760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006044820152606401610a54565b6114d78282612fb7565b606060018054610ba390614436565b6006546001600160a01b03163314611f965760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015281907f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316906370a082319060240160206040518083038186803b15801561201057600080fd5b505afa158015612024573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120489190613e13565b10156120965760405162461bcd60e51b815260206004820152601960248201527f496e73756666696369656e74204c494e4b2062616c616e6365000000000000006044820152606401610a54565b6040517fa9059cbb0000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152602482018390527f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca169063a9059cbb90604401602060405180830381600087803b15801561211957600080fd5b505af115801561212d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e069190613df7565b6060600061215e83612460565b6040516bffffffffffffffffffffffff19606083901b1660208201529091506034015b604051602081830303815290604052915050919050565b6006546001600160a01b031633146121e05760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b601480546001600160a01b0319166001600160a01b0392909216919091179055565b600260075414156122555760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a54565b6002600755601154600160b01b900460ff166122b35760405162461bcd60e51b815260206004820152601b60248201527f5075626c69632073616c6520686173206e6f74207374617274656400000000006044820152606401610a54565b6122c48166d529ae9e860000614390565b34146123125760405162461bcd60e51b815260206004820152601960248201527f496e76616c696420457468657220616d6f756e742073656e74000000000000006044820152606401610a54565b600a8111156123895760405162461bcd60e51b815260206004820152602a60248201527f4578636565647320746865206d6178696d756d20616d6f756e7420746f206d6960448201527f6e74206174206f6e6365000000000000000000000000000000000000000000006064820152608401610a54565b61239381336128bf565b506001600755565b6001600160a01b0382163314156123f45760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c6572000000000000006044820152606401610a54565b3360008181526005602090815260408083206001600160a01b03871680855290835292819020805460ff191686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b60008061246e6108846114db565b9050600061247c8285612f41565b949350505050565b600260075414156124d75760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610a54565b60026007556124e7335b83612b58565b61254d5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610a54565b6014546001600160a01b0316156125c65760145460405163c640752d60e01b81526001600160a01b03868116600483015285811660248301529091169063c640752d90604401600060405180830381600087803b1580156125ad57600080fd5b505af11580156125c1573d6000803e3d6000fd5b505050505b6125d284848484612fca565b505060016007555050565b6000818152600260205260409020546060906001600160a01b031661266a5760405162461bcd60e51b815260206004820152602f60248201527f4552433732314d657461646174613a2055524920717565727920666f72206e6f60448201527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006064820152608401610a54565b600061267461304b565b9050600081511161269457604051806020016040528060008152506126af565b8061269e8461305a565b6040516020016121819291906140d4565b9392505050565b6000808290506126c6815161305a565b816040516020016126d8929190614103565b60405160208183030381529060405280519060200120915050919050565b6000600f546000141561274b5760405162461bcd60e51b815260206004820152601d60248201527f4f666673657420686173206e6f74206265656e2067656e6572617465640000006044820152606401610a54565b50600f5490565b6006546001600160a01b0316331461279a5760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b601180547fffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffffffff8116600160b01b9182900460ff1615909102179055565b6006546001600160a01b0316331461281e5760405162461bcd60e51b815260206004820181905260248201526000805160206145478339815191526044820152606401610a54565b6001600160a01b03811661289a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f64647265737300000000000000000000000000000000000000000000000000006064820152608401610a54565b610eb181612f65565b6040518060600160405280604081526020016145076040913981565b61258082600c546128d09190614232565b1061291d5760405162461bcd60e51b815260206004820181905260248201527f45786365656473206d6178696d756d206e756d626572206f6620746f6b656e736044820152606401610a54565b60005b82811015610e065761293482600c54613190565b6001600c60008282546129479190614232565b9091555081905061295781614471565b915050612920565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061299482611c65565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca6001600160a01b0316634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795284866000604051602001612a3d929190918252602082015260400190565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612a6a9392919061419a565b602060405180830381600087803b158015612a8457600080fd5b505af1158015612a98573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612abc9190613df7565b50600083815260096020818152604080842054815180840189905280830186905230606082015260808082018390528351808303909101815260a090910190925281519183019190912093879052919052612b18906001614232565b60008581526009602052604090205561247c8482604080516020808201949094528082019290925280518083038201815260609092019052805191012090565b6000818152600260205260408120546001600160a01b0316612bd15760405162461bcd60e51b815260206004820152602c60248201527f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860448201526b34b9ba32b73a103a37b5b2b760a11b6064820152608401610a54565b6000612bdc83611c65565b9050806001600160a01b0316846001600160a01b03161480612c175750836001600160a01b0316612c0c84610c26565b6001600160a01b0316145b8061247c57506001600160a01b0380821660009081526005602090815260408083209388168352929052205460ff1661247c565b612c5433611382565b612cba5760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610a54565b610e068383836131aa565b60408051602880825260608281019093526000919060208201818036833701905050905060005b6014811015612e21576000612d028260136143d0565b612d0d906008614390565b612d189060026142e8565b612d2b906001600160a01b03871661426f565b60f81b9050600060108260f81c612d429190614283565b60f81b905060008160f81c6010612d5991906143af565b8360f81c612d6791906143e7565b60f81b9050612d7582613377565b85612d81866002614390565b81518110612d9f57634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350612dbf81613377565b85612dcb866002614390565b612dd6906001614232565b81518110612df457634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a9053505050508080612e1990614471565b915050612cec565b5092915050565b80471015612e785760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a20696e73756666696369656e742062616c616e63650000006044820152606401610a54565b6000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114612ec5576040519150601f19603f3d011682016040523d82523d6000602084013e612eca565b606091505b5050905080610e065760405162461bcd60e51b815260206004820152603a60248201527f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260448201527f6563697069656e74206d617920686176652072657665727465640000000000006064820152608401610a54565b6000806000612f5085856133b4565b91509150612f5d81613424565b509392505050565b600680546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b612fc36125808261448c565b600f555050565b612fd3336124e1565b6130395760405162461bcd60e51b815260206004820152603160248201527f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f6044820152701ddb995c881b9bdc88185c1c1c9bdd9959607a1b6064820152608401610a54565b61304584848484613625565b50505050565b606060108054610ba390614436565b60608161309a57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b81156130c457806130ae81614471565b91506130bd9050600a8361426f565b915061309e565b60008167ffffffffffffffff8111156130ed57634e487b7160e01b600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015613117576020820181803683370190505b5090505b841561247c5761312c6001836143d0565b9150613139600a8661448c565b613144906030614232565b60f81b81838151811061316757634e487b7160e01b600052603260045260246000fd5b60200101906001600160f81b031916908160001a905350613189600a8661426f565b945061311b565b6114d78282604051806020016040528060008152506136a3565b826001600160a01b03166131bd82611c65565b6001600160a01b0316146132395760405162461bcd60e51b815260206004820152602960248201527f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960448201527f73206e6f74206f776e00000000000000000000000000000000000000000000006064820152608401610a54565b6001600160a01b0382166132b45760405162461bcd60e51b8152602060048201526024808201527f4552433732313a207472616e7366657220746f20746865207a65726f2061646460448201527f72657373000000000000000000000000000000000000000000000000000000006064820152608401610a54565b6132bf60008261295f565b6001600160a01b03831660009081526003602052604081208054600192906132e89084906143d0565b90915550506001600160a01b0382166000908152600360205260408120805460019290613316908490614232565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b0386811691821790925591518493918716917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef91a4505050565b6000600a60f883901c1061339c5761339460f883901c605761424a565b60f81b610a0a565b6133ab60f883901c603061424a565b60f81b92915050565b6000808251604114156133eb5760208301516040840151606085015160001a6133df87828585613721565b9450945050505061341d565b825160401415613415576020830151604084015161340a86838361380e565b93509350505061341d565b506000905060025b9250929050565b600081600481111561344657634e487b7160e01b600052602160045260246000fd5b141561344f5750565b600181600481111561347157634e487b7160e01b600052602160045260246000fd5b14156134bf5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606401610a54565b60028160048111156134e157634e487b7160e01b600052602160045260246000fd5b141561352f5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610a54565b600381600481111561355157634e487b7160e01b600052602160045260246000fd5b14156135aa5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610a54565b60048160048111156135cc57634e487b7160e01b600052602160045260246000fd5b1415610eb15760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610a54565b6136308484846131aa565b61363c84848484613856565b6130455760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610a54565b6136ad83836139ab565b6136ba6000848484613856565b610e065760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610a54565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a08311156137585750600090506003613805565b8460ff16601b1415801561377057508460ff16601c14155b156137815750600090506004613805565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156137d5573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166137fe57600060019250925050613805565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b0161384887828885613721565b935093505050935093915050565b60006001600160a01b0384163b156139a357604051630a85bd0160e11b81526001600160a01b0385169063150b7a029061389a90339089908890889060040161415e565b602060405180830381600087803b1580156138b457600080fd5b505af19250505080156138e4575060408051601f3d908101601f191682019092526138e191810190613e68565b60015b613989573d808015613912576040519150601f19603f3d011682016040523d82523d6000602084013e613917565b606091505b5080516139815760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527131b2b4bb32b91034b6b83632b6b2b73a32b960711b6064820152608401610a54565b805181602001fd5b6001600160e01b031916630a85bd0160e11b14905061247c565b50600161247c565b6001600160a01b038216613a015760405162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f20616464726573736044820152606401610a54565b6000818152600260205260409020546001600160a01b031615613a665760405162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006044820152606401610a54565b6001600160a01b0382166000908152600360205260408120805460019290613a8f908490614232565b909155505060008181526002602052604080822080546001600160a01b0319166001600160a01b03861690811790915590518392907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b828054613af990614436565b90600052602060002090601f016020900481019282613b1b5760008555613b61565b82601f10613b345782800160ff19823516178555613b61565b82800160010185558215613b61579182015b82811115613b61578235825591602001919060010190613b46565b50613b6d929150613be5565b5090565b828054613b7d90614436565b90600052602060002090601f016020900481019282613b9f5760008555613b61565b82601f10613bb857805160ff1916838001178555613b61565b82800160010185558215613b61579182015b82811115613b61578251825591602001919060010190613bca565b5b80821115613b6d5760008155600101613be6565b600067ffffffffffffffff80841115613c1557613c156144cc565b604051601f8501601f19908116603f01168101908282118183101715613c3d57613c3d6144cc565b81604052809350858152868686011115613c5657600080fd5b858560208301376000602087830101525050509392505050565b80356001600160a01b0381168114613c8757600080fd5b919050565b600082601f830112613c9c578081fd5b6126af83833560208501613bfa565b600060208284031215613cbc578081fd5b6126af82613c70565b60008060408385031215613cd7578081fd5b613ce083613c70565b9150613cee60208401613c70565b90509250929050565b600080600060608486031215613d0b578081fd5b613d1484613c70565b9250613d2260208501613c70565b9150604084013590509250925092565b60008060008060808587031215613d47578081fd5b613d5085613c70565b9350613d5e60208601613c70565b925060408501359150606085013567ffffffffffffffff811115613d80578182fd5b613d8c87828801613c8c565b91505092959194509250565b60008060408385031215613daa578182fd5b613db383613c70565b91506020830135613dc3816144e2565b809150509250929050565b60008060408385031215613de0578182fd5b613de983613c70565b946020939093013593505050565b600060208284031215613e08578081fd5b81516126af816144e2565b600060208284031215613e24578081fd5b5051919050565b60008060408385031215613e3d578182fd5b50508035926020909101359150565b600060208284031215613e5d578081fd5b81356126af816144f0565b600060208284031215613e79578081fd5b81516126af816144f0565b600060208284031215613e95578081fd5b813567ffffffffffffffff811115613eab578182fd5b61247c84828501613c8c565b60008060408385031215613ec9578182fd5b823567ffffffffffffffff811115613edf578283fd5b613eeb85828601613c8c565b95602094909401359450505050565b600060208284031215613f0b578081fd5b813567ffffffffffffffff811115613f21578182fd5b8201601f81018413613f31578182fd5b61247c84823560208401613bfa565b600060208284031215613f51578081fd5b5035919050565b60008060408385031215613f6a578182fd5b82359150613cee60208401613c70565b600080600060408486031215613f8e578081fd5b83359250602084013567ffffffffffffffff80821115613fac578283fd5b818601915086601f830112613fbf578283fd5b813581811115613fcd578384fd5b876020828501011115613fde578384fd5b6020830194508093505050509250925092565b6000815180845261400981602086016020860161440a565b601f01601f19169290920160200192915050565b6000825161402f81846020870161440a565b9190910192915050565b600080835482600182811c91508083168061405557607f831692505b602080841082141561407557634e487b7160e01b87526022600452602487fd5b818015614089576001811461409a576140c6565b60ff198616895284890196506140c6565b60008a815260209020885b868110156140be5781548b8201529085019083016140a5565b505084890196505b509498975050505050505050565b600083516140e681846020880161440a565b8351908301906140fa81836020880161440a565b01949350505050565b7f19457468657265756d205369676e6564204d6573736167653a0a00000000000081526000835161413b81601a85016020880161440a565b83519083019061415281601a84016020880161440a565b01601a01949350505050565b60006001600160a01b038087168352808616602084015250836040830152608060608301526141906080830184613ff1565b9695505050505050565b6001600160a01b03841681528260208201526060604082015260006141c26060830184613ff1565b95945050505050565b6020815260006126af6020830184613ff1565b60208152816020820152818360408301376000818301604090810191909152601f909201601f19160101919050565b6040815260006142206040830185613ff1565b82810360208401526141c28185613ff1565b60008219821115614245576142456144a0565b500190565b600060ff821660ff84168060ff03821115614267576142676144a0565b019392505050565b60008261427e5761427e6144b6565b500490565b600060ff831680614296576142966144b6565b8060ff84160491505092915050565b600181815b808511156142e05781600019048211156142c6576142c66144a0565b808516156142d357918102915b93841c93908002906142aa565b509250929050565b60006126af83836000826142fe57506001610a0a565b8161430b57506000610a0a565b8160018114614321576002811461432b57614347565b6001915050610a0a565b60ff84111561433c5761433c6144a0565b50506001821b610a0a565b5060208310610133831016604e8410600b841016171561436a575081810a610a0a565b61437483836142a5565b8060001904821115614388576143886144a0565b029392505050565b60008160001904831182151516156143aa576143aa6144a0565b500290565b600060ff821660ff84168160ff0481118215151615614388576143886144a0565b6000828210156143e2576143e26144a0565b500390565b600060ff821660ff841680821015614401576144016144a0565b90039392505050565b60005b8381101561442557818101518382015260200161440d565b838111156130455750506000910152565b600181811c9082168061444a57607f821691505b6020821081141561446b57634e487b7160e01b600052602260045260246000fd5b50919050565b6000600019821415614485576144856144a0565b5060010190565b60008261449b5761449b6144b6565b500690565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052601260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b8015158114610eb157600080fd5b6001600160e01b031981168114610eb157600080fdfe383031366238656565333064636166326336313332316365653038636364306165303836353765336431353063626434393331356533353362313631636436654f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a264697066735822122055c56e912e8c4dc1f2a6bd43fb3a017c606239f8ebce38be0c9beb29ef432a0d64736f6c63430008040033

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

00000000000000000000000076b704fd0d9bb603f3c1afcff9d022fb224893c000000000000000000000000005459f875cd1e68b95e4c9ceb7b762983d06c8e400000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec80000000000000000000000000000000000000000000000000000000000000000001668747470733a2f2f6170692e7377616d70732e696f2f00000000000000000000

-----Decoded View---------------
Arg [0] : team (address): 0x76b704fd0D9Bb603F3c1AFcFF9D022fB224893c0
Arg [1] : signer (address): 0x05459F875Cd1E68b95e4C9cEb7b762983d06c8E4
Arg [2] : baseTokenURI (string): https://api.swamps.io/
Arg [3] : vrfCoordinator (address): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952
Arg [4] : linkToken (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [5] : keyHash (bytes32): 0xaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [6] : linkFee (uint256): 2000000000000000000

-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000076b704fd0d9bb603f3c1afcff9d022fb224893c0
Arg [1] : 00000000000000000000000005459f875cd1e68b95e4c9ceb7b762983d06c8e4
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952
Arg [4] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [5] : aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [6] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000016
Arg [8] : 68747470733a2f2f6170692e7377616d70732e696f2f00000000000000000000


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.