ETH Price: $2,937.68 (+4.67%)
 

Overview

Max Total Supply

3,272 4E4F

Holders

820

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
8 4E4F
0xf525382b952383e5bcc693bcd21467a7fd284913
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

This is a Game. A treasure Hunt. A puzzle. Online. Offline. Now and then. This is the rabbit hole. You need a key to get started. Some keys are special. Some keys are even more special. Silver keys can help you solve a puzzle when you are stuck. At the end wealth is waiting for some chosen ones.

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
FourE4F5553

Compiler Version
v0.8.0+commit.c7dfd78e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 19 : Nous.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/finance/PaymentSplitter.sol";
import "@openzeppelin/contracts/token/ERC721/ERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Burnable.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";

//        ██    ████████        ██    ████████  ████████  ████████  ████████    ████
//      ████    ██            ████    ██        ██        ██        ██        ██    ██
//    ██  ██    ██          ██  ██    ██        ██        ██        ██              ██
//  ██    ██    ██████    ██    ██    ██████    ████████  ████████  ████████    ████
//  ██████████  ██        ██████████  ██              ██        ██        ██        ██
//        ██    ██              ██    ██        ██    ██  ██    ██  ██    ██  ██    ██
//        ██    ████████        ██    ██          ████      ████      ████      ████

contract FourE4F5553 is ERC721, ERC721Enumerable, ERC721Burnable, PaymentSplitter, Ownable, VRFConsumerBase {
  using Address for address;

  uint256 internal LINK_FEE;
  bytes32 internal LINK_KEY_HASH;
  uint256 internal _tokenIds;
  uint256 internal _reserved;
  address[] internal _payees;
  bool internal _saleActive;
  uint256 internal _tokenOffset;
  string internal _baseTokenURI;
  string internal _contractURI;
  string internal _keysURI;

  uint256 public MAX_MINT = 10;
  uint256 public MINT_PRICE = 0.03333 ether;
  uint256 public MAX_SUPPLY = 3333;
  uint256 public MAX_RESERVED = 66;
  string public PROVENANCE_HASH; // Keccak-256

  constructor(
    string memory provenanceHash,
    string memory baseTokenURI,
    address vrfCoordinator,
    address linkToken,
    bytes32 keyHash,
    uint256 linkFee,
    address[] memory payees,
    uint256[] memory shares
  )
    ERC721("4E4F5553", "4E4F")
    PaymentSplitter(payees, shares)
    VRFConsumerBase(vrfCoordinator, linkToken)
  {
    PROVENANCE_HASH = provenanceHash;
    LINK_KEY_HASH = keyHash;
    LINK_FEE = linkFee;
    _baseTokenURI = baseTokenURI;
    _payees = payees;
  }

  function saleActive() public view returns (bool) {
    return _saleActive;
  }

  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 contractURI() public view returns (string memory) {
    return _contractURI;
  }

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

  function keysURI() public view returns (string memory) {
    return _keysURI;
  }

  function setKeysURI(string memory URI) public onlyOwner {
    _keysURI = URI;
  }

  function keyId(uint256 tokenId) public view returns (uint256) {
    require(_exists(tokenId), "Query for nonexistent token");

    return (tokenId + tokenOffset()) % MAX_SUPPLY;
  }

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

  function initializeSale() public onlyOwner {
    require(_tokenOffset == 0 && !_saleActive, "Sale is already initialized");

    requestRandomness(LINK_KEY_HASH, LINK_FEE);
  }

  function fulfillRandomness(bytes32 requestId, uint256 randomness) internal override {
    _saleActive = true;
    _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 mint(uint256 amount) public payable {
    require(amount <= MAX_MINT,               "Exceeds the maximum amount to mint at once");
    require(msg.value >= MINT_PRICE * amount, "Invalid Ether amount sent");
    require(_tokenOffset != 0,                "Offset has not been generated");
    require(_saleActive,                      "Sale is not active");

    _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 withdrawLINK(address to, uint256 amount) external onlyOwner {
    require(LINK.balanceOf(address(this)) >= amount, "Insufficient LINK balance");
    LINK.transfer(to, amount);
  }

  function withdrawAll() external onlyOwner {
    for (uint256 i = 0; i < _payees.length; i++) {
      release(payable(_payees[i]));
    }
  }

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

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

File 2 of 19 : VRFConsumerBase.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./interfaces/LinkTokenInterface.sol";

import "./VRFRequestIDBase.sol";

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

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

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

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

  LinkTokenInterface immutable internal LINK;
  address immutable private vrfCoordinator;

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

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

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

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

pragma solidity ^0.8.0;

contract VRFRequestIDBase {

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

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

File 4 of 19 : LinkTokenInterface.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface LinkTokenInterface {

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

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

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

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

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

  function increaseApproval(
    address spender,
    uint256 subtractedValue
  ) external;

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

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

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

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

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

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

}

File 5 of 19 : 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 6 of 19 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Address.sol";
import "../utils/Context.sol";
import "../utils/math/SafeMath.sol";

/**
 * @title PaymentSplitter
 * @dev This contract allows to split Ether payments among a group of accounts. The sender does not need to be aware
 * that the Ether will be split in this way, since it is handled transparently by the contract.
 *
 * The split can be in equal parts or in any other arbitrary proportion. The way this is specified is by assigning each
 * account to a number of shares. Of all the Ether that this contract receives, each account will then be able to claim
 * an amount proportional to the percentage of total shares they were assigned.
 *
 * `PaymentSplitter` follows a _pull payment_ model. This means that payments are not automatically forwarded to the
 * accounts but kept in this contract, and the actual transfer is triggered as a separate step by calling the {release}
 * function.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event PaymentReceived(address from, uint256 amount);

    uint256 private _totalShares;
    uint256 private _totalReleased;

    mapping(address => uint256) private _shares;
    mapping(address => uint256) private _released;
    address[] private _payees;

    /**
     * @dev Creates an instance of `PaymentSplitter` where each account in `payees` is assigned the number of shares at
     * the matching position in the `shares` array.
     *
     * All addresses in `payees` must be non-zero. Both arrays must have the same non-zero length, and there must be no
     * duplicates in `payees`.
     */
    constructor(address[] memory payees, uint256[] memory shares_) payable {
        require(payees.length == shares_.length, "PaymentSplitter: payees and shares length mismatch");
        require(payees.length > 0, "PaymentSplitter: no payees");

        for (uint256 i = 0; i < payees.length; i++) {
            _addPayee(payees[i], shares_[i]);
        }
    }

    /**
     * @dev The Ether received will be logged with {PaymentReceived} events. Note that these events are not fully
     * reliable: it's possible for a contract to receive Ether without triggering this function. This only affects the
     * reliability of the events, and not the actual splitting of Ether.
     *
     * To learn more about this see the Solidity documentation for
     * https://solidity.readthedocs.io/en/latest/contracts.html#fallback-function[fallback
     * functions].
     */
    receive() external payable virtual {
        emit PaymentReceived(_msgSender(), msg.value);
    }

    /**
     * @dev Getter for the total shares held by payees.
     */
    function totalShares() public view returns (uint256) {
        return _totalShares;
    }

    /**
     * @dev Getter for the total amount of Ether already released.
     */
    function totalReleased() public view returns (uint256) {
        return _totalReleased;
    }

    /**
     * @dev Getter for the amount of shares held by an account.
     */
    function shares(address account) public view returns (uint256) {
        return _shares[account];
    }

    /**
     * @dev Getter for the amount of Ether already released to a payee.
     */
    function released(address account) public view returns (uint256) {
        return _released[account];
    }

    /**
     * @dev Getter for the address of the payee number `index`.
     */
    function payee(uint256 index) public view returns (address) {
        return _payees[index];
    }

    /**
     * @dev Triggers a transfer to `account` of the amount of Ether they are owed, according to their percentage of the
     * total shares and their previous withdrawals.
     */
    function release(address payable account) public virtual {
        require(_shares[account] > 0, "PaymentSplitter: account has no shares");

        uint256 totalReceived = address(this).balance + _totalReleased;
        uint256 payment = (totalReceived * _shares[account]) / _totalShares - _released[account];

        require(payment != 0, "PaymentSplitter: account is not due payment");

        _released[account] = _released[account] + payment;
        _totalReleased = _totalReleased + payment;

        Address.sendValue(account, payment);
        emit PaymentReleased(account, payment);
    }

    /**
     * @dev Add a new payee to the contract.
     * @param account The address of the payee to add.
     * @param shares_ The number of shares owned by the payee.
     */
    function _addPayee(address account, uint256 shares_) private {
        require(account != address(0), "PaymentSplitter: account is the zero address");
        require(shares_ > 0, "PaymentSplitter: shares are 0");
        require(_shares[account] == 0, "PaymentSplitter: account already has shares");

        _payees.push(account);
        _shares[account] = shares_;
        _totalShares = _totalShares + shares_;
        emit PayeeAdded(account, shares_);
    }
}

File 7 of 19 : 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(to).onERC721Received.selector;
            } catch (bytes memory reason) {
                if (reason.length == 0) {
                    revert("ERC721: transfer to non ERC721Receiver implementer");
                } else {
                    assembly {
                        revert(add(32, reason), mload(reason))
                    }
                }
            }
        } else {
            return true;
        }
    }

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

File 8 of 19 : 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 9 of 19 : 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 10 of 19 : ERC721Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

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

File 11 of 19 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../ERC721.sol";
import "./IERC721Enumerable.sol";

/**
 * @dev This implements an optional extension of {ERC721} defined in the EIP that adds
 * enumerability of all the token ids in the contract as well as all token ids owned by each
 * account.
 */
abstract contract ERC721Enumerable is ERC721, IERC721Enumerable {
    // Mapping from owner to list of owned token IDs
    mapping(address => mapping(uint256 => uint256)) private _ownedTokens;

    // Mapping from token ID to index of the owner tokens list
    mapping(uint256 => uint256) private _ownedTokensIndex;

    // Array with all token ids, used for enumeration
    uint256[] private _allTokens;

    // Mapping from token id to position in the allTokens array
    mapping(uint256 => uint256) private _allTokensIndex;

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

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721.balanceOf(owner), "ERC721Enumerable: owner index out of bounds");
        return _ownedTokens[owner][index];
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _allTokens.length;
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view virtual override returns (uint256) {
        require(index < ERC721Enumerable.totalSupply(), "ERC721Enumerable: global index out of bounds");
        return _allTokens[index];
    }

    /**
     * @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` cannot be the zero address.
     * - `to` cannot be the zero address.
     *
     * 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 override {
        super._beforeTokenTransfer(from, to, tokenId);

        if (from == address(0)) {
            _addTokenToAllTokensEnumeration(tokenId);
        } else if (from != to) {
            _removeTokenFromOwnerEnumeration(from, tokenId);
        }
        if (to == address(0)) {
            _removeTokenFromAllTokensEnumeration(tokenId);
        } else if (to != from) {
            _addTokenToOwnerEnumeration(to, tokenId);
        }
    }

    /**
     * @dev Private function to add a token to this extension's ownership-tracking data structures.
     * @param to address representing the new owner of the given token ID
     * @param tokenId uint256 ID of the token to be added to the tokens list of the given address
     */
    function _addTokenToOwnerEnumeration(address to, uint256 tokenId) private {
        uint256 length = ERC721.balanceOf(to);
        _ownedTokens[to][length] = tokenId;
        _ownedTokensIndex[tokenId] = length;
    }

    /**
     * @dev Private function to add a token to this extension's token tracking data structures.
     * @param tokenId uint256 ID of the token to be added to the tokens list
     */
    function _addTokenToAllTokensEnumeration(uint256 tokenId) private {
        _allTokensIndex[tokenId] = _allTokens.length;
        _allTokens.push(tokenId);
    }

    /**
     * @dev Private function to remove a token from this extension's ownership-tracking data structures. Note that
     * while the token is not assigned a new owner, the `_ownedTokensIndex` mapping is _not_ updated: this allows for
     * gas optimizations e.g. when performing a transfer operation (avoiding double writes).
     * This has O(1) time complexity, but alters the order of the _ownedTokens array.
     * @param from address representing the previous owner of the given token ID
     * @param tokenId uint256 ID of the token to be removed from the tokens list of the given address
     */
    function _removeTokenFromOwnerEnumeration(address from, uint256 tokenId) private {
        // To prevent a gap in from's tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = ERC721.balanceOf(from) - 1;
        uint256 tokenIndex = _ownedTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary
        if (tokenIndex != lastTokenIndex) {
            uint256 lastTokenId = _ownedTokens[from][lastTokenIndex];

            _ownedTokens[from][tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
            _ownedTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index
        }

        // This also deletes the contents at the last position of the array
        delete _ownedTokensIndex[tokenId];
        delete _ownedTokens[from][lastTokenIndex];
    }

    /**
     * @dev Private function to remove a token from this extension's token tracking data structures.
     * This has O(1) time complexity, but alters the order of the _allTokens array.
     * @param tokenId uint256 ID of the token to be removed from the tokens list
     */
    function _removeTokenFromAllTokensEnumeration(uint256 tokenId) private {
        // To prevent a gap in the tokens array, we store the last token in the index of the token to delete, and
        // then delete the last slot (swap and pop).

        uint256 lastTokenIndex = _allTokens.length - 1;
        uint256 tokenIndex = _allTokensIndex[tokenId];

        // When the token to delete is the last token, the swap operation is unnecessary. However, since this occurs so
        // rarely (when the last minted token is burnt) that we still do the swap here to avoid the gas cost of adding
        // an 'if' statement (like in _removeTokenFromOwnerEnumeration)
        uint256 lastTokenId = _allTokens[lastTokenIndex];

        _allTokens[tokenIndex] = lastTokenId; // Move the last token to the slot of the to-delete token
        _allTokensIndex[lastTokenId] = tokenIndex; // Update the moved token's index

        // This also deletes the contents at the last position of the array
        delete _allTokensIndex[tokenId];
        _allTokens.pop();
    }
}

File 12 of 19 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256 tokenId);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 13 of 19 : 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 19 : 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);
    }

    function _verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) private 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 19 : 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 16 of 19 : 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 17 of 19 : 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 18 of 19 : 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 19 of 19 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

// CAUTION
// This version of SafeMath should only be used with Solidity 0.8 or later,
// because it relies on the compiler's built in overflow checks.

/**
 * @dev Wrappers over Solidity's arithmetic operations.
 *
 * NOTE: `SafeMath` is no longer needed starting with Solidity 0.8. The compiler
 * now has built in overflow checking.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            uint256 c = a + b;
            if (c < a) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b > a) return (false, 0);
            return (true, a - b);
        }
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
            // benefit is lost if 'b' is also tested.
            // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
            if (a == 0) return (true, 0);
            uint256 c = a * b;
            if (c / a != b) return (false, 0);
            return (true, c);
        }
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a / b);
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        unchecked {
            if (b == 0) return (false, 0);
            return (true, a % b);
        }
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        return a + b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        return a * b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator.
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b <= a, errorMessage);
            return a - b;
        }
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a / b;
        }
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        unchecked {
            require(b > 0, errorMessage);
            return a % b;
        }
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"provenanceHash","type":"string"},{"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"},{"internalType":"address[]","name":"payees","type":"address[]"},{"internalType":"uint256[]","name":"shares","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":false,"internalType":"address","name":"account","type":"address"},{"indexed":false,"internalType":"uint256","name":"shares","type":"uint256"}],"name":"PayeeAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"from","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReceived","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"PaymentReleased","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"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":"PROVENANCE_HASH","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"contractURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"flipSaleActive","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initializeSale","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"keyId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"keysURI","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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"payee","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"saleActive","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setBaseTokenURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setContractURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"URI","type":"string"}],"name":"setKeysURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"shares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalShares","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","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"},{"stateMutability":"payable","type":"receive"}]

60c0604052600a601b55667669755a5d2000601c55610d05601d556042601e553480156200002c57600080fd5b5060405162006a5538038062006a55833981810160405281019062000052919062000977565b858583836040518060400160405280600881526020017f34453446353535330000000000000000000000000000000000000000000000008152506040518060400160405280600481526020017f34453446000000000000000000000000000000000000000000000000000000008152508160009080519060200190620000da9291906200063d565b508060019080519060200190620000f39291906200063d565b50505080518251146200013d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620001349062000ccb565b60405180910390fd5b600082511162000184576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200017b9062000d0f565b60405180910390fd5b60005b82518110156200023b5762000225838281518110620001cf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015183838151811062000211577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101516200033560201b60201c565b8080620002329062000f3a565b91505062000187565b5050506200025e620002526200056f60201b60201c565b6200057760201b60201c565b8173ffffffffffffffffffffffffffffffffffffffff1660a08173ffffffffffffffffffffffffffffffffffffffff1660601b815250508073ffffffffffffffffffffffffffffffffffffffff1660808173ffffffffffffffffffffffffffffffffffffffff1660601b81525050505087601f9080519060200190620002e69291906200063d565b50836012819055508260118190555086601890805190602001906200030d9291906200063d565b50816015908051906020019062000326929190620006ce565b50505050505050505062001063565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620003a8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200039f9062000ca9565b60405180910390fd5b60008111620003ee576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620003e59062000d31565b60405180910390fd5b6000600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020541462000473576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200046a9062000ced565b60405180910390fd5b600e829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600c60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600a546200052a919062000e29565b600a819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200056392919062000c7c565b60405180910390a15050565b600033905090565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8280546200064b9062000f04565b90600052602060002090601f0160209004810192826200066f5760008555620006bb565b82601f106200068a57805160ff1916838001178555620006bb565b82800160010185558215620006bb579182015b82811115620006ba5782518255916020019190600101906200069d565b5b509050620006ca91906200075d565b5090565b8280548282559060005260206000209081019282156200074a579160200282015b82811115620007495782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620006ef565b5b5090506200075991906200075d565b5090565b5b80821115620007785760008160009055506001016200075e565b5090565b6000620007936200078d8462000d87565b62000d53565b90508083825260208201905082856020860282011115620007b357600080fd5b60005b85811015620007e75781620007cc8882620008ab565b845260208401935060208301925050600181019050620007b6565b5050509392505050565b600062000808620008028462000db6565b62000d53565b905080838252602082019050828560208602820111156200082857600080fd5b60005b858110156200085c578162000841888262000960565b8452602084019350602083019250506001810190506200082b565b5050509392505050565b60006200087d620008778462000de5565b62000d53565b9050828152602081018484840111156200089657600080fd5b620008a384828562000ece565b509392505050565b600081519050620008bc8162001015565b92915050565b600082601f830112620008d457600080fd5b8151620008e68482602086016200077c565b91505092915050565b600082601f8301126200090157600080fd5b815162000913848260208601620007f1565b91505092915050565b6000815190506200092d816200102f565b92915050565b600082601f8301126200094557600080fd5b81516200095784826020860162000866565b91505092915050565b600081519050620009718162001049565b92915050565b600080600080600080600080610100898b0312156200099557600080fd5b600089015167ffffffffffffffff811115620009b057600080fd5b620009be8b828c0162000933565b985050602089015167ffffffffffffffff811115620009dc57600080fd5b620009ea8b828c0162000933565b9750506040620009fd8b828c01620008ab565b965050606062000a108b828c01620008ab565b955050608062000a238b828c016200091c565b94505060a062000a368b828c0162000960565b93505060c089015167ffffffffffffffff81111562000a5457600080fd5b62000a628b828c01620008c2565b92505060e089015167ffffffffffffffff81111562000a8057600080fd5b62000a8e8b828c01620008ef565b9150509295985092959890939650565b62000aa98162000e86565b82525050565b600062000abe602c8362000e18565b91507f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008301527f7a65726f206164647265737300000000000000000000000000000000000000006020830152604082019050919050565b600062000b2660328362000e18565b91507f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008301527f6573206c656e677468206d69736d6174636800000000000000000000000000006020830152604082019050919050565b600062000b8e602b8362000e18565b91507f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008301527f20686173207368617265730000000000000000000000000000000000000000006020830152604082019050919050565b600062000bf6601a8362000e18565b91507f5061796d656e7453706c69747465723a206e6f207061796565730000000000006000830152602082019050919050565b600062000c38601d8362000e18565b91507f5061796d656e7453706c69747465723a207368617265732061726520300000006000830152602082019050919050565b62000c768162000ec4565b82525050565b600060408201905062000c93600083018562000a9e565b62000ca2602083018462000c6b565b9392505050565b6000602082019050818103600083015262000cc48162000aaf565b9050919050565b6000602082019050818103600083015262000ce68162000b17565b9050919050565b6000602082019050818103600083015262000d088162000b7f565b9050919050565b6000602082019050818103600083015262000d2a8162000be7565b9050919050565b6000602082019050818103600083015262000d4c8162000c29565b9050919050565b6000604051905081810181811067ffffffffffffffff8211171562000d7d5762000d7c62000fe6565b5b8060405250919050565b600067ffffffffffffffff82111562000da55762000da462000fe6565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000dd45762000dd362000fe6565b5b602082029050602081019050919050565b600067ffffffffffffffff82111562000e035762000e0262000fe6565b5b601f19601f8301169050602081019050919050565b600082825260208201905092915050565b600062000e368262000ec4565b915062000e438362000ec4565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111562000e7b5762000e7a62000f88565b5b828201905092915050565b600062000e938262000ea4565b9050919050565b6000819050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60005b8381101562000eee57808201518184015260208101905062000ed1565b8381111562000efe576000848401525b50505050565b6000600282049050600182168062000f1d57607f821691505b6020821081141562000f345762000f3362000fb7565b5b50919050565b600062000f478262000ec4565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141562000f7d5762000f7c62000f88565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620010208162000e86565b81146200102c57600080fd5b50565b6200103a8162000e9a565b81146200104657600080fd5b50565b620010548162000ec4565b81146200106057600080fd5b50565b60805160601c60a05160601c6159b1620010a4600039600081816118fe0152612c1e015260008181611aa901528181611b930152612be201526159b16000f3fe6080604052600436106102815760003560e01c80638b83209b1161014f578063c002d23d116100c1578063e33b7de31161007a578063e33b7de3146109d2578063e8a3d485146109fd578063e985e9c514610a28578063f0292a0314610a65578063f2fde38b14610a90578063ff1b655614610ab9576102c8565b8063c002d23d146108c2578063c87b56dd146108ed578063ce7c2ac21461092a578063dc8c57b414610967578063de8b51e114610992578063e22302f0146109a9576102c8565b8063983fbab211610113578063983fbab2146107c35780639852595c146107ec578063a0712d6814610829578063a22cb46514610845578063ac74d02c1461086e578063b88d4fde14610899576102c8565b80638b83209b146106de5780638da5cb5b1461071b578063938e3d7b1461074657806394985ddd1461076f57806395d89b4114610798576102c8565b806332cb6b0c116101f35780636352211e116101ac5780636352211e146105e057806368428a1b1461061d5780636ba90c6e1461064857806370a0823114610673578063715018a6146106b0578063853828b6146106c7576102c8565b806332cb6b0c146104be5780633a98ef39146104e95780634102e8231461051457806342842e0e1461055157806342966c681461057a5780634f6ccce7146105a3576102c8565b806318160ddd1161024557806318160ddd146103c457806319165587146103ef57806323b872dd146104185780632c7b78b6146104415780632f745c591461045857806330176e1314610495576102c8565b806301ffc9a7146102cd57806303339bcb1461030a57806306fdde0314610333578063081812fc1461035e578063095ea7b31461039b576102c8565b366102c8577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102af610ae4565b346040516102be929190614f1b565b60405180910390a1005b600080fd5b3480156102d957600080fd5b506102f460048036038101906102ef9190614097565b610aec565b6040516103019190614f82565b60405180910390f35b34801561031657600080fd5b50610331600480360381019061032c919061417c565b610afe565b005b34801561033f57600080fd5b50610348610bf2565b604051610355919061500b565b60405180910390f35b34801561036a57600080fd5b506103856004803603810190610380919061412a565b610c84565b6040516103929190614e8b565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd9190613ff6565b610d09565b005b3480156103d057600080fd5b506103d9610e21565b6040516103e6919061544d565b60405180910390f35b3480156103fb57600080fd5b5061041660048036038101906104119190613e8b565b610e2e565b005b34801561042457600080fd5b5061043f600480360381019061043a9190613ef0565b611096565b005b34801561044d57600080fd5b506104566110f6565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613ff6565b6111e1565b60405161048c919061544d565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b791906140e9565b611286565b005b3480156104ca57600080fd5b506104d361131c565b6040516104e0919061544d565b60405180910390f35b3480156104f557600080fd5b506104fe611322565b60405161050b919061544d565b60405180910390f35b34801561052057600080fd5b5061053b6004803603810190610536919061412a565b61132c565b604051610548919061544d565b60405180910390f35b34801561055d57600080fd5b5061057860048036038101906105739190613ef0565b61139d565b005b34801561058657600080fd5b506105a1600480360381019061059c919061412a565b6113bd565b005b3480156105af57600080fd5b506105ca60048036038101906105c5919061412a565b611419565b6040516105d7919061544d565b60405180910390f35b3480156105ec57600080fd5b506106076004803603810190610602919061412a565b6114b0565b6040516106149190614e8b565b60405180910390f35b34801561062957600080fd5b50610632611562565b60405161063f9190614f82565b60405180910390f35b34801561065457600080fd5b5061065d611579565b60405161066a919061544d565b60405180910390f35b34801561067f57600080fd5b5061069a60048036038101906106959190613e62565b61157f565b6040516106a7919061544d565b60405180910390f35b3480156106bc57600080fd5b506106c5611637565b005b3480156106d357600080fd5b506106dc6116bf565b005b3480156106ea57600080fd5b506107056004803603810190610700919061412a565b6117ce565b6040516107129190614e8b565b60405180910390f35b34801561072757600080fd5b5061073061183c565b60405161073d9190614e8b565b60405180910390f35b34801561075257600080fd5b5061076d600480360381019061076891906140e9565b611866565b005b34801561077b57600080fd5b506107966004803603810190610791919061405b565b6118fc565b005b3480156107a457600080fd5b506107ad611998565b6040516107ba919061500b565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e59190613ff6565b611a2a565b005b3480156107f857600080fd5b50610813600480360381019061080e9190613e62565b611c43565b604051610820919061544d565b60405180910390f35b610843600480360381019061083e919061412a565b611c8c565b005b34801561085157600080fd5b5061086c60048036038101906108679190613fba565b611dc3565b005b34801561087a57600080fd5b50610883611f44565b604051610890919061500b565b60405180910390f35b3480156108a557600080fd5b506108c060048036038101906108bb9190613f3f565b611fd6565b005b3480156108ce57600080fd5b506108d7612038565b6040516108e4919061544d565b60405180910390f35b3480156108f957600080fd5b50610914600480360381019061090f919061412a565b61203e565b604051610921919061500b565b60405180910390f35b34801561093657600080fd5b50610951600480360381019061094c9190613e62565b6120e5565b60405161095e919061544d565b60405180910390f35b34801561097357600080fd5b5061097c61212e565b604051610989919061544d565b60405180910390f35b34801561099e57600080fd5b506109a761217d565b005b3480156109b557600080fd5b506109d060048036038101906109cb91906140e9565b612225565b005b3480156109de57600080fd5b506109e76122bb565b6040516109f4919061544d565b60405180910390f35b348015610a0957600080fd5b50610a126122c5565b604051610a1f919061500b565b60405180910390f35b348015610a3457600080fd5b50610a4f6004803603810190610a4a9190613eb4565b612357565b604051610a5c9190614f82565b60405180910390f35b348015610a7157600080fd5b50610a7a6123eb565b604051610a87919061544d565b60405180910390f35b348015610a9c57600080fd5b50610ab76004803603810190610ab29190613e62565b6123f1565b005b348015610ac557600080fd5b50610ace6124e9565b604051610adb919061500b565b60405180910390f35b600033905090565b6000610af782612577565b9050919050565b610b06610ae4565b73ffffffffffffffffffffffffffffffffffffffff16610b2461183c565b73ffffffffffffffffffffffffffffffffffffffff1614610b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b719061532d565b60405180910390fd5b601e5482601454610b8b9190615547565b10610bcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc29061522d565b60405180910390fd5b610bd582826125f1565b8160146000828254610be79190615547565b925050819055505050565b606060008054610c0190615764565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2d90615764565b8015610c7a5780601f10610c4f57610100808354040283529160200191610c7a565b820191906000526020600020905b815481529060010190602001808311610c5d57829003601f168201915b5050505050905090565b6000610c8f8261268b565b610cce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc59061530d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d14826114b0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c906153ad565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610da4610ae4565b73ffffffffffffffffffffffffffffffffffffffff161480610dd35750610dd281610dcd610ae4565b612357565b5b610e12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e099061524d565b60405180910390fd5b610e1c83836126f7565b505050565b6000600880549050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610eb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea79061512d565b60405180910390fd5b6000600b5447610ec09190615547565b90506000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a54600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610f5291906155ce565b610f5c919061559d565b610f669190615628565b90506000811415610fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa39061520d565b60405180910390fd5b80600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ff79190615547565b600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600b546110489190615547565b600b8190555061105883826127b0565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051611089929190614ea6565b60405180910390a1505050565b6110a76110a1610ae4565b826128a4565b6110e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dd906153cd565b60405180910390fd5b6110f1838383612982565b505050565b6110fe610ae4565b73ffffffffffffffffffffffffffffffffffffffff1661111c61183c565b73ffffffffffffffffffffffffffffffffffffffff1614611172576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111699061532d565b60405180910390fd5b60006017541480156111915750601660009054906101000a900460ff16155b6111d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c7906152cd565b60405180910390fd5b6111de601254601154612bde565b50565b60006111ec8361157f565b821061122d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112249061504d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61128e610ae4565b73ffffffffffffffffffffffffffffffffffffffff166112ac61183c565b73ffffffffffffffffffffffffffffffffffffffff1614611302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f99061532d565b60405180910390fd5b8060189080519060200190611318929190613c32565b5050565b601d5481565b6000600a54905090565b60006113378261268b565b611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d9061502d565b60405180910390fd5b601d5461138161212e565b8361138c9190615547565b61139691906157f3565b9050919050565b6113b883838360405180602001604052806000815250611fd6565b505050565b6113ce6113c8610ae4565b826128a4565b61140d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114049061542d565b60405180910390fd5b61141681612d40565b50565b6000611423610e21565b8210611464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145b9061540d565b60405180910390fd5b6008828154811061149e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611559576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115509061528d565b60405180910390fd5b80915050919050565b6000601660009054906101000a900460ff16905090565b601e5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e79061526d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61163f610ae4565b73ffffffffffffffffffffffffffffffffffffffff1661165d61183c565b73ffffffffffffffffffffffffffffffffffffffff16146116b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116aa9061532d565b60405180910390fd5b6116bd6000612e51565b565b6116c7610ae4565b73ffffffffffffffffffffffffffffffffffffffff166116e561183c565b73ffffffffffffffffffffffffffffffffffffffff161461173b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117329061532d565b60405180910390fd5b60005b6015805490508110156117cb576117b860158281548110611788577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610e2e565b80806117c390615796565b91505061173e565b50565b6000600e828154811061180a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61186e610ae4565b73ffffffffffffffffffffffffffffffffffffffff1661188c61183c565b73ffffffffffffffffffffffffffffffffffffffff16146118e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d99061532d565b60405180910390fd5b80601890805190602001906118f8929190613c32565b5050565b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461198a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119819061538d565b60405180910390fd5b6119948282612f17565b5050565b6060600180546119a790615764565b80601f01602080910402602001604051908101604052809291908181526020018280546119d390615764565b8015611a205780601f106119f557610100808354040283529160200191611a20565b820191906000526020600020905b815481529060010190602001808311611a0357829003601f168201915b5050505050905090565b611a32610ae4565b73ffffffffffffffffffffffffffffffffffffffff16611a5061183c565b73ffffffffffffffffffffffffffffffffffffffff1614611aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9d9061532d565b60405180910390fd5b807f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611b009190614e8b565b60206040518083038186803b158015611b1857600080fd5b505afa158015611b2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b509190614153565b1015611b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b88906152ad565b60405180910390fd5b7f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401611bec929190614f1b565b602060405180830381600087803b158015611c0657600080fd5b505af1158015611c1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3e9190614032565b505050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601b54811115611cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc89061510d565b60405180910390fd5b80601c54611cdf91906155ce565b341015611d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d18906150ed565b60405180910390fd5b60006017541415611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e906153ed565b60405180910390fd5b601660009054906101000a900460ff16611db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dad9061518d565b60405180910390fd5b611dc081336125f1565b50565b611dcb610ae4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e309061516d565b60405180910390fd5b8060056000611e46610ae4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ef3610ae4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f389190614f82565b60405180910390a35050565b6060601a8054611f5390615764565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7f90615764565b8015611fcc5780601f10611fa157610100808354040283529160200191611fcc565b820191906000526020600020905b815481529060010190602001808311611faf57829003601f168201915b5050505050905090565b611fe7611fe1610ae4565b836128a4565b612026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201d906153cd565b60405180910390fd5b61203284848484612f4a565b50505050565b601c5481565b60606120498261268b565b612088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207f9061536d565b60405180910390fd5b6000612092612fa6565b905060008151116120b257604051806020016040528060008152506120dd565b806120bc84613038565b6040516020016120cd929190614e52565b6040516020818303038152906040525b915050919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000806017541415612175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216c906153ed565b60405180910390fd5b601754905090565b612185610ae4565b73ffffffffffffffffffffffffffffffffffffffff166121a361183c565b73ffffffffffffffffffffffffffffffffffffffff16146121f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f09061532d565b60405180910390fd5b601660009054906101000a900460ff1615601660006101000a81548160ff021916908315150217905550565b61222d610ae4565b73ffffffffffffffffffffffffffffffffffffffff1661224b61183c565b73ffffffffffffffffffffffffffffffffffffffff16146122a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122989061532d565b60405180910390fd5b80601a90805190602001906122b7929190613c32565b5050565b6000600b54905090565b6060601980546122d490615764565b80601f016020809104026020016040519081016040528092919081815260200182805461230090615764565b801561234d5780601f106123225761010080835404028352916020019161234d565b820191906000526020600020905b81548152906001019060200180831161233057829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601b5481565b6123f9610ae4565b73ffffffffffffffffffffffffffffffffffffffff1661241761183c565b73ffffffffffffffffffffffffffffffffffffffff161461246d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124649061532d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d49061508d565b60405180910390fd5b6124e681612e51565b50565b601f80546124f690615764565b80601f016020809104026020016040519081016040528092919081815260200182805461252290615764565b801561256f5780601f106125445761010080835404028352916020019161256f565b820191906000526020600020905b81548152906001019060200180831161255257829003601f168201915b505050505081565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125ea57506125e9826131e5565b5b9050919050565b601d54826013546126029190615547565b10612642576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612639906150cd565b60405180910390fd5b60005b8281101561268657612659826013546132c7565b60016013600082825461266c9190615547565b92505081905550808061267e90615796565b915050612645565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661276a836114b0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156127f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ea906151cd565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161281990614e76565b60006040518083038185875af1925050503d8060008114612856576040519150601f19603f3d011682016040523d82523d6000602084013e61285b565b606091505b505090508061289f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612896906151ad565b60405180910390fd5b505050565b60006128af8261268b565b6128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e5906151ed565b60405180910390fd5b60006128f9836114b0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061296857508373ffffffffffffffffffffffffffffffffffffffff1661295084610c84565b73ffffffffffffffffffffffffffffffffffffffff16145b8061297957506129788185612357565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129a2826114b0565b73ffffffffffffffffffffffffffffffffffffffff16146129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef9061534d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f9061514d565b60405180910390fd5b612a738383836132e5565b612a7e6000826126f7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ace9190615628565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b259190615547565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60007f000000000000000000000000000000000000000000000000000000000000000073ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000000000000000000000000000000000000000000084866000604051602001612c52929190614f9d565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612c7f93929190614f44565b602060405180830381600087803b158015612c9957600080fd5b505af1158015612cad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd19190614032565b506000612cf48460003060106000898152602001908152602001600020546132f5565b905060016010600086815260200190815260200160002054612d169190615547565b6010600086815260200190815260200160002081905550612d378482613331565b91505092915050565b6000612d4b826114b0565b9050612d59816000846132e5565b612d646000836126f7565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612db49190615628565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001601660006101000a81548160ff021916908315150217905550601d5481612f4091906157f3565b6017819055505050565b612f55848484612982565b612f6184848484613364565b612fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f979061506d565b60405180910390fd5b50505050565b606060188054612fb590615764565b80601f0160208091040260200160405190810160405280929190818152602001828054612fe190615764565b801561302e5780601f106130035761010080835404028352916020019161302e565b820191906000526020600020905b81548152906001019060200180831161301157829003601f168201915b5050505050905090565b60606000821415613080576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131e0565b600082905060005b600082146130b257808061309b90615796565b915050600a826130ab919061559d565b9150613088565b60008167ffffffffffffffff8111156130f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156131265781602001600182028036833780820191505090505b5090505b600085146131d95760018261313f9190615628565b9150600a8561314e91906157f3565b603061315a9190615547565b60f81b818381518110613196577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131d2919061559d565b945061312a565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132b057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806132c057506132bf826134fb565b5b9050919050565b6132e1828260405180602001604052806000815250613565565b5050565b6132f08383836135c0565b505050565b60008484848460405160200161330e9493929190614fc6565b6040516020818303038152906040528051906020012060001c9050949350505050565b60008282604051602001613346929190614e26565b60405160208183030381529060405280519060200120905092915050565b60006133858473ffffffffffffffffffffffffffffffffffffffff166136d4565b156134ee578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133ae610ae4565b8786866040518563ffffffff1660e01b81526004016133d09493929190614ecf565b602060405180830381600087803b1580156133ea57600080fd5b505af192505050801561341b57506040513d601f19601f8201168201806040525081019061341891906140c0565b60015b61349e573d806000811461344b576040519150601f19603f3d011682016040523d82523d6000602084013e613450565b606091505b50600081511415613496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161348d9061506d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506134f3565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61356f83836136e7565b61357c6000848484613364565b6135bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b29061506d565b60405180910390fd5b505050565b6135cb8383836138b5565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561360e57613609816138ba565b61364d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461364c5761364b8382613903565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136905761368b81613a70565b6136cf565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146136ce576136cd8282613bb3565b5b5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374e906152ed565b60405180910390fd5b6137608161268b565b156137a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613797906150ad565b60405180910390fd5b6137ac600083836132e5565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137fc9190615547565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016139108461157f565b61391a9190615628565b90506000600760008481526020019081526020016000205490508181146139ff576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613a849190615628565b9050600060096000848152602001908152602001600020549050600060088381548110613ada577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613b22577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613b97577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613bbe8361157f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613c3e90615764565b90600052602060002090601f016020900481019282613c605760008555613ca7565b82601f10613c7957805160ff1916838001178555613ca7565b82800160010185558215613ca7579182015b82811115613ca6578251825591602001919060010190613c8b565b5b509050613cb49190613cb8565b5090565b5b80821115613cd1576000816000905550600101613cb9565b5090565b6000613ce8613ce384615499565b615468565b905082815260208101848484011115613d0057600080fd5b613d0b848285615722565b509392505050565b6000613d26613d21846154c9565b615468565b905082815260208101848484011115613d3e57600080fd5b613d49848285615722565b509392505050565b600081359050613d60816158f1565b92915050565b600081359050613d7581615908565b92915050565b600081359050613d8a8161591f565b92915050565b600081519050613d9f8161591f565b92915050565b600081359050613db481615936565b92915050565b600081359050613dc98161594d565b92915050565b600081519050613dde8161594d565b92915050565b600082601f830112613df557600080fd5b8135613e05848260208601613cd5565b91505092915050565b600082601f830112613e1f57600080fd5b8135613e2f848260208601613d13565b91505092915050565b600081359050613e4781615964565b92915050565b600081519050613e5c81615964565b92915050565b600060208284031215613e7457600080fd5b6000613e8284828501613d51565b91505092915050565b600060208284031215613e9d57600080fd5b6000613eab84828501613d66565b91505092915050565b60008060408385031215613ec757600080fd5b6000613ed585828601613d51565b9250506020613ee685828601613d51565b9150509250929050565b600080600060608486031215613f0557600080fd5b6000613f1386828701613d51565b9350506020613f2486828701613d51565b9250506040613f3586828701613e38565b9150509250925092565b60008060008060808587031215613f5557600080fd5b6000613f6387828801613d51565b9450506020613f7487828801613d51565b9350506040613f8587828801613e38565b925050606085013567ffffffffffffffff811115613fa257600080fd5b613fae87828801613de4565b91505092959194509250565b60008060408385031215613fcd57600080fd5b6000613fdb85828601613d51565b9250506020613fec85828601613d7b565b9150509250929050565b6000806040838503121561400957600080fd5b600061401785828601613d51565b925050602061402885828601613e38565b9150509250929050565b60006020828403121561404457600080fd5b600061405284828501613d90565b91505092915050565b6000806040838503121561406e57600080fd5b600061407c85828601613da5565b925050602061408d85828601613e38565b9150509250929050565b6000602082840312156140a957600080fd5b60006140b784828501613dba565b91505092915050565b6000602082840312156140d257600080fd5b60006140e084828501613dcf565b91505092915050565b6000602082840312156140fb57600080fd5b600082013567ffffffffffffffff81111561411557600080fd5b61412184828501613e0e565b91505092915050565b60006020828403121561413c57600080fd5b600061414a84828501613e38565b91505092915050565b60006020828403121561416557600080fd5b600061417384828501613e4d565b91505092915050565b6000806040838503121561418f57600080fd5b600061419d85828601613e38565b92505060206141ae85828601613d51565b9150509250929050565b6141c1816156ec565b82525050565b6141d08161565c565b82525050565b6141df81615680565b82525050565b6141ee8161568c565b82525050565b6142056142008261568c565b6157df565b82525050565b6000614216826154f9565b614220818561550f565b9350614230818560208601615731565b614239816158e0565b840191505092915050565b600061424f82615504565b614259818561552b565b9350614269818560208601615731565b614272816158e0565b840191505092915050565b600061428882615504565b614292818561553c565b93506142a2818560208601615731565b80840191505092915050565b60006142bb601b8361552b565b91507f517565727920666f72206e6f6e6578697374656e7420746f6b656e00000000006000830152602082019050919050565b60006142fb602b8361552b565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061436160328361552b565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006143c760268361552b565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061442d601c8361552b565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061446d60208361552b565b91507f45786365656473206d6178696d756d206e756d626572206f6620746f6b656e736000830152602082019050919050565b60006144ad60198361552b565b91507f496e76616c696420457468657220616d6f756e742073656e74000000000000006000830152602082019050919050565b60006144ed602a8361552b565b91507f4578636565647320746865206d6178696d756d20616d6f756e7420746f206d6960008301527f6e74206174206f6e6365000000000000000000000000000000000000000000006020830152604082019050919050565b600061455360268361552b565b91507f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008301527f73686172657300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006145b960248361552b565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061461f60198361552b565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061465f60128361552b565b91507f53616c65206973206e6f742061637469766500000000000000000000000000006000830152602082019050919050565b600061469f603a8361552b565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b6000614705601d8361552b565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b6000614745602c8361552b565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006147ab602b8361552b565b91507f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008301527f647565207061796d656e740000000000000000000000000000000000000000006020830152604082019050919050565b600061481160298361552b565b91507f45786365656473206d6178696d756d206e756d626572206f662072657365727660008301527f656420746f6b656e7300000000000000000000000000000000000000000000006020830152604082019050919050565b600061487760388361552b565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006148dd602a8361552b565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061494360298361552b565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006149a960198361552b565b91507f496e73756666696369656e74204c494e4b2062616c616e6365000000000000006000830152602082019050919050565b60006149e9601b8361552b565b91507f53616c6520697320616c726561647920696e697469616c697a656400000000006000830152602082019050919050565b6000614a2960208361552b565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614a69602c8361552b565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614acf60208361552b565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614b0f60298361552b565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b75602f8361552b565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614bdb601f8361552b565b91507f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006000830152602082019050919050565b6000614c1b60218361552b565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c81600083615520565b9150600082019050919050565b6000614c9b60318361552b565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614d01601d8361552b565b91507f4f666673657420686173206e6f74206265656e2067656e6572617465640000006000830152602082019050919050565b6000614d41602c8361552b565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614da760308361552b565b91507f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f766564000000000000000000000000000000006020830152604082019050919050565b614e09816156e2565b82525050565b614e20614e1b826156e2565b6157e9565b82525050565b6000614e3282856141f4565b602082019150614e428284614e0f565b6020820191508190509392505050565b6000614e5e828561427d565b9150614e6a828461427d565b91508190509392505050565b6000614e8182614c74565b9150819050919050565b6000602082019050614ea060008301846141c7565b92915050565b6000604082019050614ebb60008301856141b8565b614ec86020830184614e00565b9392505050565b6000608082019050614ee460008301876141c7565b614ef160208301866141c7565b614efe6040830185614e00565b8181036060830152614f10818461420b565b905095945050505050565b6000604082019050614f3060008301856141c7565b614f3d6020830184614e00565b9392505050565b6000606082019050614f5960008301866141c7565b614f666020830185614e00565b8181036040830152614f78818461420b565b9050949350505050565b6000602082019050614f9760008301846141d6565b92915050565b6000604082019050614fb260008301856141e5565b614fbf6020830184614e00565b9392505050565b6000608082019050614fdb60008301876141e5565b614fe86020830186614e00565b614ff560408301856141c7565b6150026060830184614e00565b95945050505050565b600060208201905081810360008301526150258184614244565b905092915050565b60006020820190508181036000830152615046816142ae565b9050919050565b60006020820190508181036000830152615066816142ee565b9050919050565b6000602082019050818103600083015261508681614354565b9050919050565b600060208201905081810360008301526150a6816143ba565b9050919050565b600060208201905081810360008301526150c681614420565b9050919050565b600060208201905081810360008301526150e681614460565b9050919050565b60006020820190508181036000830152615106816144a0565b9050919050565b60006020820190508181036000830152615126816144e0565b9050919050565b6000602082019050818103600083015261514681614546565b9050919050565b60006020820190508181036000830152615166816145ac565b9050919050565b6000602082019050818103600083015261518681614612565b9050919050565b600060208201905081810360008301526151a681614652565b9050919050565b600060208201905081810360008301526151c681614692565b9050919050565b600060208201905081810360008301526151e6816146f8565b9050919050565b6000602082019050818103600083015261520681614738565b9050919050565b600060208201905081810360008301526152268161479e565b9050919050565b6000602082019050818103600083015261524681614804565b9050919050565b600060208201905081810360008301526152668161486a565b9050919050565b60006020820190508181036000830152615286816148d0565b9050919050565b600060208201905081810360008301526152a681614936565b9050919050565b600060208201905081810360008301526152c68161499c565b9050919050565b600060208201905081810360008301526152e6816149dc565b9050919050565b6000602082019050818103600083015261530681614a1c565b9050919050565b6000602082019050818103600083015261532681614a5c565b9050919050565b6000602082019050818103600083015261534681614ac2565b9050919050565b6000602082019050818103600083015261536681614b02565b9050919050565b6000602082019050818103600083015261538681614b68565b9050919050565b600060208201905081810360008301526153a681614bce565b9050919050565b600060208201905081810360008301526153c681614c0e565b9050919050565b600060208201905081810360008301526153e681614c8e565b9050919050565b6000602082019050818103600083015261540681614cf4565b9050919050565b6000602082019050818103600083015261542681614d34565b9050919050565b6000602082019050818103600083015261544681614d9a565b9050919050565b60006020820190506154626000830184614e00565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561548f5761548e6158b1565b5b8060405250919050565b600067ffffffffffffffff8211156154b4576154b36158b1565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156154e4576154e36158b1565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615552826156e2565b915061555d836156e2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561559257615591615824565b5b828201905092915050565b60006155a8826156e2565b91506155b3836156e2565b9250826155c3576155c2615853565b5b828204905092915050565b60006155d9826156e2565b91506155e4836156e2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561561d5761561c615824565b5b828202905092915050565b6000615633826156e2565b915061563e836156e2565b92508282101561565157615650615824565b5b828203905092915050565b6000615667826156c2565b9050919050565b6000615679826156c2565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006156f7826156fe565b9050919050565b600061570982615710565b9050919050565b600061571b826156c2565b9050919050565b82818337600083830152505050565b60005b8381101561574f578082015181840152602081019050615734565b8381111561575e576000848401525b50505050565b6000600282049050600182168061577c57607f821691505b602082108114156157905761578f615882565b5b50919050565b60006157a1826156e2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156157d4576157d3615824565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006157fe826156e2565b9150615809836156e2565b92508261581957615818615853565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6158fa8161565c565b811461590557600080fd5b50565b6159118161566e565b811461591c57600080fd5b50565b61592881615680565b811461593357600080fd5b50565b61593f8161568c565b811461594a57600080fd5b50565b61595681615696565b811461596157600080fd5b50565b61596d816156e2565b811461597857600080fd5b5056fea2646970667358221220ad4bfa41b91014ef7d6f986e2cda430bd739bf45420f1aa419ad7f696069cdd564736f6c6343000800003300000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec8000000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000042307830346132363465323332613134393737663436323965316230643533343866353432353535366239376261363766366462366263303063383938623538353066000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6170692e34653466353535332e636f6d2f6b6579732f00000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000443938faa9030770affa1d9205299a1e86c5073a00000000000000000000000078f69eff85869cb0ed1cf641cdb4c0035f43399f0000000000000000000000008663e47a3ae6fd908ac78d039bd688c1b1b5043200000000000000000000000005895343659a354411d35ce866fc9720e26e9cfa000000000000000000000000ba6e1c26be2f8b46d9e7ab7573b99921ee81acf5000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x6080604052600436106102815760003560e01c80638b83209b1161014f578063c002d23d116100c1578063e33b7de31161007a578063e33b7de3146109d2578063e8a3d485146109fd578063e985e9c514610a28578063f0292a0314610a65578063f2fde38b14610a90578063ff1b655614610ab9576102c8565b8063c002d23d146108c2578063c87b56dd146108ed578063ce7c2ac21461092a578063dc8c57b414610967578063de8b51e114610992578063e22302f0146109a9576102c8565b8063983fbab211610113578063983fbab2146107c35780639852595c146107ec578063a0712d6814610829578063a22cb46514610845578063ac74d02c1461086e578063b88d4fde14610899576102c8565b80638b83209b146106de5780638da5cb5b1461071b578063938e3d7b1461074657806394985ddd1461076f57806395d89b4114610798576102c8565b806332cb6b0c116101f35780636352211e116101ac5780636352211e146105e057806368428a1b1461061d5780636ba90c6e1461064857806370a0823114610673578063715018a6146106b0578063853828b6146106c7576102c8565b806332cb6b0c146104be5780633a98ef39146104e95780634102e8231461051457806342842e0e1461055157806342966c681461057a5780634f6ccce7146105a3576102c8565b806318160ddd1161024557806318160ddd146103c457806319165587146103ef57806323b872dd146104185780632c7b78b6146104415780632f745c591461045857806330176e1314610495576102c8565b806301ffc9a7146102cd57806303339bcb1461030a57806306fdde0314610333578063081812fc1461035e578063095ea7b31461039b576102c8565b366102c8577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102af610ae4565b346040516102be929190614f1b565b60405180910390a1005b600080fd5b3480156102d957600080fd5b506102f460048036038101906102ef9190614097565b610aec565b6040516103019190614f82565b60405180910390f35b34801561031657600080fd5b50610331600480360381019061032c919061417c565b610afe565b005b34801561033f57600080fd5b50610348610bf2565b604051610355919061500b565b60405180910390f35b34801561036a57600080fd5b506103856004803603810190610380919061412a565b610c84565b6040516103929190614e8b565b60405180910390f35b3480156103a757600080fd5b506103c260048036038101906103bd9190613ff6565b610d09565b005b3480156103d057600080fd5b506103d9610e21565b6040516103e6919061544d565b60405180910390f35b3480156103fb57600080fd5b5061041660048036038101906104119190613e8b565b610e2e565b005b34801561042457600080fd5b5061043f600480360381019061043a9190613ef0565b611096565b005b34801561044d57600080fd5b506104566110f6565b005b34801561046457600080fd5b5061047f600480360381019061047a9190613ff6565b6111e1565b60405161048c919061544d565b60405180910390f35b3480156104a157600080fd5b506104bc60048036038101906104b791906140e9565b611286565b005b3480156104ca57600080fd5b506104d361131c565b6040516104e0919061544d565b60405180910390f35b3480156104f557600080fd5b506104fe611322565b60405161050b919061544d565b60405180910390f35b34801561052057600080fd5b5061053b6004803603810190610536919061412a565b61132c565b604051610548919061544d565b60405180910390f35b34801561055d57600080fd5b5061057860048036038101906105739190613ef0565b61139d565b005b34801561058657600080fd5b506105a1600480360381019061059c919061412a565b6113bd565b005b3480156105af57600080fd5b506105ca60048036038101906105c5919061412a565b611419565b6040516105d7919061544d565b60405180910390f35b3480156105ec57600080fd5b506106076004803603810190610602919061412a565b6114b0565b6040516106149190614e8b565b60405180910390f35b34801561062957600080fd5b50610632611562565b60405161063f9190614f82565b60405180910390f35b34801561065457600080fd5b5061065d611579565b60405161066a919061544d565b60405180910390f35b34801561067f57600080fd5b5061069a60048036038101906106959190613e62565b61157f565b6040516106a7919061544d565b60405180910390f35b3480156106bc57600080fd5b506106c5611637565b005b3480156106d357600080fd5b506106dc6116bf565b005b3480156106ea57600080fd5b506107056004803603810190610700919061412a565b6117ce565b6040516107129190614e8b565b60405180910390f35b34801561072757600080fd5b5061073061183c565b60405161073d9190614e8b565b60405180910390f35b34801561075257600080fd5b5061076d600480360381019061076891906140e9565b611866565b005b34801561077b57600080fd5b506107966004803603810190610791919061405b565b6118fc565b005b3480156107a457600080fd5b506107ad611998565b6040516107ba919061500b565b60405180910390f35b3480156107cf57600080fd5b506107ea60048036038101906107e59190613ff6565b611a2a565b005b3480156107f857600080fd5b50610813600480360381019061080e9190613e62565b611c43565b604051610820919061544d565b60405180910390f35b610843600480360381019061083e919061412a565b611c8c565b005b34801561085157600080fd5b5061086c60048036038101906108679190613fba565b611dc3565b005b34801561087a57600080fd5b50610883611f44565b604051610890919061500b565b60405180910390f35b3480156108a557600080fd5b506108c060048036038101906108bb9190613f3f565b611fd6565b005b3480156108ce57600080fd5b506108d7612038565b6040516108e4919061544d565b60405180910390f35b3480156108f957600080fd5b50610914600480360381019061090f919061412a565b61203e565b604051610921919061500b565b60405180910390f35b34801561093657600080fd5b50610951600480360381019061094c9190613e62565b6120e5565b60405161095e919061544d565b60405180910390f35b34801561097357600080fd5b5061097c61212e565b604051610989919061544d565b60405180910390f35b34801561099e57600080fd5b506109a761217d565b005b3480156109b557600080fd5b506109d060048036038101906109cb91906140e9565b612225565b005b3480156109de57600080fd5b506109e76122bb565b6040516109f4919061544d565b60405180910390f35b348015610a0957600080fd5b50610a126122c5565b604051610a1f919061500b565b60405180910390f35b348015610a3457600080fd5b50610a4f6004803603810190610a4a9190613eb4565b612357565b604051610a5c9190614f82565b60405180910390f35b348015610a7157600080fd5b50610a7a6123eb565b604051610a87919061544d565b60405180910390f35b348015610a9c57600080fd5b50610ab76004803603810190610ab29190613e62565b6123f1565b005b348015610ac557600080fd5b50610ace6124e9565b604051610adb919061500b565b60405180910390f35b600033905090565b6000610af782612577565b9050919050565b610b06610ae4565b73ffffffffffffffffffffffffffffffffffffffff16610b2461183c565b73ffffffffffffffffffffffffffffffffffffffff1614610b7a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b719061532d565b60405180910390fd5b601e5482601454610b8b9190615547565b10610bcb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bc29061522d565b60405180910390fd5b610bd582826125f1565b8160146000828254610be79190615547565b925050819055505050565b606060008054610c0190615764565b80601f0160208091040260200160405190810160405280929190818152602001828054610c2d90615764565b8015610c7a5780601f10610c4f57610100808354040283529160200191610c7a565b820191906000526020600020905b815481529060010190602001808311610c5d57829003601f168201915b5050505050905090565b6000610c8f8261268b565b610cce576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cc59061530d565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610d14826114b0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d85576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d7c906153ad565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610da4610ae4565b73ffffffffffffffffffffffffffffffffffffffff161480610dd35750610dd281610dcd610ae4565b612357565b5b610e12576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e099061524d565b60405180910390fd5b610e1c83836126f7565b505050565b6000600880549050905090565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610eb0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ea79061512d565b60405180910390fd5b6000600b5447610ec09190615547565b90506000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054600a54600c60008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205484610f5291906155ce565b610f5c919061559d565b610f669190615628565b90506000811415610fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa39061520d565b60405180910390fd5b80600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054610ff79190615547565b600d60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600b546110489190615547565b600b8190555061105883826127b0565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b0568382604051611089929190614ea6565b60405180910390a1505050565b6110a76110a1610ae4565b826128a4565b6110e6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110dd906153cd565b60405180910390fd5b6110f1838383612982565b505050565b6110fe610ae4565b73ffffffffffffffffffffffffffffffffffffffff1661111c61183c565b73ffffffffffffffffffffffffffffffffffffffff1614611172576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111699061532d565b60405180910390fd5b60006017541480156111915750601660009054906101000a900460ff16155b6111d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016111c7906152cd565b60405180910390fd5b6111de601254601154612bde565b50565b60006111ec8361157f565b821061122d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112249061504d565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b61128e610ae4565b73ffffffffffffffffffffffffffffffffffffffff166112ac61183c565b73ffffffffffffffffffffffffffffffffffffffff1614611302576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f99061532d565b60405180910390fd5b8060189080519060200190611318929190613c32565b5050565b601d5481565b6000600a54905090565b60006113378261268b565b611376576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161136d9061502d565b60405180910390fd5b601d5461138161212e565b8361138c9190615547565b61139691906157f3565b9050919050565b6113b883838360405180602001604052806000815250611fd6565b505050565b6113ce6113c8610ae4565b826128a4565b61140d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114049061542d565b60405180910390fd5b61141681612d40565b50565b6000611423610e21565b8210611464576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145b9061540d565b60405180910390fd5b6008828154811061149e577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611559576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115509061528d565b60405180910390fd5b80915050919050565b6000601660009054906101000a900460ff16905090565b601e5481565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115f0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115e79061526d565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b61163f610ae4565b73ffffffffffffffffffffffffffffffffffffffff1661165d61183c565b73ffffffffffffffffffffffffffffffffffffffff16146116b3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116aa9061532d565b60405180910390fd5b6116bd6000612e51565b565b6116c7610ae4565b73ffffffffffffffffffffffffffffffffffffffff166116e561183c565b73ffffffffffffffffffffffffffffffffffffffff161461173b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117329061532d565b60405180910390fd5b60005b6015805490508110156117cb576117b860158281548110611788577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16610e2e565b80806117c390615796565b91505061173e565b50565b6000600e828154811061180a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b61186e610ae4565b73ffffffffffffffffffffffffffffffffffffffff1661188c61183c565b73ffffffffffffffffffffffffffffffffffffffff16146118e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118d99061532d565b60405180910390fd5b80601890805190602001906118f8929190613c32565b5050565b7f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795273ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461198a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016119819061538d565b60405180910390fd5b6119948282612f17565b5050565b6060600180546119a790615764565b80601f01602080910402602001604051908101604052809291908181526020018280546119d390615764565b8015611a205780601f106119f557610100808354040283529160200191611a20565b820191906000526020600020905b815481529060010190602001808311611a0357829003601f168201915b5050505050905090565b611a32610ae4565b73ffffffffffffffffffffffffffffffffffffffff16611a5061183c565b73ffffffffffffffffffffffffffffffffffffffff1614611aa6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a9d9061532d565b60405180910390fd5b807f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611b009190614e8b565b60206040518083038186803b158015611b1857600080fd5b505afa158015611b2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b509190614153565b1015611b91576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b88906152ad565b60405180910390fd5b7f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff1663a9059cbb83836040518363ffffffff1660e01b8152600401611bec929190614f1b565b602060405180830381600087803b158015611c0657600080fd5b505af1158015611c1a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c3e9190614032565b505050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b601b54811115611cd1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc89061510d565b60405180910390fd5b80601c54611cdf91906155ce565b341015611d21576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d18906150ed565b60405180910390fd5b60006017541415611d67576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d5e906153ed565b60405180910390fd5b601660009054906101000a900460ff16611db6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dad9061518d565b60405180910390fd5b611dc081336125f1565b50565b611dcb610ae4565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611e39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e309061516d565b60405180910390fd5b8060056000611e46610ae4565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff16611ef3610ae4565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611f389190614f82565b60405180910390a35050565b6060601a8054611f5390615764565b80601f0160208091040260200160405190810160405280929190818152602001828054611f7f90615764565b8015611fcc5780601f10611fa157610100808354040283529160200191611fcc565b820191906000526020600020905b815481529060010190602001808311611faf57829003601f168201915b5050505050905090565b611fe7611fe1610ae4565b836128a4565b612026576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161201d906153cd565b60405180910390fd5b61203284848484612f4a565b50505050565b601c5481565b60606120498261268b565b612088576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207f9061536d565b60405180910390fd5b6000612092612fa6565b905060008151116120b257604051806020016040528060008152506120dd565b806120bc84613038565b6040516020016120cd929190614e52565b6040516020818303038152906040525b915050919050565b6000600c60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000806017541415612175576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216c906153ed565b60405180910390fd5b601754905090565b612185610ae4565b73ffffffffffffffffffffffffffffffffffffffff166121a361183c565b73ffffffffffffffffffffffffffffffffffffffff16146121f9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121f09061532d565b60405180910390fd5b601660009054906101000a900460ff1615601660006101000a81548160ff021916908315150217905550565b61222d610ae4565b73ffffffffffffffffffffffffffffffffffffffff1661224b61183c565b73ffffffffffffffffffffffffffffffffffffffff16146122a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122989061532d565b60405180910390fd5b80601a90805190602001906122b7929190613c32565b5050565b6000600b54905090565b6060601980546122d490615764565b80601f016020809104026020016040519081016040528092919081815260200182805461230090615764565b801561234d5780601f106123225761010080835404028352916020019161234d565b820191906000526020600020905b81548152906001019060200180831161233057829003601f168201915b5050505050905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b601b5481565b6123f9610ae4565b73ffffffffffffffffffffffffffffffffffffffff1661241761183c565b73ffffffffffffffffffffffffffffffffffffffff161461246d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124649061532d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156124dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d49061508d565b60405180910390fd5b6124e681612e51565b50565b601f80546124f690615764565b80601f016020809104026020016040519081016040528092919081815260200182805461252290615764565b801561256f5780601f106125445761010080835404028352916020019161256f565b820191906000526020600020905b81548152906001019060200180831161255257829003601f168201915b505050505081565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806125ea57506125e9826131e5565b5b9050919050565b601d54826013546126029190615547565b10612642576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612639906150cd565b60405180910390fd5b60005b8281101561268657612659826013546132c7565b60016013600082825461266c9190615547565b92505081905550808061267e90615796565b915050612645565b505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661276a836114b0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b804710156127f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127ea906151cd565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff168260405161281990614e76565b60006040518083038185875af1925050503d8060008114612856576040519150601f19603f3d011682016040523d82523d6000602084013e61285b565b606091505b505090508061289f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612896906151ad565b60405180910390fd5b505050565b60006128af8261268b565b6128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e5906151ed565b60405180910390fd5b60006128f9836114b0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061296857508373ffffffffffffffffffffffffffffffffffffffff1661295084610c84565b73ffffffffffffffffffffffffffffffffffffffff16145b8061297957506129788185612357565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129a2826114b0565b73ffffffffffffffffffffffffffffffffffffffff16146129f8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129ef9061534d565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612a68576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5f9061514d565b60405180910390fd5b612a738383836132e5565b612a7e6000826126f7565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ace9190615628565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b259190615547565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b60007f000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca73ffffffffffffffffffffffffffffffffffffffff16634000aea07f000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb795284866000604051602001612c52929190614f9d565b6040516020818303038152906040526040518463ffffffff1660e01b8152600401612c7f93929190614f44565b602060405180830381600087803b158015612c9957600080fd5b505af1158015612cad573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612cd19190614032565b506000612cf48460003060106000898152602001908152602001600020546132f5565b905060016010600086815260200190815260200160002054612d169190615547565b6010600086815260200190815260200160002081905550612d378482613331565b91505092915050565b6000612d4b826114b0565b9050612d59816000846132e5565b612d646000836126f7565b6001600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612db49190615628565b925050819055506002600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b6001601660006101000a81548160ff021916908315150217905550601d5481612f4091906157f3565b6017819055505050565b612f55848484612982565b612f6184848484613364565b612fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f979061506d565b60405180910390fd5b50505050565b606060188054612fb590615764565b80601f0160208091040260200160405190810160405280929190818152602001828054612fe190615764565b801561302e5780601f106130035761010080835404028352916020019161302e565b820191906000526020600020905b81548152906001019060200180831161301157829003601f168201915b5050505050905090565b60606000821415613080576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506131e0565b600082905060005b600082146130b257808061309b90615796565b915050600a826130ab919061559d565b9150613088565b60008167ffffffffffffffff8111156130f4577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156131265781602001600182028036833780820191505090505b5090505b600085146131d95760018261313f9190615628565b9150600a8561314e91906157f3565b603061315a9190615547565b60f81b818381518110613196577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856131d2919061559d565b945061312a565b8093505050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806132b057507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b806132c057506132bf826134fb565b5b9050919050565b6132e1828260405180602001604052806000815250613565565b5050565b6132f08383836135c0565b505050565b60008484848460405160200161330e9493929190614fc6565b6040516020818303038152906040528051906020012060001c9050949350505050565b60008282604051602001613346929190614e26565b60405160208183030381529060405280519060200120905092915050565b60006133858473ffffffffffffffffffffffffffffffffffffffff166136d4565b156134ee578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133ae610ae4565b8786866040518563ffffffff1660e01b81526004016133d09493929190614ecf565b602060405180830381600087803b1580156133ea57600080fd5b505af192505050801561341b57506040513d601f19601f8201168201806040525081019061341891906140c0565b60015b61349e573d806000811461344b576040519150601f19603f3d011682016040523d82523d6000602084013e613450565b606091505b50600081511415613496576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161348d9061506d565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149150506134f3565b600190505b949350505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61356f83836136e7565b61357c6000848484613364565b6135bb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135b29061506d565b60405180910390fd5b505050565b6135cb8383836138b5565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561360e57613609816138ba565b61364d565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161461364c5761364b8382613903565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156136905761368b81613a70565b6136cf565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16146136ce576136cd8282613bb3565b5b5b505050565b600080823b905060008111915050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613757576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161374e906152ed565b60405180910390fd5b6137608161268b565b156137a0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613797906150ad565b60405180910390fd5b6137ac600083836132e5565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546137fc9190615547565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016139108461157f565b61391a9190615628565b90506000600760008481526020019081526020016000205490508181146139ff576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b60006001600880549050613a849190615628565b9050600060096000848152602001908152602001600020549050600060088381548110613ada577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508060088381548110613b22577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020018190555081600960008381526020019081526020016000208190555060096000858152602001908152602001600020600090556008805480613b97577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905550505050565b6000613bbe8361157f565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b828054613c3e90615764565b90600052602060002090601f016020900481019282613c605760008555613ca7565b82601f10613c7957805160ff1916838001178555613ca7565b82800160010185558215613ca7579182015b82811115613ca6578251825591602001919060010190613c8b565b5b509050613cb49190613cb8565b5090565b5b80821115613cd1576000816000905550600101613cb9565b5090565b6000613ce8613ce384615499565b615468565b905082815260208101848484011115613d0057600080fd5b613d0b848285615722565b509392505050565b6000613d26613d21846154c9565b615468565b905082815260208101848484011115613d3e57600080fd5b613d49848285615722565b509392505050565b600081359050613d60816158f1565b92915050565b600081359050613d7581615908565b92915050565b600081359050613d8a8161591f565b92915050565b600081519050613d9f8161591f565b92915050565b600081359050613db481615936565b92915050565b600081359050613dc98161594d565b92915050565b600081519050613dde8161594d565b92915050565b600082601f830112613df557600080fd5b8135613e05848260208601613cd5565b91505092915050565b600082601f830112613e1f57600080fd5b8135613e2f848260208601613d13565b91505092915050565b600081359050613e4781615964565b92915050565b600081519050613e5c81615964565b92915050565b600060208284031215613e7457600080fd5b6000613e8284828501613d51565b91505092915050565b600060208284031215613e9d57600080fd5b6000613eab84828501613d66565b91505092915050565b60008060408385031215613ec757600080fd5b6000613ed585828601613d51565b9250506020613ee685828601613d51565b9150509250929050565b600080600060608486031215613f0557600080fd5b6000613f1386828701613d51565b9350506020613f2486828701613d51565b9250506040613f3586828701613e38565b9150509250925092565b60008060008060808587031215613f5557600080fd5b6000613f6387828801613d51565b9450506020613f7487828801613d51565b9350506040613f8587828801613e38565b925050606085013567ffffffffffffffff811115613fa257600080fd5b613fae87828801613de4565b91505092959194509250565b60008060408385031215613fcd57600080fd5b6000613fdb85828601613d51565b9250506020613fec85828601613d7b565b9150509250929050565b6000806040838503121561400957600080fd5b600061401785828601613d51565b925050602061402885828601613e38565b9150509250929050565b60006020828403121561404457600080fd5b600061405284828501613d90565b91505092915050565b6000806040838503121561406e57600080fd5b600061407c85828601613da5565b925050602061408d85828601613e38565b9150509250929050565b6000602082840312156140a957600080fd5b60006140b784828501613dba565b91505092915050565b6000602082840312156140d257600080fd5b60006140e084828501613dcf565b91505092915050565b6000602082840312156140fb57600080fd5b600082013567ffffffffffffffff81111561411557600080fd5b61412184828501613e0e565b91505092915050565b60006020828403121561413c57600080fd5b600061414a84828501613e38565b91505092915050565b60006020828403121561416557600080fd5b600061417384828501613e4d565b91505092915050565b6000806040838503121561418f57600080fd5b600061419d85828601613e38565b92505060206141ae85828601613d51565b9150509250929050565b6141c1816156ec565b82525050565b6141d08161565c565b82525050565b6141df81615680565b82525050565b6141ee8161568c565b82525050565b6142056142008261568c565b6157df565b82525050565b6000614216826154f9565b614220818561550f565b9350614230818560208601615731565b614239816158e0565b840191505092915050565b600061424f82615504565b614259818561552b565b9350614269818560208601615731565b614272816158e0565b840191505092915050565b600061428882615504565b614292818561553c565b93506142a2818560208601615731565b80840191505092915050565b60006142bb601b8361552b565b91507f517565727920666f72206e6f6e6578697374656e7420746f6b656e00000000006000830152602082019050919050565b60006142fb602b8361552b565b91507f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008301527f74206f6620626f756e64730000000000000000000000000000000000000000006020830152604082019050919050565b600061436160328361552b565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b60006143c760268361552b565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061442d601c8361552b565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b600061446d60208361552b565b91507f45786365656473206d6178696d756d206e756d626572206f6620746f6b656e736000830152602082019050919050565b60006144ad60198361552b565b91507f496e76616c696420457468657220616d6f756e742073656e74000000000000006000830152602082019050919050565b60006144ed602a8361552b565b91507f4578636565647320746865206d6178696d756d20616d6f756e7420746f206d6960008301527f6e74206174206f6e6365000000000000000000000000000000000000000000006020830152604082019050919050565b600061455360268361552b565b91507f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008301527f73686172657300000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006145b960248361552b565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061461f60198361552b565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b600061465f60128361552b565b91507f53616c65206973206e6f742061637469766500000000000000000000000000006000830152602082019050919050565b600061469f603a8361552b565b91507f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008301527f6563697069656e74206d617920686176652072657665727465640000000000006020830152604082019050919050565b6000614705601d8361552b565b91507f416464726573733a20696e73756666696369656e742062616c616e63650000006000830152602082019050919050565b6000614745602c8361552b565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006147ab602b8361552b565b91507f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008301527f647565207061796d656e740000000000000000000000000000000000000000006020830152604082019050919050565b600061481160298361552b565b91507f45786365656473206d6178696d756d206e756d626572206f662072657365727660008301527f656420746f6b656e7300000000000000000000000000000000000000000000006020830152604082019050919050565b600061487760388361552b565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b60006148dd602a8361552b565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b600061494360298361552b565b91507f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008301527f656e7420746f6b656e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006149a960198361552b565b91507f496e73756666696369656e74204c494e4b2062616c616e6365000000000000006000830152602082019050919050565b60006149e9601b8361552b565b91507f53616c6520697320616c726561647920696e697469616c697a656400000000006000830152602082019050919050565b6000614a2960208361552b565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000614a69602c8361552b565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000614acf60208361552b565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000614b0f60298361552b565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b6000614b75602f8361552b565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000614bdb601f8361552b565b91507f4f6e6c7920565246436f6f7264696e61746f722063616e2066756c66696c6c006000830152602082019050919050565b6000614c1b60218361552b565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000614c81600083615520565b9150600082019050919050565b6000614c9b60318361552b565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000614d01601d8361552b565b91507f4f666673657420686173206e6f74206265656e2067656e6572617465640000006000830152602082019050919050565b6000614d41602c8361552b565b91507f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008301527f7574206f6620626f756e647300000000000000000000000000000000000000006020830152604082019050919050565b6000614da760308361552b565b91507f4552433732314275726e61626c653a2063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f766564000000000000000000000000000000006020830152604082019050919050565b614e09816156e2565b82525050565b614e20614e1b826156e2565b6157e9565b82525050565b6000614e3282856141f4565b602082019150614e428284614e0f565b6020820191508190509392505050565b6000614e5e828561427d565b9150614e6a828461427d565b91508190509392505050565b6000614e8182614c74565b9150819050919050565b6000602082019050614ea060008301846141c7565b92915050565b6000604082019050614ebb60008301856141b8565b614ec86020830184614e00565b9392505050565b6000608082019050614ee460008301876141c7565b614ef160208301866141c7565b614efe6040830185614e00565b8181036060830152614f10818461420b565b905095945050505050565b6000604082019050614f3060008301856141c7565b614f3d6020830184614e00565b9392505050565b6000606082019050614f5960008301866141c7565b614f666020830185614e00565b8181036040830152614f78818461420b565b9050949350505050565b6000602082019050614f9760008301846141d6565b92915050565b6000604082019050614fb260008301856141e5565b614fbf6020830184614e00565b9392505050565b6000608082019050614fdb60008301876141e5565b614fe86020830186614e00565b614ff560408301856141c7565b6150026060830184614e00565b95945050505050565b600060208201905081810360008301526150258184614244565b905092915050565b60006020820190508181036000830152615046816142ae565b9050919050565b60006020820190508181036000830152615066816142ee565b9050919050565b6000602082019050818103600083015261508681614354565b9050919050565b600060208201905081810360008301526150a6816143ba565b9050919050565b600060208201905081810360008301526150c681614420565b9050919050565b600060208201905081810360008301526150e681614460565b9050919050565b60006020820190508181036000830152615106816144a0565b9050919050565b60006020820190508181036000830152615126816144e0565b9050919050565b6000602082019050818103600083015261514681614546565b9050919050565b60006020820190508181036000830152615166816145ac565b9050919050565b6000602082019050818103600083015261518681614612565b9050919050565b600060208201905081810360008301526151a681614652565b9050919050565b600060208201905081810360008301526151c681614692565b9050919050565b600060208201905081810360008301526151e6816146f8565b9050919050565b6000602082019050818103600083015261520681614738565b9050919050565b600060208201905081810360008301526152268161479e565b9050919050565b6000602082019050818103600083015261524681614804565b9050919050565b600060208201905081810360008301526152668161486a565b9050919050565b60006020820190508181036000830152615286816148d0565b9050919050565b600060208201905081810360008301526152a681614936565b9050919050565b600060208201905081810360008301526152c68161499c565b9050919050565b600060208201905081810360008301526152e6816149dc565b9050919050565b6000602082019050818103600083015261530681614a1c565b9050919050565b6000602082019050818103600083015261532681614a5c565b9050919050565b6000602082019050818103600083015261534681614ac2565b9050919050565b6000602082019050818103600083015261536681614b02565b9050919050565b6000602082019050818103600083015261538681614b68565b9050919050565b600060208201905081810360008301526153a681614bce565b9050919050565b600060208201905081810360008301526153c681614c0e565b9050919050565b600060208201905081810360008301526153e681614c8e565b9050919050565b6000602082019050818103600083015261540681614cf4565b9050919050565b6000602082019050818103600083015261542681614d34565b9050919050565b6000602082019050818103600083015261544681614d9a565b9050919050565b60006020820190506154626000830184614e00565b92915050565b6000604051905081810181811067ffffffffffffffff8211171561548f5761548e6158b1565b5b8060405250919050565b600067ffffffffffffffff8211156154b4576154b36158b1565b5b601f19601f8301169050602081019050919050565b600067ffffffffffffffff8211156154e4576154e36158b1565b5b601f19601f8301169050602081019050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000615552826156e2565b915061555d836156e2565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0382111561559257615591615824565b5b828201905092915050565b60006155a8826156e2565b91506155b3836156e2565b9250826155c3576155c2615853565b5b828204905092915050565b60006155d9826156e2565b91506155e4836156e2565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561561d5761561c615824565b5b828202905092915050565b6000615633826156e2565b915061563e836156e2565b92508282101561565157615650615824565b5b828203905092915050565b6000615667826156c2565b9050919050565b6000615679826156c2565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b60006156f7826156fe565b9050919050565b600061570982615710565b9050919050565b600061571b826156c2565b9050919050565b82818337600083830152505050565b60005b8381101561574f578082015181840152602081019050615734565b8381111561575e576000848401525b50505050565b6000600282049050600182168061577c57607f821691505b602082108114156157905761578f615882565b5b50919050565b60006157a1826156e2565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8214156157d4576157d3615824565b5b600182019050919050565b6000819050919050565b6000819050919050565b60006157fe826156e2565b9150615809836156e2565b92508261581957615818615853565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b6158fa8161565c565b811461590557600080fd5b50565b6159118161566e565b811461591c57600080fd5b50565b61592881615680565b811461593357600080fd5b50565b61593f8161568c565b811461594a57600080fd5b50565b61595681615696565b811461596157600080fd5b50565b61596d816156e2565b811461597857600080fd5b5056fea2646970667358221220ad4bfa41b91014ef7d6f986e2cda430bd739bf45420f1aa419ad7f696069cdd564736f6c63430008000033

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

00000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000180000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952000000000000000000000000514910771af9ca656af840dff83e8264ecf986caaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af4450000000000000000000000000000000000000000000000001bc16d674ec8000000000000000000000000000000000000000000000000000000000000000001c000000000000000000000000000000000000000000000000000000000000002800000000000000000000000000000000000000000000000000000000000000042307830346132363465323332613134393737663436323965316230643533343866353432353535366239376261363766366462366263303063383938623538353066000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001e68747470733a2f2f6170692e34653466353535332e636f6d2f6b6579732f00000000000000000000000000000000000000000000000000000000000000000005000000000000000000000000443938faa9030770affa1d9205299a1e86c5073a00000000000000000000000078f69eff85869cb0ed1cf641cdb4c0035f43399f0000000000000000000000008663e47a3ae6fd908ac78d039bd688c1b1b5043200000000000000000000000005895343659a354411d35ce866fc9720e26e9cfa000000000000000000000000ba6e1c26be2f8b46d9e7ab7573b99921ee81acf5000000000000000000000000000000000000000000000000000000000000000500000000000000000000000000000000000000000000000000000000000000040000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : provenanceHash (string): 0x04a264e232a14977f4629e1b0d5348f5425556b97ba67f6db6bc00c898b5850f
Arg [1] : baseTokenURI (string): https://api.4e4f5553.com/keys/
Arg [2] : vrfCoordinator (address): 0xf0d54349aDdcf704F77AE15b96510dEA15cb7952
Arg [3] : linkToken (address): 0x514910771AF9Ca656af840dff83E8264EcF986CA
Arg [4] : keyHash (bytes32): 0xaa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [5] : linkFee (uint256): 2000000000000000000
Arg [6] : payees (address[]): 0x443938faA9030770AfFa1d9205299a1E86C5073a,0x78f69eFF85869cB0eD1cF641cDB4c0035f43399F,0x8663E47A3Ae6fD908aC78d039BD688C1B1b50432,0x05895343659a354411d35Ce866fc9720e26e9CfA,0xbA6E1C26bE2F8b46D9e7ab7573b99921Ee81AcF5
Arg [7] : shares (uint256[]): 4,1,1,1,1

-----Encoded View---------------
26 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [2] : 000000000000000000000000f0d54349addcf704f77ae15b96510dea15cb7952
Arg [3] : 000000000000000000000000514910771af9ca656af840dff83e8264ecf986ca
Arg [4] : aa77729d3466ca35ae8d28b3bbac7cc36a5031efdc430821c02bc31a238af445
Arg [5] : 0000000000000000000000000000000000000000000000001bc16d674ec80000
Arg [6] : 00000000000000000000000000000000000000000000000000000000000001c0
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000280
Arg [8] : 0000000000000000000000000000000000000000000000000000000000000042
Arg [9] : 3078303461323634653233326131343937376634363239653162306435333438
Arg [10] : 6635343235353536623937626136376636646236626330306338393862353835
Arg [11] : 3066000000000000000000000000000000000000000000000000000000000000
Arg [12] : 000000000000000000000000000000000000000000000000000000000000001e
Arg [13] : 68747470733a2f2f6170692e34653466353535332e636f6d2f6b6579732f0000
Arg [14] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [15] : 000000000000000000000000443938faa9030770affa1d9205299a1e86c5073a
Arg [16] : 00000000000000000000000078f69eff85869cb0ed1cf641cdb4c0035f43399f
Arg [17] : 0000000000000000000000008663e47a3ae6fd908ac78d039bd688c1b1b50432
Arg [18] : 00000000000000000000000005895343659a354411d35ce866fc9720e26e9cfa
Arg [19] : 000000000000000000000000ba6e1c26be2f8b46d9e7ab7573b99921ee81acf5
Arg [20] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [21] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [22] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [23] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [24] : 0000000000000000000000000000000000000000000000000000000000000001
Arg [25] : 0000000000000000000000000000000000000000000000000000000000000001


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.