POL Price: $0.400487 (-3.49%)
Gas: 33.1 GWei
 

Overview

TokenID

3587

Total Transfers

-

Market

Onchain Market Cap

$0.00

Circulating Supply Market Cap

-

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information

Contract Source Code Verified (Exact Match)

Contract Name:
MaglietteDellaSalute

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 20 : MaglietteDellaSalute.sol
//SPDX-License-Identifier: Unlicense

pragma solidity ~0.8.9;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/utils/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/utils/cryptography/MerkleProof.sol";
import "@openzeppelin/contracts/utils/Strings.sol";
import "@openzeppelin/contracts/finance/PaymentSplitter.sol";

contract MaglietteDellaSalute is ERC721Enumerable, Ownable, PaymentSplitter {
  using Strings for uint256;

  string private constant BASE_URI =
    "ipfs://QmUBTadXRWqVfShrLnPQ5RicCywq3o9c6rReMWpNZGpFLh/";
  uint256 public maxSupply = 5000;
  uint256 public maxMintAmount = 15;
  uint256 public constant MAX_IN_WHITELIST = 1;
  bool public mintStarted = false;
  bool public whitelistStarted = false;

  uint256 public _cost = 39 ether;
  uint256 public _whitelistCost = 25 ether;

  bytes32 private _merkleRoot;
  address[] private _team;

  uint256[] private _shares = [60, 20, 20];

  constructor(bytes32 merkleRoot, address[] memory team)
    ERC721("Ovunque Proteggimi", "OP")
    PaymentSplitter(team, _shares)
  {
    _merkleRoot = merkleRoot;
    _team = team;
    for (uint256 i = 0; i < team.length; i++) {
      _safeMint(team[i], randomToken());
    }
  }

  function mint(uint256 _mintAmount) external payable {
    uint256 _supply = totalSupply();
    require(mintStarted, "minting is not started");
    require(_mintAmount > 0, "mint at least one item");
    require(_mintAmount <= maxMintAmount, "max mint size is 10 items");
    require(_supply + _mintAmount <= maxSupply, "max supply reached");

    uint256 _totalCost = _mintAmount * _cost;

    require(msg.value >= _totalCost, "amount is not enough");

    for (uint256 i = 0; i < _mintAmount; i++) {
      _safeMint(msg.sender, randomToken());
    }
  }

  function whitelistMint(uint256 _mintAmount, bytes32[] calldata _merkleProof)
    external
    payable
  {
    require(whitelistStarted, "whitelist not started");
    uint256 _supply = totalSupply();
    require(_mintAmount > 0, "mint at least one item");
    require(_mintAmount <= maxMintAmount, "max mint size is 10 items");
    require(_supply + _mintAmount <= maxSupply, "max supply reached");
    require(
      balanceOf(msg.sender) + _mintAmount <= MAX_IN_WHITELIST,
      "max whitelist items reached"
    );

    uint256 _totalCost = _mintAmount * _whitelistCost;
    require(msg.value >= _totalCost, "amount is not enough");

    bytes32 _leaf = keccak256(abi.encodePacked(msg.sender));
    require(
      MerkleProof.verify(_merkleProof, _merkleRoot, _leaf),
      "Mint: not in the whitelist"
    );

    for (uint256 i = 1; i <= _mintAmount; i++) {
      _safeMint(msg.sender, randomToken());
    }
  }

  uint256 private ramainingTokens = maxSupply;
  mapping(uint256 => uint256) private tokenCache;

  function randomToken() public returns (uint256 _tokenId) {
    require(ramainingTokens > 0, "Sold out");

    uint256 _randomIndex = uint256(blockhash(block.number - 1)) %
      ramainingTokens;

    _tokenId =
      1 +
      (tokenCache[_randomIndex] != 0 ? tokenCache[_randomIndex] : _randomIndex);

    tokenCache[_randomIndex] = tokenCache[ramainingTokens - 1] != 0
      ? tokenCache[ramainingTokens - 1]
      : ramainingTokens - 1;
    tokenCache[ramainingTokens - 1] = 0;
    ramainingTokens -= 1;
  }

  mapping(address => uint256) public whitelistOwners;

  function getTokensOfOwner(address _owner)
    external
    view
    returns (uint256[] memory)
  {
    uint256 _tokenCount = balanceOf(_owner);
    uint256[] memory _tokens = new uint256[](_tokenCount);
    for (uint256 i; i < _tokenCount; i++) {
      _tokens[i] = tokenOfOwnerByIndex(_owner, i);
    }
    return _tokens;
  }

  function setCost(uint256 _newCost) external onlyOwner {
    _cost = _newCost;
  }
  function setWhitelistCost(uint256 _newCost) external onlyOwner {
    _whitelistCost = _newCost;
  }

  function startMinting() external onlyOwner {
    mintStarted = true;
  }

  function startWhitelist() external onlyOwner {
    whitelistStarted = true;
  }

  function endWhitelist() external onlyOwner {
    whitelistStarted = false;
  }

  function updateWhitelist(bytes32 merkleRoot) external onlyOwner {
    _merkleRoot = merkleRoot;
  }

  function puppa(address payable account) external {
    super.release(account);
  }

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

    return string(abi.encodePacked(BASE_URI, tokenId.toString(), ".json"));
  }
}

File 2 of 20 : ERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721Enumerable.sol)

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 3 of 20 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

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

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

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

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

File 4 of 20 : SafeMath.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/math/SafeMath.sol)

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 generally not needed starting with Solidity 0.8, since 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;
        }
    }
}

File 5 of 20 : ERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * Requirements:
     *
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for ``sender``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens 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 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been 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 _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 8 of 20 : PaymentSplitter.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (finance/PaymentSplitter.sol)

pragma solidity ^0.8.0;

import "../token/ERC20/utils/SafeERC20.sol";
import "../utils/Address.sol";
import "../utils/Context.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.
 *
 * NOTE: This contract assumes that ERC20 tokens will behave similarly to native tokens (Ether). Rebasing tokens, and
 * tokens that apply fees during transfers, are likely to not be supported as expected. If in doubt, we encourage you
 * to run tests before sending real value to this contract.
 */
contract PaymentSplitter is Context {
    event PayeeAdded(address account, uint256 shares);
    event PaymentReleased(address to, uint256 amount);
    event ERC20PaymentReleased(IERC20 indexed token, 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;

    mapping(IERC20 => uint256) private _erc20TotalReleased;
    mapping(IERC20 => mapping(address => uint256)) private _erc20Released;

    /**
     * @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 total amount of `token` already released. `token` should be the address of an IERC20
     * contract.
     */
    function totalReleased(IERC20 token) public view returns (uint256) {
        return _erc20TotalReleased[token];
    }

    /**
     * @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 amount of `token` tokens already released to a payee. `token` should be the address of an
     * IERC20 contract.
     */
    function released(IERC20 token, address account) public view returns (uint256) {
        return _erc20Released[token][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 = _pendingPayment(account, totalReceived, released(account));

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

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

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

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

        uint256 totalReceived = token.balanceOf(address(this)) + totalReleased(token);
        uint256 payment = _pendingPayment(account, totalReceived, released(token, account));

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

        _erc20Released[token][account] += payment;
        _erc20TotalReleased[token] += payment;

        SafeERC20.safeTransfer(token, account, payment);
        emit ERC20PaymentReleased(token, account, payment);
    }

    /**
     * @dev internal logic for computing the pending payment of an `account` given the token historical balances and
     * already released amounts.
     */
    function _pendingPayment(
        address account,
        uint256 totalReceived,
        uint256 alreadyReleased
    ) private view returns (uint256) {
        return (totalReceived * _shares[account]) / _totalShares - alreadyReleased;
    }

    /**
     * @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 9 of 20 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

File 10 of 20 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Enumerable.sol)

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 11 of 20 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 12 of 20 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721Receiver.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

File 15 of 20 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 18 of 20 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 19 of 20 : IERC20Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

File 20 of 20 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(
        IERC20 token,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(
        IERC20 token,
        address from,
        address to,
        uint256 value
    ) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        require(
            (value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(
        IERC20 token,
        address spender,
        uint256 value
    ) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) {
            // Return data is optional
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"},{"internalType":"address[]","name":"team","type":"address[]"}],"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":"contract IERC20","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ERC20PaymentReleased","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_IN_WHITELIST","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_cost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_whitelistCost","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"endWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getTokensOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxMintAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"mintStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","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":"address payable","name":"account","type":"address"}],"name":"puppa","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"randomToken","outputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"release","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"},{"internalType":"address","name":"account","type":"address"}],"name":"released","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setCost","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_newCost","type":"uint256"}],"name":"setWhitelistCost","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":[],"name":"startMinting","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"startWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"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":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC20","name":"token","type":"address"}],"name":"totalReleased","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"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":[{"internalType":"bytes32","name":"merkleRoot","type":"bytes32"}],"name":"updateWhitelist","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_mintAmount","type":"uint256"},{"internalType":"bytes32[]","name":"_merkleProof","type":"bytes32[]"}],"name":"whitelistMint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistOwners","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"whitelistStarted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052611388601255600f6013556000601460006101000a81548160ff0219169083151502179055506000601460016101000a81548160ff02191690831515021790555068021d3bd55e803c000060155568015af1d78b58c400006016556040518060600160405280603c60ff168152602001601460ff168152602001601460ff16815250601990600362000098929190620011e1565b50601254601a55348015620000ac57600080fd5b5060405162007c9d38038062007c9d8339818101604052810190620000d29190620015a0565b8060198054806020026020016040519081016040528092919081815260200182805480156200012157602002820191906000526020600020905b8154815260200190600101908083116200010c575b50505050506040518060400160405280601281526020017f4f76756e7175652050726f74656767696d6900000000000000000000000000008152506040518060400160405280600281526020017f4f500000000000000000000000000000000000000000000000000000000000008152508160009080519060200190620001aa92919062001238565b508060019080519060200190620001c392919062001238565b505050620001e6620001da6200037060201b60201c565b6200037860201b60201c565b80518251146200022d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000224906200168d565b60405180910390fd5b600082511162000274576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200026b90620016ff565b60405180910390fd5b60005b8251811015620002e357620002cd8382815181106200029b576200029a62001721565b5b6020026020010151838381518110620002b957620002b862001721565b5b60200260200101516200043e60201b60201c565b8080620002da9062001789565b91505062000277565b50505081601781905550806018908051906020019062000305929190620012c9565b5060005b81518110156200036757620003518282815181106200032d576200032c62001721565b5b6020026020010151620003456200067860201b60201c565b620007f960201b60201c565b80806200035e9062001789565b91505062000309565b50505062001f57565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415620004b1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004a8906200184d565b60405180910390fd5b60008111620004f7576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004ee90620018bf565b60405180910390fd5b6000600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054146200057c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005739062001957565b60405180910390fd5b600f829080600181540180825580915050600190039060005260206000200160009091909190916101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555080600d60008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080600b5462000633919062001979565b600b819055507f40c340f65e17194d14ddddb073d3c9f888e3cb52b5aae0c6c7706b4fbc905fac82826040516200066c929190620019f8565b60405180910390a15050565b600080601a5411620006c1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620006b89062001a75565b60405180910390fd5b6000601a54600143620006d5919062001a97565b4060001c620006e5919062001b01565b90506000601b60008381526020019081526020016000205414156200070b578062000720565b601b6000828152602001908152602001600020545b60016200072e919062001979565b91506000601b60006001601a5462000747919062001a97565b815260200190815260200160002054141562000774576001601a546200076e919062001a97565b62000799565b601b60006001601a5462000789919062001a97565b8152602001908152602001600020545b601b6000838152602001908152602001600020819055506000601b60006001601a54620007c7919062001a97565b8152602001908152602001600020819055506001601a6000828254620007ee919062001a97565b925050819055505090565b6200081b8282604051806020016040528060008152506200081f60201b60201c565b5050565b6200083183836200088d60201b60201c565b62000846600084848462000a7360201b60201c565b62000888576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200087f9062001baf565b60405180910390fd5b505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000900576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620008f79062001c21565b60405180910390fd5b620009118162000c2d60201b60201c565b1562000954576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016200094b9062001c93565b60405180910390fd5b620009686000838362000c9960201b60201c565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254620009ba919062001979565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600062000aa18473ffffffffffffffffffffffffffffffffffffffff1662000de060201b6200257a1760201c565b1562000c20578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0262000ad36200037060201b60201c565b8786866040518563ffffffff1660e01b815260040162000af7949392919062001d48565b602060405180830381600087803b15801562000b1257600080fd5b505af192505050801562000b4657506040513d601f19601f8201168201806040525081019062000b43919062001df9565b60015b62000bcf573d806000811462000b79576040519150601f19603f3d011682016040523d82523d6000602084013e62000b7e565b606091505b5060008151141562000bc7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040162000bbe9062001baf565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505062000c25565b600190505b949350505050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b62000cb183838362000df360201b6200258d1760201c565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141562000cfe5762000cf88162000df860201b60201c565b62000d46565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161462000d455762000d44838262000e4160201b60201c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141562000d935762000d8d8162000fbe60201b60201c565b62000ddb565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161462000dda5762000dd982826200109a60201b60201c565b5b5b505050565b600080823b905060008111915050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b6000600162000e5b846200112660201b620017d91760201c565b62000e67919062001a97565b905060006007600084815260200190815260200160002054905081811462000f4d576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905062000fd4919062001a97565b905060006009600084815260200190815260200160002054905060006008838154811062001007576200100662001721565b5b9060005260206000200154905080600883815481106200102c576200102b62001721565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806200107e576200107d62001e2b565b5b6001900381819060005260206000200160009055905550505050565b6000620010b2836200112660201b620017d91760201c565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156200119a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620011919062001ed0565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b82805482825590600052602060002090810192821562001225579160200282015b8281111562001224578251829060ff1690559160200191906001019062001202565b5b50905062001234919062001358565b5090565b828054620012469062001f21565b90600052602060002090601f0160209004810192826200126a5760008555620012b6565b82601f106200128557805160ff1916838001178555620012b6565b82800160010185558215620012b6579182015b82811115620012b557825182559160200191906001019062001298565b5b509050620012c5919062001358565b5090565b82805482825590600052602060002090810192821562001345579160200282015b82811115620013445782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555091602001919060010190620012ea565b5b50905062001354919062001358565b5090565b5b808211156200137357600081600090555060010162001359565b5090565b6000604051905090565b600080fd5b600080fd5b6000819050919050565b620013a0816200138b565b8114620013ac57600080fd5b50565b600081519050620013c08162001395565b92915050565b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6200141682620013cb565b810181811067ffffffffffffffff82111715620014385762001437620013dc565b5b80604052505050565b60006200144d62001377565b90506200145b82826200140b565b919050565b600067ffffffffffffffff8211156200147e576200147d620013dc565b5b602082029050602081019050919050565b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620014c18262001494565b9050919050565b620014d381620014b4565b8114620014df57600080fd5b50565b600081519050620014f381620014c8565b92915050565b6000620015106200150a8462001460565b62001441565b905080838252602082019050602084028301858111156200153657620015356200148f565b5b835b818110156200156357806200154e8882620014e2565b84526020840193505060208101905062001538565b5050509392505050565b600082601f830112620015855762001584620013c6565b5b815162001597848260208601620014f9565b91505092915050565b60008060408385031215620015ba57620015b962001381565b5b6000620015ca85828601620013af565b925050602083015167ffffffffffffffff811115620015ee57620015ed62001386565b5b620015fc858286016200156d565b9150509250929050565b600082825260208201905092915050565b7f5061796d656e7453706c69747465723a2070617965657320616e64207368617260008201527f6573206c656e677468206d69736d617463680000000000000000000000000000602082015250565b60006200167560328362001606565b9150620016828262001617565b604082019050919050565b60006020820190508181036000830152620016a88162001666565b9050919050565b7f5061796d656e7453706c69747465723a206e6f20706179656573000000000000600082015250565b6000620016e7601a8362001606565b9150620016f482620016af565b602082019050919050565b600060208201905081810360008301526200171a81620016d8565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000819050919050565b600062001796826200177f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415620017cc57620017cb62001750565b5b600182019050919050565b7f5061796d656e7453706c69747465723a206163636f756e74206973207468652060008201527f7a65726f20616464726573730000000000000000000000000000000000000000602082015250565b600062001835602c8362001606565b91506200184282620017d7565b604082019050919050565b60006020820190508181036000830152620018688162001826565b9050919050565b7f5061796d656e7453706c69747465723a20736861726573206172652030000000600082015250565b6000620018a7601d8362001606565b9150620018b4826200186f565b602082019050919050565b60006020820190508181036000830152620018da8162001898565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420616c726561647960008201527f2068617320736861726573000000000000000000000000000000000000000000602082015250565b60006200193f602b8362001606565b91506200194c82620018e1565b604082019050919050565b60006020820190508181036000830152620019728162001930565b9050919050565b600062001986826200177f565b915062001993836200177f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115620019cb57620019ca62001750565b5b828201905092915050565b620019e181620014b4565b82525050565b620019f2816200177f565b82525050565b600060408201905062001a0f6000830185620019d6565b62001a1e6020830184620019e7565b9392505050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b600062001a5d60088362001606565b915062001a6a8262001a25565b602082019050919050565b6000602082019050818103600083015262001a908162001a4e565b9050919050565b600062001aa4826200177f565b915062001ab1836200177f565b92508282101562001ac75762001ac662001750565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b600062001b0e826200177f565b915062001b1b836200177f565b92508262001b2e5762001b2d62001ad2565b5b828206905092915050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b600062001b9760328362001606565b915062001ba48262001b39565b604082019050919050565b6000602082019050818103600083015262001bca8162001b88565b9050919050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b600062001c0960208362001606565b915062001c168262001bd1565b602082019050919050565b6000602082019050818103600083015262001c3c8162001bfa565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b600062001c7b601c8362001606565b915062001c888262001c43565b602082019050919050565b6000602082019050818103600083015262001cae8162001c6c565b9050919050565b600081519050919050565b600082825260208201905092915050565b60005b8381101562001cf157808201518184015260208101905062001cd4565b8381111562001d01576000848401525b50505050565b600062001d148262001cb5565b62001d20818562001cc0565b935062001d3281856020860162001cd1565b62001d3d81620013cb565b840191505092915050565b600060808201905062001d5f6000830187620019d6565b62001d6e6020830186620019d6565b62001d7d6040830185620019e7565b818103606083015262001d91818462001d07565b905095945050505050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b62001dd38162001d9c565b811462001ddf57600080fd5b50565b60008151905062001df38162001dc8565b92915050565b60006020828403121562001e125762001e1162001381565b5b600062001e228482850162001de2565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b600062001eb8602a8362001606565b915062001ec58262001e5a565b604082019050919050565b6000602082019050818103600083015262001eeb8162001ea9565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062001f3a57607f821691505b6020821081141562001f515762001f5062001ef2565b5b50919050565b615d368062001f676000396000f3fe60806040526004361061028c5760003560e01c8063715018a61161015a578063b88d4fde116100c1578063d49479eb1161007a578063d49479eb14610a23578063d5abeb0114610a4c578063d79779b214610a77578063e33b7de314610ab4578063e985e9c514610adf578063f2fde38b14610b1c576102d3565b8063b88d4fde1461090e578063c4fed86514610937578063c87b56dd14610962578063ce7c2ac21461099f578063d1472d31146109dc578063d2cab05614610a07576102d3565b806395d89b411161011357806395d89b411461081f5780639852595c1461084a5780639a65ea2614610887578063a0712d681461089e578063a22cb465146108ba578063a9722cf3146108e3576102d3565b8063715018a61461073557806373edce251461074c5780637f19c412146107775780637f3850641461078e5780638b83209b146107b75780638da5cb5b146107f4576102d3565b806323b872dd116101fe57806344a0d68a116101b757806344a0d68a146105ef57806348b75044146106185780634f6ccce7146106415780635de6dc551461067e5780636352211e146106bb57806370a08231146106f8576102d3565b806323b872dd146104cd5780632f745c59146104f6578063339159d3146105335780633a98ef391461055e578063406072a91461058957806342842e0e146105c6576102d3565b80630d4f9418116102505780630d4f9418146103d15780631372c9fc146103e857806318160ddd1461042557806319165587146104505780632152cb0214610479578063239c70ae146104a2576102d3565b806301ffc9a7146102d857806304305f421461031557806306fdde0314610340578063081812fc1461036b578063095ea7b3146103a8576102d3565b366102d3577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102ba610b45565b346040516102c9929190613c8b565b60405180910390a1005b600080fd5b3480156102e457600080fd5b506102ff60048036038101906102fa9190613d20565b610b4d565b60405161030c9190613d68565b60405180910390f35b34801561032157600080fd5b5061032a610bc7565b6040516103379190613d83565b60405180910390f35b34801561034c57600080fd5b50610355610bcd565b6040516103629190613e37565b60405180910390f35b34801561037757600080fd5b50610392600480360381019061038d9190613e85565b610c5f565b60405161039f9190613eb2565b60405180910390f35b3480156103b457600080fd5b506103cf60048036038101906103ca9190613ef9565b610ce4565b005b3480156103dd57600080fd5b506103e6610dfc565b005b3480156103f457600080fd5b5061040f600480360381019061040a9190613f39565b610e95565b60405161041c9190613d83565b60405180910390f35b34801561043157600080fd5b5061043a610ead565b6040516104479190613d83565b60405180910390f35b34801561045c57600080fd5b5061047760048036038101906104729190613fa4565b610eba565b005b34801561048557600080fd5b506104a0600480360381019061049b9190614007565b611065565b005b3480156104ae57600080fd5b506104b76110eb565b6040516104c49190613d83565b60405180910390f35b3480156104d957600080fd5b506104f460048036038101906104ef9190614034565b6110f1565b005b34801561050257600080fd5b5061051d60048036038101906105189190613ef9565b611151565b60405161052a9190613d83565b60405180910390f35b34801561053f57600080fd5b506105486111f6565b6040516105559190613d68565b60405180910390f35b34801561056a57600080fd5b50610573611209565b6040516105809190613d83565b60405180910390f35b34801561059557600080fd5b506105b060048036038101906105ab91906140c5565b611213565b6040516105bd9190613d83565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e89190614034565b61129a565b005b3480156105fb57600080fd5b5061061660048036038101906106119190613e85565b6112ba565b005b34801561062457600080fd5b5061063f600480360381019061063a91906140c5565b611340565b005b34801561064d57600080fd5b5061066860048036038101906106639190613e85565b611608565b6040516106759190613d83565b60405180910390f35b34801561068a57600080fd5b506106a560048036038101906106a09190613f39565b611679565b6040516106b291906141c3565b60405180910390f35b3480156106c757600080fd5b506106e260048036038101906106dd9190613e85565b611727565b6040516106ef9190613eb2565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a9190613f39565b6117d9565b60405161072c9190613d83565b60405180910390f35b34801561074157600080fd5b5061074a611891565b005b34801561075857600080fd5b50610761611919565b60405161076e9190613d83565b60405180910390f35b34801561078357600080fd5b5061078c61191e565b005b34801561079a57600080fd5b506107b560048036038101906107b09190613fa4565b6119b7565b005b3480156107c357600080fd5b506107de60048036038101906107d99190613e85565b6119c3565b6040516107eb9190613eb2565b60405180910390f35b34801561080057600080fd5b50610809611a0b565b6040516108169190613eb2565b60405180910390f35b34801561082b57600080fd5b50610834611a35565b6040516108419190613e37565b60405180910390f35b34801561085657600080fd5b50610871600480360381019061086c9190613f39565b611ac7565b60405161087e9190613d83565b60405180910390f35b34801561089357600080fd5b5061089c611b10565b005b6108b860048036038101906108b39190613e85565b611ba9565b005b3480156108c657600080fd5b506108e160048036038101906108dc9190614211565b611d66565b005b3480156108ef57600080fd5b506108f8611d7c565b6040516109059190613d68565b60405180910390f35b34801561091a57600080fd5b5061093560048036038101906109309190614386565b611d8f565b005b34801561094357600080fd5b5061094c611df1565b6040516109599190613d83565b60405180910390f35b34801561096e57600080fd5b5061098960048036038101906109849190613e85565b611df7565b6040516109969190613e37565b60405180910390f35b3480156109ab57600080fd5b506109c660048036038101906109c19190613f39565b611e8a565b6040516109d39190613d83565b60405180910390f35b3480156109e857600080fd5b506109f1611ed3565b6040516109fe9190613d83565b60405180910390f35b610a216004803603810190610a1c9190614469565b61203d565b005b348015610a2f57600080fd5b50610a4a6004803603810190610a459190613e85565b61230f565b005b348015610a5857600080fd5b50610a61612395565b604051610a6e9190613d83565b60405180910390f35b348015610a8357600080fd5b50610a9e6004803603810190610a9991906144c9565b61239b565b604051610aab9190613d83565b60405180910390f35b348015610ac057600080fd5b50610ac96123e4565b604051610ad69190613d83565b60405180910390f35b348015610aeb57600080fd5b50610b066004803603810190610b0191906144f6565b6123ee565b604051610b139190613d68565b60405180910390f35b348015610b2857600080fd5b50610b436004803603810190610b3e9190613f39565b612482565b005b600033905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bc05750610bbf82612592565b5b9050919050565b60155481565b606060008054610bdc90614565565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0890614565565b8015610c555780601f10610c2a57610100808354040283529160200191610c55565b820191906000526020600020905b815481529060010190602001808311610c3857829003601f168201915b5050505050905090565b6000610c6a82612674565b610ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca090614609565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cef82611727565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d579061469b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d7f610b45565b73ffffffffffffffffffffffffffffffffffffffff161480610dae5750610dad81610da8610b45565b6123ee565b5b610ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de49061472d565b60405180910390fd5b610df783836126e0565b505050565b610e04610b45565b73ffffffffffffffffffffffffffffffffffffffff16610e22611a0b565b73ffffffffffffffffffffffffffffffffffffffff1614610e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6f90614799565b60405180910390fd5b6000601460016101000a81548160ff021916908315150217905550565b601c6020528060005260406000206000915090505481565b6000600880549050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f339061482b565b60405180910390fd5b6000610f466123e4565b47610f51919061487a565b90506000610f688383610f6386611ac7565b612799565b90506000811415610fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa590614942565b60405180910390fd5b80600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ffd919061487a565b9250508190555080600c6000828254611016919061487a565b925050819055506110278382612807565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516110589291906149c1565b60405180910390a1505050565b61106d610b45565b73ffffffffffffffffffffffffffffffffffffffff1661108b611a0b565b73ffffffffffffffffffffffffffffffffffffffff16146110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890614799565b60405180910390fd5b8060178190555050565b60135481565b6111026110fc610b45565b826128fb565b611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890614a5c565b60405180910390fd5b61114c8383836129d9565b505050565b600061115c836117d9565b821061119d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119490614aee565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601460019054906101000a900460ff1681565b6000600b54905090565b6000601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6112b583838360405180602001604052806000815250611d8f565b505050565b6112c2610b45565b73ffffffffffffffffffffffffffffffffffffffff166112e0611a0b565b73ffffffffffffffffffffffffffffffffffffffff1614611336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132d90614799565b60405180910390fd5b8060158190555050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116113c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b99061482b565b60405180910390fd5b60006113cd8361239b565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016114069190613eb2565b60206040518083038186803b15801561141e57600080fd5b505afa158015611432573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114569190614b23565b611460919061487a565b9050600061147883836114738787611213565b612799565b905060008114156114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b590614942565b60405180910390fd5b80601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461154a919061487a565b9250508190555080601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115a0919061487a565b925050819055506115b2848483612c35565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a84836040516115fa929190613c8b565b60405180910390a250505050565b6000611612610ead565b8210611653576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164a90614bc2565b60405180910390fd5b6008828154811061166757611666614be2565b5b90600052602060002001549050919050565b60606000611686836117d9565b905060008167ffffffffffffffff8111156116a4576116a361425b565b5b6040519080825280602002602001820160405280156116d25781602001602082028036833780820191505090505b50905060005b8281101561171c576116ea8582611151565b8282815181106116fd576116fc614be2565b5b602002602001018181525050808061171490614c11565b9150506116d8565b508092505050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c790614ccc565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184190614d5e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611899610b45565b73ffffffffffffffffffffffffffffffffffffffff166118b7611a0b565b73ffffffffffffffffffffffffffffffffffffffff161461190d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190490614799565b60405180910390fd5b6119176000612cbb565b565b600181565b611926610b45565b73ffffffffffffffffffffffffffffffffffffffff16611944611a0b565b73ffffffffffffffffffffffffffffffffffffffff161461199a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199190614799565b60405180910390fd5b6001601460016101000a81548160ff021916908315150217905550565b6119c081610eba565b50565b6000600f82815481106119d9576119d8614be2565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a4490614565565b80601f0160208091040260200160405190810160405280929190818152602001828054611a7090614565565b8015611abd5780601f10611a9257610100808354040283529160200191611abd565b820191906000526020600020905b815481529060010190602001808311611aa057829003601f168201915b5050505050905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b18610b45565b73ffffffffffffffffffffffffffffffffffffffff16611b36611a0b565b73ffffffffffffffffffffffffffffffffffffffff1614611b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8390614799565b60405180910390fd5b6001601460006101000a81548160ff021916908315150217905550565b6000611bb3610ead565b9050601460009054906101000a900460ff16611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb90614dca565b60405180910390fd5b60008211611c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3e90614e36565b60405180910390fd5b601354821115611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8390614ea2565b60405180910390fd5b6012548282611c9b919061487a565b1115611cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd390614f0e565b60405180910390fd5b600060155483611cec9190614f2e565b905080341015611d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2890614fd4565b60405180910390fd5b60005b83811015611d6057611d4d33611d48611ed3565b612d81565b8080611d5890614c11565b915050611d34565b50505050565b611d78611d71610b45565b8383612d9f565b5050565b601460009054906101000a900460ff1681565b611da0611d9a610b45565b836128fb565b611ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd690614a5c565b60405180910390fd5b611deb84848484612f0c565b50505050565b60165481565b6060611e0282612674565b611e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3890615040565b60405180910390fd5b604051806060016040528060368152602001615ccb60369139611e6383612f68565b604051602001611e749291906150e8565b6040516020818303038152906040529050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080601a5411611f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1090615163565b60405180910390fd5b6000601a54600143611f2b9190615183565b4060001c611f3991906151e6565b90506000601b6000838152602001908152602001600020541415611f5d5780611f72565b601b6000828152602001908152602001600020545b6001611f7e919061487a565b91506000601b60006001601a54611f959190615183565b8152602001908152602001600020541415611fbe576001601a54611fb99190615183565b611fe1565b601b60006001601a54611fd19190615183565b8152602001908152602001600020545b601b6000838152602001908152602001600020819055506000601b60006001601a5461200d9190615183565b8152602001908152602001600020819055506001601a60008282546120329190615183565b925050819055505090565b601460019054906101000a900460ff1661208c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208390615263565b60405180910390fd5b6000612096610ead565b9050600084116120db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d290614e36565b60405180910390fd5b601354841115612120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211790614ea2565b60405180910390fd5b601254848261212f919061487a565b1115612170576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216790614f0e565b60405180910390fd5b60018461217c336117d9565b612186919061487a565b11156121c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121be906152cf565b60405180910390fd5b6000601654856121d79190614f2e565b90508034101561221c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221390614fd4565b60405180910390fd5b60003360405160200161222f9190615337565b604051602081830303815290604052805190602001209050612295858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601754836130c9565b6122d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cb9061539e565b60405180910390fd5b6000600190505b868111612306576122f3336122ee611ed3565b612d81565b80806122fe90614c11565b9150506122db565b50505050505050565b612317610b45565b73ffffffffffffffffffffffffffffffffffffffff16612335611a0b565b73ffffffffffffffffffffffffffffffffffffffff161461238b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238290614799565b60405180910390fd5b8060168190555050565b60125481565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600c54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61248a610b45565b73ffffffffffffffffffffffffffffffffffffffff166124a8611a0b565b73ffffffffffffffffffffffffffffffffffffffff16146124fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f590614799565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561256e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256590615430565b60405180910390fd5b61257781612cbb565b50565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061265d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061266d575061266c826130e0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661275383611727565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600b54600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054856127ea9190614f2e565b6127f49190615450565b6127fe9190615183565b90509392505050565b8047101561284a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612841906154cd565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516128709061551e565b60006040518083038185875af1925050503d80600081146128ad576040519150601f19603f3d011682016040523d82523d6000602084013e6128b2565b606091505b50509050806128f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ed906155a5565b60405180910390fd5b505050565b600061290682612674565b612945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293c90615637565b60405180910390fd5b600061295083611727565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129bf57508373ffffffffffffffffffffffffffffffffffffffff166129a784610c5f565b73ffffffffffffffffffffffffffffffffffffffff16145b806129d057506129cf81856123ee565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129f982611727565b73ffffffffffffffffffffffffffffffffffffffff1614612a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a46906156c9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612abf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab69061575b565b60405180910390fd5b612aca83838361314a565b612ad56000826126e0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b259190615183565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b7c919061487a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612cb68363a9059cbb60e01b8484604051602401612c54929190613c8b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061325e565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d9b828260405180602001604052806000815250613325565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e05906157c7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612eff9190613d68565b60405180910390a3505050565b612f178484846129d9565b612f2384848484613380565b612f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5990615859565b60405180910390fd5b50505050565b60606000821415612fb0576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130c4565b600082905060005b60008214612fe2578080612fcb90614c11565b915050600a82612fdb9190615450565b9150612fb8565b60008167ffffffffffffffff811115612ffe57612ffd61425b565b5b6040519080825280601f01601f1916602001820160405280156130305781602001600182028036833780820191505090505b5090505b600085146130bd576001826130499190615183565b9150600a8561305891906151e6565b6030613064919061487a565b60f81b81838151811061307a57613079614be2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130b69190615450565b9450613034565b8093505050505b919050565b6000826130d68584613517565b1490509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61315583838361258d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561319857613193816135ca565b6131d7565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131d6576131d58382613613565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561321a5761321581613780565b613259565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613258576132578282613851565b5b5b505050565b60006132c0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166138d09092919063ffffffff16565b905060008151111561332057808060200190518101906132e0919061588e565b61331f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133169061592d565b60405180910390fd5b5b505050565b61332f83836138e8565b61333c6000848484613380565b61337b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337290615859565b60405180910390fd5b505050565b60006133a18473ffffffffffffffffffffffffffffffffffffffff1661257a565b1561350a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133ca610b45565b8786866040518563ffffffff1660e01b81526004016133ec94939291906159a2565b602060405180830381600087803b15801561340657600080fd5b505af192505050801561343757506040513d601f19601f820116820180604052508101906134349190615a03565b60015b6134ba573d8060008114613467576040519150601f19603f3d011682016040523d82523d6000602084013e61346c565b606091505b506000815114156134b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134a990615859565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061350f565b600190505b949350505050565b60008082905060005b84518110156135bf57600085828151811061353e5761353d614be2565b5b6020026020010151905080831161357f578281604051602001613562929190615a51565b6040516020818303038152906040528051906020012092506135ab565b8083604051602001613592929190615a51565b6040516020818303038152906040528051906020012092505b5080806135b790614c11565b915050613520565b508091505092915050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613620846117d9565b61362a9190615183565b905060006007600084815260200190815260200160002054905081811461370f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506137949190615183565b90506000600960008481526020019081526020016000205490506000600883815481106137c4576137c3614be2565b5b9060005260206000200154905080600883815481106137e6576137e5614be2565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061383557613834615a7d565b5b6001900381819060005260206000200160009055905550505050565b600061385c836117d9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60606138df8484600085613ab6565b90509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394f90615af8565b60405180910390fd5b61396181612674565b156139a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399890615b64565b60405180910390fd5b6139ad6000838361314a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139fd919061487a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b606082471015613afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613af290615bf6565b60405180910390fd5b613b048561257a565b613b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3a90615c62565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613b6c9190615cb3565b60006040518083038185875af1925050503d8060008114613ba9576040519150601f19603f3d011682016040523d82523d6000602084013e613bae565b606091505b5091509150613bbe828286613bca565b92505050949350505050565b60608315613bda57829050613c2a565b600083511115613bed5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c219190613e37565b60405180910390fd5b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c5c82613c31565b9050919050565b613c6c81613c51565b82525050565b6000819050919050565b613c8581613c72565b82525050565b6000604082019050613ca06000830185613c63565b613cad6020830184613c7c565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613cfd81613cc8565b8114613d0857600080fd5b50565b600081359050613d1a81613cf4565b92915050565b600060208284031215613d3657613d35613cbe565b5b6000613d4484828501613d0b565b91505092915050565b60008115159050919050565b613d6281613d4d565b82525050565b6000602082019050613d7d6000830184613d59565b92915050565b6000602082019050613d986000830184613c7c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613dd8578082015181840152602081019050613dbd565b83811115613de7576000848401525b50505050565b6000601f19601f8301169050919050565b6000613e0982613d9e565b613e138185613da9565b9350613e23818560208601613dba565b613e2c81613ded565b840191505092915050565b60006020820190508181036000830152613e518184613dfe565b905092915050565b613e6281613c72565b8114613e6d57600080fd5b50565b600081359050613e7f81613e59565b92915050565b600060208284031215613e9b57613e9a613cbe565b5b6000613ea984828501613e70565b91505092915050565b6000602082019050613ec76000830184613c63565b92915050565b613ed681613c51565b8114613ee157600080fd5b50565b600081359050613ef381613ecd565b92915050565b60008060408385031215613f1057613f0f613cbe565b5b6000613f1e85828601613ee4565b9250506020613f2f85828601613e70565b9150509250929050565b600060208284031215613f4f57613f4e613cbe565b5b6000613f5d84828501613ee4565b91505092915050565b6000613f7182613c31565b9050919050565b613f8181613f66565b8114613f8c57600080fd5b50565b600081359050613f9e81613f78565b92915050565b600060208284031215613fba57613fb9613cbe565b5b6000613fc884828501613f8f565b91505092915050565b6000819050919050565b613fe481613fd1565b8114613fef57600080fd5b50565b60008135905061400181613fdb565b92915050565b60006020828403121561401d5761401c613cbe565b5b600061402b84828501613ff2565b91505092915050565b60008060006060848603121561404d5761404c613cbe565b5b600061405b86828701613ee4565b935050602061406c86828701613ee4565b925050604061407d86828701613e70565b9150509250925092565b600061409282613c51565b9050919050565b6140a281614087565b81146140ad57600080fd5b50565b6000813590506140bf81614099565b92915050565b600080604083850312156140dc576140db613cbe565b5b60006140ea858286016140b0565b92505060206140fb85828601613ee4565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61413a81613c72565b82525050565b600061414c8383614131565b60208301905092915050565b6000602082019050919050565b600061417082614105565b61417a8185614110565b935061418583614121565b8060005b838110156141b657815161419d8882614140565b97506141a883614158565b925050600181019050614189565b5085935050505092915050565b600060208201905081810360008301526141dd8184614165565b905092915050565b6141ee81613d4d565b81146141f957600080fd5b50565b60008135905061420b816141e5565b92915050565b6000806040838503121561422857614227613cbe565b5b600061423685828601613ee4565b9250506020614247858286016141fc565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61429382613ded565b810181811067ffffffffffffffff821117156142b2576142b161425b565b5b80604052505050565b60006142c5613cb4565b90506142d1828261428a565b919050565b600067ffffffffffffffff8211156142f1576142f061425b565b5b6142fa82613ded565b9050602081019050919050565b82818337600083830152505050565b6000614329614324846142d6565b6142bb565b90508281526020810184848401111561434557614344614256565b5b614350848285614307565b509392505050565b600082601f83011261436d5761436c614251565b5b813561437d848260208601614316565b91505092915050565b600080600080608085870312156143a05761439f613cbe565b5b60006143ae87828801613ee4565b94505060206143bf87828801613ee4565b93505060406143d087828801613e70565b925050606085013567ffffffffffffffff8111156143f1576143f0613cc3565b5b6143fd87828801614358565b91505092959194509250565b600080fd5b600080fd5b60008083601f84011261442957614428614251565b5b8235905067ffffffffffffffff81111561444657614445614409565b5b6020830191508360208202830111156144625761446161440e565b5b9250929050565b60008060006040848603121561448257614481613cbe565b5b600061449086828701613e70565b935050602084013567ffffffffffffffff8111156144b1576144b0613cc3565b5b6144bd86828701614413565b92509250509250925092565b6000602082840312156144df576144de613cbe565b5b60006144ed848285016140b0565b91505092915050565b6000806040838503121561450d5761450c613cbe565b5b600061451b85828601613ee4565b925050602061452c85828601613ee4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061457d57607f821691505b6020821081141561459157614590614536565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006145f3602c83613da9565b91506145fe82614597565b604082019050919050565b60006020820190508181036000830152614622816145e6565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614685602183613da9565b915061469082614629565b604082019050919050565b600060208201905081810360008301526146b481614678565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614717603883613da9565b9150614722826146bb565b604082019050919050565b600060208201905081810360008301526147468161470a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614783602083613da9565b915061478e8261474d565b602082019050919050565b600060208201905081810360008301526147b281614776565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000614815602683613da9565b9150614820826147b9565b604082019050919050565b6000602082019050818103600083015261484481614808565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061488582613c72565b915061489083613c72565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148c5576148c461484b565b5b828201905092915050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b600061492c602b83613da9565b9150614937826148d0565b604082019050919050565b6000602082019050818103600083015261495b8161491f565b9050919050565b6000819050919050565b600061498761498261497d84613c31565b614962565b613c31565b9050919050565b60006149998261496c565b9050919050565b60006149ab8261498e565b9050919050565b6149bb816149a0565b82525050565b60006040820190506149d660008301856149b2565b6149e36020830184613c7c565b9392505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614a46603183613da9565b9150614a51826149ea565b604082019050919050565b60006020820190508181036000830152614a7581614a39565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614ad8602b83613da9565b9150614ae382614a7c565b604082019050919050565b60006020820190508181036000830152614b0781614acb565b9050919050565b600081519050614b1d81613e59565b92915050565b600060208284031215614b3957614b38613cbe565b5b6000614b4784828501614b0e565b91505092915050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614bac602c83613da9565b9150614bb782614b50565b604082019050919050565b60006020820190508181036000830152614bdb81614b9f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614c1c82613c72565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c4f57614c4e61484b565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614cb6602983613da9565b9150614cc182614c5a565b604082019050919050565b60006020820190508181036000830152614ce581614ca9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614d48602a83613da9565b9150614d5382614cec565b604082019050919050565b60006020820190508181036000830152614d7781614d3b565b9050919050565b7f6d696e74696e67206973206e6f74207374617274656400000000000000000000600082015250565b6000614db4601683613da9565b9150614dbf82614d7e565b602082019050919050565b60006020820190508181036000830152614de381614da7565b9050919050565b7f6d696e74206174206c65617374206f6e65206974656d00000000000000000000600082015250565b6000614e20601683613da9565b9150614e2b82614dea565b602082019050919050565b60006020820190508181036000830152614e4f81614e13565b9050919050565b7f6d6178206d696e742073697a65206973203130206974656d7300000000000000600082015250565b6000614e8c601983613da9565b9150614e9782614e56565b602082019050919050565b60006020820190508181036000830152614ebb81614e7f565b9050919050565b7f6d617820737570706c7920726561636865640000000000000000000000000000600082015250565b6000614ef8601283613da9565b9150614f0382614ec2565b602082019050919050565b60006020820190508181036000830152614f2781614eeb565b9050919050565b6000614f3982613c72565b9150614f4483613c72565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f7d57614f7c61484b565b5b828202905092915050565b7f616d6f756e74206973206e6f7420656e6f756768000000000000000000000000600082015250565b6000614fbe601483613da9565b9150614fc982614f88565b602082019050919050565b60006020820190508181036000830152614fed81614fb1565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b600061502a601f83613da9565b915061503582614ff4565b602082019050919050565b600060208201905081810360008301526150598161501d565b9050919050565b600081905092915050565b600061507682613d9e565b6150808185615060565b9350615090818560208601613dba565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006150d2600583615060565b91506150dd8261509c565b600582019050919050565b60006150f4828561506b565b9150615100828461506b565b915061510b826150c5565b91508190509392505050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b600061514d600883613da9565b915061515882615117565b602082019050919050565b6000602082019050818103600083015261517c81615140565b9050919050565b600061518e82613c72565b915061519983613c72565b9250828210156151ac576151ab61484b565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006151f182613c72565b91506151fc83613c72565b92508261520c5761520b6151b7565b5b828206905092915050565b7f77686974656c697374206e6f7420737461727465640000000000000000000000600082015250565b600061524d601583613da9565b915061525882615217565b602082019050919050565b6000602082019050818103600083015261527c81615240565b9050919050565b7f6d61782077686974656c697374206974656d7320726561636865640000000000600082015250565b60006152b9601b83613da9565b91506152c482615283565b602082019050919050565b600060208201905081810360008301526152e8816152ac565b9050919050565b60008160601b9050919050565b6000615307826152ef565b9050919050565b6000615319826152fc565b9050919050565b61533161532c82613c51565b61530e565b82525050565b60006153438284615320565b60148201915081905092915050565b7f4d696e743a206e6f7420696e207468652077686974656c697374000000000000600082015250565b6000615388601a83613da9565b915061539382615352565b602082019050919050565b600060208201905081810360008301526153b78161537b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061541a602683613da9565b9150615425826153be565b604082019050919050565b600060208201905081810360008301526154498161540d565b9050919050565b600061545b82613c72565b915061546683613c72565b925082615476576154756151b7565b5b828204905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006154b7601d83613da9565b91506154c282615481565b602082019050919050565b600060208201905081810360008301526154e6816154aa565b9050919050565b600081905092915050565b50565b60006155086000836154ed565b9150615513826154f8565b600082019050919050565b6000615529826154fb565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061558f603a83613da9565b915061559a82615533565b604082019050919050565b600060208201905081810360008301526155be81615582565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615621602c83613da9565b915061562c826155c5565b604082019050919050565b6000602082019050818103600083015261565081615614565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006156b3602983613da9565b91506156be82615657565b604082019050919050565b600060208201905081810360008301526156e2816156a6565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615745602483613da9565b9150615750826156e9565b604082019050919050565b6000602082019050818103600083015261577481615738565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006157b1601983613da9565b91506157bc8261577b565b602082019050919050565b600060208201905081810360008301526157e0816157a4565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615843603283613da9565b915061584e826157e7565b604082019050919050565b6000602082019050818103600083015261587281615836565b9050919050565b600081519050615888816141e5565b92915050565b6000602082840312156158a4576158a3613cbe565b5b60006158b284828501615879565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615917602a83613da9565b9150615922826158bb565b604082019050919050565b600060208201905081810360008301526159468161590a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006159748261594d565b61597e8185615958565b935061598e818560208601613dba565b61599781613ded565b840191505092915050565b60006080820190506159b76000830187613c63565b6159c46020830186613c63565b6159d16040830185613c7c565b81810360608301526159e38184615969565b905095945050505050565b6000815190506159fd81613cf4565b92915050565b600060208284031215615a1957615a18613cbe565b5b6000615a27848285016159ee565b91505092915050565b6000819050919050565b615a4b615a4682613fd1565b615a30565b82525050565b6000615a5d8285615a3a565b602082019150615a6d8284615a3a565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615ae2602083613da9565b9150615aed82615aac565b602082019050919050565b60006020820190508181036000830152615b1181615ad5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615b4e601c83613da9565b9150615b5982615b18565b602082019050919050565b60006020820190508181036000830152615b7d81615b41565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615be0602683613da9565b9150615beb82615b84565b604082019050919050565b60006020820190508181036000830152615c0f81615bd3565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615c4c601d83613da9565b9150615c5782615c16565b602082019050919050565b60006020820190508181036000830152615c7b81615c3f565b9050919050565b6000615c8d8261594d565b615c9781856154ed565b9350615ca7818560208601613dba565b80840191505092915050565b6000615cbf8284615c82565b91508190509291505056fe697066733a2f2f516d55425461645852577156665368724c6e50513552696343797771336f3963367252654d57704e5a4770464c682fa26469706673582212200851c625123ebac2c0c3017f8c155dcc46aa6d6f4967876232e74b9ca03ca17964736f6c6343000809003356a51301d7677a0685f6808cadb6389296c73d4c93c14540a9cab89f91d2e38500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000113731ea7d593b174d2e072c6e6daca316dd4f5f000000000000000000000000ceee5f629c87edbd86a6ea0771cf02b88415a6690000000000000000000000000ace2ed5c6a66e833927cfb3a924e8b907ef87c0

Deployed Bytecode

0x60806040526004361061028c5760003560e01c8063715018a61161015a578063b88d4fde116100c1578063d49479eb1161007a578063d49479eb14610a23578063d5abeb0114610a4c578063d79779b214610a77578063e33b7de314610ab4578063e985e9c514610adf578063f2fde38b14610b1c576102d3565b8063b88d4fde1461090e578063c4fed86514610937578063c87b56dd14610962578063ce7c2ac21461099f578063d1472d31146109dc578063d2cab05614610a07576102d3565b806395d89b411161011357806395d89b411461081f5780639852595c1461084a5780639a65ea2614610887578063a0712d681461089e578063a22cb465146108ba578063a9722cf3146108e3576102d3565b8063715018a61461073557806373edce251461074c5780637f19c412146107775780637f3850641461078e5780638b83209b146107b75780638da5cb5b146107f4576102d3565b806323b872dd116101fe57806344a0d68a116101b757806344a0d68a146105ef57806348b75044146106185780634f6ccce7146106415780635de6dc551461067e5780636352211e146106bb57806370a08231146106f8576102d3565b806323b872dd146104cd5780632f745c59146104f6578063339159d3146105335780633a98ef391461055e578063406072a91461058957806342842e0e146105c6576102d3565b80630d4f9418116102505780630d4f9418146103d15780631372c9fc146103e857806318160ddd1461042557806319165587146104505780632152cb0214610479578063239c70ae146104a2576102d3565b806301ffc9a7146102d857806304305f421461031557806306fdde0314610340578063081812fc1461036b578063095ea7b3146103a8576102d3565b366102d3577f6ef95f06320e7a25a04a175ca677b7052bdd97131872c2192525a629f51be7706102ba610b45565b346040516102c9929190613c8b565b60405180910390a1005b600080fd5b3480156102e457600080fd5b506102ff60048036038101906102fa9190613d20565b610b4d565b60405161030c9190613d68565b60405180910390f35b34801561032157600080fd5b5061032a610bc7565b6040516103379190613d83565b60405180910390f35b34801561034c57600080fd5b50610355610bcd565b6040516103629190613e37565b60405180910390f35b34801561037757600080fd5b50610392600480360381019061038d9190613e85565b610c5f565b60405161039f9190613eb2565b60405180910390f35b3480156103b457600080fd5b506103cf60048036038101906103ca9190613ef9565b610ce4565b005b3480156103dd57600080fd5b506103e6610dfc565b005b3480156103f457600080fd5b5061040f600480360381019061040a9190613f39565b610e95565b60405161041c9190613d83565b60405180910390f35b34801561043157600080fd5b5061043a610ead565b6040516104479190613d83565b60405180910390f35b34801561045c57600080fd5b5061047760048036038101906104729190613fa4565b610eba565b005b34801561048557600080fd5b506104a0600480360381019061049b9190614007565b611065565b005b3480156104ae57600080fd5b506104b76110eb565b6040516104c49190613d83565b60405180910390f35b3480156104d957600080fd5b506104f460048036038101906104ef9190614034565b6110f1565b005b34801561050257600080fd5b5061051d60048036038101906105189190613ef9565b611151565b60405161052a9190613d83565b60405180910390f35b34801561053f57600080fd5b506105486111f6565b6040516105559190613d68565b60405180910390f35b34801561056a57600080fd5b50610573611209565b6040516105809190613d83565b60405180910390f35b34801561059557600080fd5b506105b060048036038101906105ab91906140c5565b611213565b6040516105bd9190613d83565b60405180910390f35b3480156105d257600080fd5b506105ed60048036038101906105e89190614034565b61129a565b005b3480156105fb57600080fd5b5061061660048036038101906106119190613e85565b6112ba565b005b34801561062457600080fd5b5061063f600480360381019061063a91906140c5565b611340565b005b34801561064d57600080fd5b5061066860048036038101906106639190613e85565b611608565b6040516106759190613d83565b60405180910390f35b34801561068a57600080fd5b506106a560048036038101906106a09190613f39565b611679565b6040516106b291906141c3565b60405180910390f35b3480156106c757600080fd5b506106e260048036038101906106dd9190613e85565b611727565b6040516106ef9190613eb2565b60405180910390f35b34801561070457600080fd5b5061071f600480360381019061071a9190613f39565b6117d9565b60405161072c9190613d83565b60405180910390f35b34801561074157600080fd5b5061074a611891565b005b34801561075857600080fd5b50610761611919565b60405161076e9190613d83565b60405180910390f35b34801561078357600080fd5b5061078c61191e565b005b34801561079a57600080fd5b506107b560048036038101906107b09190613fa4565b6119b7565b005b3480156107c357600080fd5b506107de60048036038101906107d99190613e85565b6119c3565b6040516107eb9190613eb2565b60405180910390f35b34801561080057600080fd5b50610809611a0b565b6040516108169190613eb2565b60405180910390f35b34801561082b57600080fd5b50610834611a35565b6040516108419190613e37565b60405180910390f35b34801561085657600080fd5b50610871600480360381019061086c9190613f39565b611ac7565b60405161087e9190613d83565b60405180910390f35b34801561089357600080fd5b5061089c611b10565b005b6108b860048036038101906108b39190613e85565b611ba9565b005b3480156108c657600080fd5b506108e160048036038101906108dc9190614211565b611d66565b005b3480156108ef57600080fd5b506108f8611d7c565b6040516109059190613d68565b60405180910390f35b34801561091a57600080fd5b5061093560048036038101906109309190614386565b611d8f565b005b34801561094357600080fd5b5061094c611df1565b6040516109599190613d83565b60405180910390f35b34801561096e57600080fd5b5061098960048036038101906109849190613e85565b611df7565b6040516109969190613e37565b60405180910390f35b3480156109ab57600080fd5b506109c660048036038101906109c19190613f39565b611e8a565b6040516109d39190613d83565b60405180910390f35b3480156109e857600080fd5b506109f1611ed3565b6040516109fe9190613d83565b60405180910390f35b610a216004803603810190610a1c9190614469565b61203d565b005b348015610a2f57600080fd5b50610a4a6004803603810190610a459190613e85565b61230f565b005b348015610a5857600080fd5b50610a61612395565b604051610a6e9190613d83565b60405180910390f35b348015610a8357600080fd5b50610a9e6004803603810190610a9991906144c9565b61239b565b604051610aab9190613d83565b60405180910390f35b348015610ac057600080fd5b50610ac96123e4565b604051610ad69190613d83565b60405180910390f35b348015610aeb57600080fd5b50610b066004803603810190610b0191906144f6565b6123ee565b604051610b139190613d68565b60405180910390f35b348015610b2857600080fd5b50610b436004803603810190610b3e9190613f39565b612482565b005b600033905090565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610bc05750610bbf82612592565b5b9050919050565b60155481565b606060008054610bdc90614565565b80601f0160208091040260200160405190810160405280929190818152602001828054610c0890614565565b8015610c555780601f10610c2a57610100808354040283529160200191610c55565b820191906000526020600020905b815481529060010190602001808311610c3857829003601f168201915b5050505050905090565b6000610c6a82612674565b610ca9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ca090614609565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610cef82611727565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610d60576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d579061469b565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610d7f610b45565b73ffffffffffffffffffffffffffffffffffffffff161480610dae5750610dad81610da8610b45565b6123ee565b5b610ded576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610de49061472d565b60405180910390fd5b610df783836126e0565b505050565b610e04610b45565b73ffffffffffffffffffffffffffffffffffffffff16610e22611a0b565b73ffffffffffffffffffffffffffffffffffffffff1614610e78576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e6f90614799565b60405180910390fd5b6000601460016101000a81548160ff021916908315150217905550565b601c6020528060005260406000206000915090505481565b6000600880549050905090565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610f3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f339061482b565b60405180910390fd5b6000610f466123e4565b47610f51919061487a565b90506000610f688383610f6386611ac7565b612799565b90506000811415610fae576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fa590614942565b60405180910390fd5b80600e60008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ffd919061487a565b9250508190555080600c6000828254611016919061487a565b925050819055506110278382612807565b7fdf20fd1e76bc69d672e4814fafb2c449bba3a5369d8359adf9e05e6fde87b05683826040516110589291906149c1565b60405180910390a1505050565b61106d610b45565b73ffffffffffffffffffffffffffffffffffffffff1661108b611a0b565b73ffffffffffffffffffffffffffffffffffffffff16146110e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d890614799565b60405180910390fd5b8060178190555050565b60135481565b6111026110fc610b45565b826128fb565b611141576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161113890614a5c565b60405180910390fd5b61114c8383836129d9565b505050565b600061115c836117d9565b821061119d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161119490614aee565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601460019054906101000a900460ff1681565b6000600b54905090565b6000601160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6112b583838360405180602001604052806000815250611d8f565b505050565b6112c2610b45565b73ffffffffffffffffffffffffffffffffffffffff166112e0611a0b565b73ffffffffffffffffffffffffffffffffffffffff1614611336576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161132d90614799565b60405180910390fd5b8060158190555050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054116113c2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113b99061482b565b60405180910390fd5b60006113cd8361239b565b8373ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b81526004016114069190613eb2565b60206040518083038186803b15801561141e57600080fd5b505afa158015611432573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906114569190614b23565b611460919061487a565b9050600061147883836114738787611213565b612799565b905060008114156114be576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114b590614942565b60405180910390fd5b80601160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461154a919061487a565b9250508190555080601060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115a0919061487a565b925050819055506115b2848483612c35565b8373ffffffffffffffffffffffffffffffffffffffff167f3be5b7a71e84ed12875d241991c70855ac5817d847039e17a9d895c1ceb0f18a84836040516115fa929190613c8b565b60405180910390a250505050565b6000611612610ead565b8210611653576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164a90614bc2565b60405180910390fd5b6008828154811061166757611666614be2565b5b90600052602060002001549050919050565b60606000611686836117d9565b905060008167ffffffffffffffff8111156116a4576116a361425b565b5b6040519080825280602002602001820160405280156116d25781602001602082028036833780820191505090505b50905060005b8281101561171c576116ea8582611151565b8282815181106116fd576116fc614be2565b5b602002602001018181525050808061171490614c11565b9150506116d8565b508092505050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614156117d0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117c790614ccc565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561184a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161184190614d5e565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611899610b45565b73ffffffffffffffffffffffffffffffffffffffff166118b7611a0b565b73ffffffffffffffffffffffffffffffffffffffff161461190d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161190490614799565b60405180910390fd5b6119176000612cbb565b565b600181565b611926610b45565b73ffffffffffffffffffffffffffffffffffffffff16611944611a0b565b73ffffffffffffffffffffffffffffffffffffffff161461199a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199190614799565b60405180910390fd5b6001601460016101000a81548160ff021916908315150217905550565b6119c081610eba565b50565b6000600f82815481106119d9576119d8614be2565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060018054611a4490614565565b80601f0160208091040260200160405190810160405280929190818152602001828054611a7090614565565b8015611abd5780601f10611a9257610100808354040283529160200191611abd565b820191906000526020600020905b815481529060010190602001808311611aa057829003601f168201915b5050505050905090565b6000600e60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b611b18610b45565b73ffffffffffffffffffffffffffffffffffffffff16611b36611a0b565b73ffffffffffffffffffffffffffffffffffffffff1614611b8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b8390614799565b60405180910390fd5b6001601460006101000a81548160ff021916908315150217905550565b6000611bb3610ead565b9050601460009054906101000a900460ff16611c04576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bfb90614dca565b60405180910390fd5b60008211611c47576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c3e90614e36565b60405180910390fd5b601354821115611c8c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c8390614ea2565b60405180910390fd5b6012548282611c9b919061487a565b1115611cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cd390614f0e565b60405180910390fd5b600060155483611cec9190614f2e565b905080341015611d31576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d2890614fd4565b60405180910390fd5b60005b83811015611d6057611d4d33611d48611ed3565b612d81565b8080611d5890614c11565b915050611d34565b50505050565b611d78611d71610b45565b8383612d9f565b5050565b601460009054906101000a900460ff1681565b611da0611d9a610b45565b836128fb565b611ddf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dd690614a5c565b60405180910390fd5b611deb84848484612f0c565b50505050565b60165481565b6060611e0282612674565b611e41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e3890615040565b60405180910390fd5b604051806060016040528060368152602001615ccb60369139611e6383612f68565b604051602001611e749291906150e8565b6040516020818303038152906040529050919050565b6000600d60008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b600080601a5411611f19576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1090615163565b60405180910390fd5b6000601a54600143611f2b9190615183565b4060001c611f3991906151e6565b90506000601b6000838152602001908152602001600020541415611f5d5780611f72565b601b6000828152602001908152602001600020545b6001611f7e919061487a565b91506000601b60006001601a54611f959190615183565b8152602001908152602001600020541415611fbe576001601a54611fb99190615183565b611fe1565b601b60006001601a54611fd19190615183565b8152602001908152602001600020545b601b6000838152602001908152602001600020819055506000601b60006001601a5461200d9190615183565b8152602001908152602001600020819055506001601a60008282546120329190615183565b925050819055505090565b601460019054906101000a900460ff1661208c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161208390615263565b60405180910390fd5b6000612096610ead565b9050600084116120db576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120d290614e36565b60405180910390fd5b601354841115612120576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161211790614ea2565b60405180910390fd5b601254848261212f919061487a565b1115612170576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161216790614f0e565b60405180910390fd5b60018461217c336117d9565b612186919061487a565b11156121c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121be906152cf565b60405180910390fd5b6000601654856121d79190614f2e565b90508034101561221c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161221390614fd4565b60405180910390fd5b60003360405160200161222f9190615337565b604051602081830303815290604052805190602001209050612295858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050601754836130c9565b6122d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122cb9061539e565b60405180910390fd5b6000600190505b868111612306576122f3336122ee611ed3565b612d81565b80806122fe90614c11565b9150506122db565b50505050505050565b612317610b45565b73ffffffffffffffffffffffffffffffffffffffff16612335611a0b565b73ffffffffffffffffffffffffffffffffffffffff161461238b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161238290614799565b60405180910390fd5b8060168190555050565b60125481565b6000601060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6000600c54905090565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b61248a610b45565b73ffffffffffffffffffffffffffffffffffffffff166124a8611a0b565b73ffffffffffffffffffffffffffffffffffffffff16146124fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f590614799565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561256e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161256590615430565b60405180910390fd5b61257781612cbb565b50565b600080823b905060008111915050919050565b505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061265d57507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b8061266d575061266c826130e0565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661275383611727565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600081600b54600d60008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054856127ea9190614f2e565b6127f49190615450565b6127fe9190615183565b90509392505050565b8047101561284a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612841906154cd565b60405180910390fd5b60008273ffffffffffffffffffffffffffffffffffffffff16826040516128709061551e565b60006040518083038185875af1925050503d80600081146128ad576040519150601f19603f3d011682016040523d82523d6000602084013e6128b2565b606091505b50509050806128f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ed906155a5565b60405180910390fd5b505050565b600061290682612674565b612945576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161293c90615637565b60405180910390fd5b600061295083611727565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806129bf57508373ffffffffffffffffffffffffffffffffffffffff166129a784610c5f565b73ffffffffffffffffffffffffffffffffffffffff16145b806129d057506129cf81856123ee565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129f982611727565b73ffffffffffffffffffffffffffffffffffffffff1614612a4f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a46906156c9565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612abf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ab69061575b565b60405180910390fd5b612aca83838361314a565b612ad56000826126e0565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b259190615183565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b7c919061487a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b612cb68363a9059cbb60e01b8484604051602401612c54929190613c8b565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505061325e565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b612d9b828260405180602001604052806000815250613325565b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612e0e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612e05906157c7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612eff9190613d68565b60405180910390a3505050565b612f178484846129d9565b612f2384848484613380565b612f62576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f5990615859565b60405180910390fd5b50505050565b60606000821415612fb0576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130c4565b600082905060005b60008214612fe2578080612fcb90614c11565b915050600a82612fdb9190615450565b9150612fb8565b60008167ffffffffffffffff811115612ffe57612ffd61425b565b5b6040519080825280601f01601f1916602001820160405280156130305781602001600182028036833780820191505090505b5090505b600085146130bd576001826130499190615183565b9150600a8561305891906151e6565b6030613064919061487a565b60f81b81838151811061307a57613079614be2565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130b69190615450565b9450613034565b8093505050505b919050565b6000826130d68584613517565b1490509392505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b61315583838361258d565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561319857613193816135ca565b6131d7565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131d6576131d58382613613565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561321a5761321581613780565b613259565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614613258576132578282613851565b5b5b505050565b60006132c0826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166138d09092919063ffffffff16565b905060008151111561332057808060200190518101906132e0919061588e565b61331f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016133169061592d565b60405180910390fd5b5b505050565b61332f83836138e8565b61333c6000848484613380565b61337b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161337290615859565b60405180910390fd5b505050565b60006133a18473ffffffffffffffffffffffffffffffffffffffff1661257a565b1561350a578373ffffffffffffffffffffffffffffffffffffffff1663150b7a026133ca610b45565b8786866040518563ffffffff1660e01b81526004016133ec94939291906159a2565b602060405180830381600087803b15801561340657600080fd5b505af192505050801561343757506040513d601f19601f820116820180604052508101906134349190615a03565b60015b6134ba573d8060008114613467576040519150601f19603f3d011682016040523d82523d6000602084013e61346c565b606091505b506000815114156134b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134a990615859565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061350f565b600190505b949350505050565b60008082905060005b84518110156135bf57600085828151811061353e5761353d614be2565b5b6020026020010151905080831161357f578281604051602001613562929190615a51565b6040516020818303038152906040528051906020012092506135ab565b8083604051602001613592929190615a51565b6040516020818303038152906040528051906020012092505b5080806135b790614c11565b915050613520565b508091505092915050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b60006001613620846117d9565b61362a9190615183565b905060006007600084815260200190815260200160002054905081811461370f576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506137949190615183565b90506000600960008481526020019081526020016000205490506000600883815481106137c4576137c3614be2565b5b9060005260206000200154905080600883815481106137e6576137e5614be2565b5b90600052602060002001819055508160096000838152602001908152602001600020819055506009600085815260200190815260200160002060009055600880548061383557613834615a7d565b5b6001900381819060005260206000200160009055905550505050565b600061385c836117d9565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b60606138df8484600085613ab6565b90509392505050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415613958576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394f90615af8565b60405180910390fd5b61396181612674565b156139a1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161399890615b64565b60405180910390fd5b6139ad6000838361314a565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546139fd919061487a565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b606082471015613afb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613af290615bf6565b60405180910390fd5b613b048561257a565b613b43576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b3a90615c62565b60405180910390fd5b6000808673ffffffffffffffffffffffffffffffffffffffff168587604051613b6c9190615cb3565b60006040518083038185875af1925050503d8060008114613ba9576040519150601f19603f3d011682016040523d82523d6000602084013e613bae565b606091505b5091509150613bbe828286613bca565b92505050949350505050565b60608315613bda57829050613c2a565b600083511115613bed5782518084602001fd5b816040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c219190613e37565b60405180910390fd5b9392505050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613c5c82613c31565b9050919050565b613c6c81613c51565b82525050565b6000819050919050565b613c8581613c72565b82525050565b6000604082019050613ca06000830185613c63565b613cad6020830184613c7c565b9392505050565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613cfd81613cc8565b8114613d0857600080fd5b50565b600081359050613d1a81613cf4565b92915050565b600060208284031215613d3657613d35613cbe565b5b6000613d4484828501613d0b565b91505092915050565b60008115159050919050565b613d6281613d4d565b82525050565b6000602082019050613d7d6000830184613d59565b92915050565b6000602082019050613d986000830184613c7c565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b83811015613dd8578082015181840152602081019050613dbd565b83811115613de7576000848401525b50505050565b6000601f19601f8301169050919050565b6000613e0982613d9e565b613e138185613da9565b9350613e23818560208601613dba565b613e2c81613ded565b840191505092915050565b60006020820190508181036000830152613e518184613dfe565b905092915050565b613e6281613c72565b8114613e6d57600080fd5b50565b600081359050613e7f81613e59565b92915050565b600060208284031215613e9b57613e9a613cbe565b5b6000613ea984828501613e70565b91505092915050565b6000602082019050613ec76000830184613c63565b92915050565b613ed681613c51565b8114613ee157600080fd5b50565b600081359050613ef381613ecd565b92915050565b60008060408385031215613f1057613f0f613cbe565b5b6000613f1e85828601613ee4565b9250506020613f2f85828601613e70565b9150509250929050565b600060208284031215613f4f57613f4e613cbe565b5b6000613f5d84828501613ee4565b91505092915050565b6000613f7182613c31565b9050919050565b613f8181613f66565b8114613f8c57600080fd5b50565b600081359050613f9e81613f78565b92915050565b600060208284031215613fba57613fb9613cbe565b5b6000613fc884828501613f8f565b91505092915050565b6000819050919050565b613fe481613fd1565b8114613fef57600080fd5b50565b60008135905061400181613fdb565b92915050565b60006020828403121561401d5761401c613cbe565b5b600061402b84828501613ff2565b91505092915050565b60008060006060848603121561404d5761404c613cbe565b5b600061405b86828701613ee4565b935050602061406c86828701613ee4565b925050604061407d86828701613e70565b9150509250925092565b600061409282613c51565b9050919050565b6140a281614087565b81146140ad57600080fd5b50565b6000813590506140bf81614099565b92915050565b600080604083850312156140dc576140db613cbe565b5b60006140ea858286016140b0565b92505060206140fb85828601613ee4565b9150509250929050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61413a81613c72565b82525050565b600061414c8383614131565b60208301905092915050565b6000602082019050919050565b600061417082614105565b61417a8185614110565b935061418583614121565b8060005b838110156141b657815161419d8882614140565b97506141a883614158565b925050600181019050614189565b5085935050505092915050565b600060208201905081810360008301526141dd8184614165565b905092915050565b6141ee81613d4d565b81146141f957600080fd5b50565b60008135905061420b816141e5565b92915050565b6000806040838503121561422857614227613cbe565b5b600061423685828601613ee4565b9250506020614247858286016141fc565b9150509250929050565b600080fd5b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b61429382613ded565b810181811067ffffffffffffffff821117156142b2576142b161425b565b5b80604052505050565b60006142c5613cb4565b90506142d1828261428a565b919050565b600067ffffffffffffffff8211156142f1576142f061425b565b5b6142fa82613ded565b9050602081019050919050565b82818337600083830152505050565b6000614329614324846142d6565b6142bb565b90508281526020810184848401111561434557614344614256565b5b614350848285614307565b509392505050565b600082601f83011261436d5761436c614251565b5b813561437d848260208601614316565b91505092915050565b600080600080608085870312156143a05761439f613cbe565b5b60006143ae87828801613ee4565b94505060206143bf87828801613ee4565b93505060406143d087828801613e70565b925050606085013567ffffffffffffffff8111156143f1576143f0613cc3565b5b6143fd87828801614358565b91505092959194509250565b600080fd5b600080fd5b60008083601f84011261442957614428614251565b5b8235905067ffffffffffffffff81111561444657614445614409565b5b6020830191508360208202830111156144625761446161440e565b5b9250929050565b60008060006040848603121561448257614481613cbe565b5b600061449086828701613e70565b935050602084013567ffffffffffffffff8111156144b1576144b0613cc3565b5b6144bd86828701614413565b92509250509250925092565b6000602082840312156144df576144de613cbe565b5b60006144ed848285016140b0565b91505092915050565b6000806040838503121561450d5761450c613cbe565b5b600061451b85828601613ee4565b925050602061452c85828601613ee4565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061457d57607f821691505b6020821081141561459157614590614536565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006145f3602c83613da9565b91506145fe82614597565b604082019050919050565b60006020820190508181036000830152614622816145e6565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614685602183613da9565b915061469082614629565b604082019050919050565b600060208201905081810360008301526146b481614678565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614717603883613da9565b9150614722826146bb565b604082019050919050565b600060208201905081810360008301526147468161470a565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614783602083613da9565b915061478e8261474d565b602082019050919050565b600060208201905081810360008301526147b281614776565b9050919050565b7f5061796d656e7453706c69747465723a206163636f756e7420686173206e6f2060008201527f7368617265730000000000000000000000000000000000000000000000000000602082015250565b6000614815602683613da9565b9150614820826147b9565b604082019050919050565b6000602082019050818103600083015261484481614808565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061488582613c72565b915061489083613c72565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156148c5576148c461484b565b5b828201905092915050565b7f5061796d656e7453706c69747465723a206163636f756e74206973206e6f742060008201527f647565207061796d656e74000000000000000000000000000000000000000000602082015250565b600061492c602b83613da9565b9150614937826148d0565b604082019050919050565b6000602082019050818103600083015261495b8161491f565b9050919050565b6000819050919050565b600061498761498261497d84613c31565b614962565b613c31565b9050919050565b60006149998261496c565b9050919050565b60006149ab8261498e565b9050919050565b6149bb816149a0565b82525050565b60006040820190506149d660008301856149b2565b6149e36020830184613c7c565b9392505050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614a46603183613da9565b9150614a51826149ea565b604082019050919050565b60006020820190508181036000830152614a7581614a39565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614ad8602b83613da9565b9150614ae382614a7c565b604082019050919050565b60006020820190508181036000830152614b0781614acb565b9050919050565b600081519050614b1d81613e59565b92915050565b600060208284031215614b3957614b38613cbe565b5b6000614b4784828501614b0e565b91505092915050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614bac602c83613da9565b9150614bb782614b50565b604082019050919050565b60006020820190508181036000830152614bdb81614b9f565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614c1c82613c72565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415614c4f57614c4e61484b565b5b600182019050919050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000614cb6602983613da9565b9150614cc182614c5a565b604082019050919050565b60006020820190508181036000830152614ce581614ca9565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000614d48602a83613da9565b9150614d5382614cec565b604082019050919050565b60006020820190508181036000830152614d7781614d3b565b9050919050565b7f6d696e74696e67206973206e6f74207374617274656400000000000000000000600082015250565b6000614db4601683613da9565b9150614dbf82614d7e565b602082019050919050565b60006020820190508181036000830152614de381614da7565b9050919050565b7f6d696e74206174206c65617374206f6e65206974656d00000000000000000000600082015250565b6000614e20601683613da9565b9150614e2b82614dea565b602082019050919050565b60006020820190508181036000830152614e4f81614e13565b9050919050565b7f6d6178206d696e742073697a65206973203130206974656d7300000000000000600082015250565b6000614e8c601983613da9565b9150614e9782614e56565b602082019050919050565b60006020820190508181036000830152614ebb81614e7f565b9050919050565b7f6d617820737570706c7920726561636865640000000000000000000000000000600082015250565b6000614ef8601283613da9565b9150614f0382614ec2565b602082019050919050565b60006020820190508181036000830152614f2781614eeb565b9050919050565b6000614f3982613c72565b9150614f4483613c72565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614f7d57614f7c61484b565b5b828202905092915050565b7f616d6f756e74206973206e6f7420656e6f756768000000000000000000000000600082015250565b6000614fbe601483613da9565b9150614fc982614f88565b602082019050919050565b60006020820190508181036000830152614fed81614fb1565b9050919050565b7f55524920717565727920666f72206e6f6e6578697374656e7420746f6b656e00600082015250565b600061502a601f83613da9565b915061503582614ff4565b602082019050919050565b600060208201905081810360008301526150598161501d565b9050919050565b600081905092915050565b600061507682613d9e565b6150808185615060565b9350615090818560208601613dba565b80840191505092915050565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000600082015250565b60006150d2600583615060565b91506150dd8261509c565b600582019050919050565b60006150f4828561506b565b9150615100828461506b565b915061510b826150c5565b91508190509392505050565b7f536f6c64206f7574000000000000000000000000000000000000000000000000600082015250565b600061514d600883613da9565b915061515882615117565b602082019050919050565b6000602082019050818103600083015261517c81615140565b9050919050565b600061518e82613c72565b915061519983613c72565b9250828210156151ac576151ab61484b565b5b828203905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006151f182613c72565b91506151fc83613c72565b92508261520c5761520b6151b7565b5b828206905092915050565b7f77686974656c697374206e6f7420737461727465640000000000000000000000600082015250565b600061524d601583613da9565b915061525882615217565b602082019050919050565b6000602082019050818103600083015261527c81615240565b9050919050565b7f6d61782077686974656c697374206974656d7320726561636865640000000000600082015250565b60006152b9601b83613da9565b91506152c482615283565b602082019050919050565b600060208201905081810360008301526152e8816152ac565b9050919050565b60008160601b9050919050565b6000615307826152ef565b9050919050565b6000615319826152fc565b9050919050565b61533161532c82613c51565b61530e565b82525050565b60006153438284615320565b60148201915081905092915050565b7f4d696e743a206e6f7420696e207468652077686974656c697374000000000000600082015250565b6000615388601a83613da9565b915061539382615352565b602082019050919050565b600060208201905081810360008301526153b78161537b565b9050919050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b600061541a602683613da9565b9150615425826153be565b604082019050919050565b600060208201905081810360008301526154498161540d565b9050919050565b600061545b82613c72565b915061546683613c72565b925082615476576154756151b7565b5b828204905092915050565b7f416464726573733a20696e73756666696369656e742062616c616e6365000000600082015250565b60006154b7601d83613da9565b91506154c282615481565b602082019050919050565b600060208201905081810360008301526154e6816154aa565b9050919050565b600081905092915050565b50565b60006155086000836154ed565b9150615513826154f8565b600082019050919050565b6000615529826154fb565b9150819050919050565b7f416464726573733a20756e61626c6520746f2073656e642076616c75652c207260008201527f6563697069656e74206d61792068617665207265766572746564000000000000602082015250565b600061558f603a83613da9565b915061559a82615533565b604082019050919050565b600060208201905081810360008301526155be81615582565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000615621602c83613da9565b915061562c826155c5565b604082019050919050565b6000602082019050818103600083015261565081615614565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b60006156b3602983613da9565b91506156be82615657565b604082019050919050565b600060208201905081810360008301526156e2816156a6565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615745602483613da9565b9150615750826156e9565b604082019050919050565b6000602082019050818103600083015261577481615738565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006157b1601983613da9565b91506157bc8261577b565b602082019050919050565b600060208201905081810360008301526157e0816157a4565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615843603283613da9565b915061584e826157e7565b604082019050919050565b6000602082019050818103600083015261587281615836565b9050919050565b600081519050615888816141e5565b92915050565b6000602082840312156158a4576158a3613cbe565b5b60006158b284828501615879565b91505092915050565b7f5361666545524332303a204552433230206f7065726174696f6e20646964206e60008201527f6f74207375636365656400000000000000000000000000000000000000000000602082015250565b6000615917602a83613da9565b9150615922826158bb565b604082019050919050565b600060208201905081810360008301526159468161590a565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006159748261594d565b61597e8185615958565b935061598e818560208601613dba565b61599781613ded565b840191505092915050565b60006080820190506159b76000830187613c63565b6159c46020830186613c63565b6159d16040830185613c7c565b81810360608301526159e38184615969565b905095945050505050565b6000815190506159fd81613cf4565b92915050565b600060208284031215615a1957615a18613cbe565b5b6000615a27848285016159ee565b91505092915050565b6000819050919050565b615a4b615a4682613fd1565b615a30565b82525050565b6000615a5d8285615a3a565b602082019150615a6d8284615a3a565b6020820191508190509392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000615ae2602083613da9565b9150615aed82615aac565b602082019050919050565b60006020820190508181036000830152615b1181615ad5565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615b4e601c83613da9565b9150615b5982615b18565b602082019050919050565b60006020820190508181036000830152615b7d81615b41565b9050919050565b7f416464726573733a20696e73756666696369656e742062616c616e636520666f60008201527f722063616c6c0000000000000000000000000000000000000000000000000000602082015250565b6000615be0602683613da9565b9150615beb82615b84565b604082019050919050565b60006020820190508181036000830152615c0f81615bd3565b9050919050565b7f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000600082015250565b6000615c4c601d83613da9565b9150615c5782615c16565b602082019050919050565b60006020820190508181036000830152615c7b81615c3f565b9050919050565b6000615c8d8261594d565b615c9781856154ed565b9350615ca7818560208601613dba565b80840191505092915050565b6000615cbf8284615c82565b91508190509291505056fe697066733a2f2f516d55425461645852577156665368724c6e50513552696343797771336f3963367252654d57704e5a4770464c682fa26469706673582212200851c625123ebac2c0c3017f8c155dcc46aa6d6f4967876232e74b9ca03ca17964736f6c63430008090033

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

56a51301d7677a0685f6808cadb6389296c73d4c93c14540a9cab89f91d2e38500000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000003000000000000000000000000113731ea7d593b174d2e072c6e6daca316dd4f5f000000000000000000000000ceee5f629c87edbd86a6ea0771cf02b88415a6690000000000000000000000000ace2ed5c6a66e833927cfb3a924e8b907ef87c0

-----Decoded View---------------
Arg [0] : merkleRoot (bytes32): 0x56a51301d7677a0685f6808cadb6389296c73d4c93c14540a9cab89f91d2e385
Arg [1] : team (address[]): 0x113731Ea7D593b174D2e072C6e6DAca316dd4F5F,0xCEEE5f629c87EdBd86a6ea0771cF02B88415A669,0x0AcE2Ed5C6A66E833927CFb3a924E8b907Ef87c0

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 56a51301d7677a0685f6808cadb6389296c73d4c93c14540a9cab89f91d2e385
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000040
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [3] : 000000000000000000000000113731ea7d593b174d2e072c6e6daca316dd4f5f
Arg [4] : 000000000000000000000000ceee5f629c87edbd86a6ea0771cf02b88415a669
Arg [5] : 0000000000000000000000000ace2ed5c6a66e833927cfb3a924e8b907ef87c0


Loading...
Loading
[ 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.