FTM Price: $0.5263 (+8.90%)
 

Overview

Max Total Supply

2,355 POPS

Holders

552

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:
PopSkullys

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.4;

import "@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "./ERC2981.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import '@uniswap/v2-core/contracts/interfaces/IUniswapV2Pair.sol';
import "./IWrappedFantom.sol";

/* Custom Error Section - Use with ethers.js for custom errors */
// Public Mint is Paused
error PublicMintPaused();

// Cannot mint zero NFTs
error AmountLessThanOne();

// Cannot mint more than maxMintAmount
error AmountOverMax(uint256 amtMint, uint256 maxMint);

// Token not in Auth List
error TokenNotAuthorized();

// Not enough mints left for mint amount
error NotEnoughMintsLeft(uint256 supplyLeft, uint256 amtMint);

// Not enough ftm sent to mint
error InsufficientFTM(uint256 totalCost, uint256 amtFTM);

contract PopSkullys is ERC721Enumerable, Ownable, ERC2981 {
  using Strings for uint256;

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

  address public lpPair; // = 0x2b4C76d0dc16BE1C31D4C1DC53bF9B45987Fc75c; - usdcftm pair
  IWrappedFantom wftm = IWrappedFantom(0x21be370D5312f44cB42ce377BC9b8a0cEF1A4C83);
  //Team wallets
  address[] private team = [
    0x962A2880Eb188AB4C2Cfe9874247fCC60a243d13, //30% - MacePapa - Contract Dev
    0x11584D6AaeBFdbF48Cd5A11599BF40b5bC386837, //60% - Funeral - God
    0x767b4838b22116E7b05d9DE1168A39d7494337C3  //10% - The Cult - Enigma
  ];
  mapping(address => uint) public whitelistedAddresses;

  //@audit cost too low?
  mapping(address => uint) public acceptedCurrencies;

  uint256 public immutable maxSupply; //3333
  uint256 public immutable maxMintAmount; //5

  bool public publicPaused = true;
  uint16[3333] private ids;
  uint16 private index = 0;

  constructor(
    string memory _name,
    string memory _symbol,
    string memory _initBaseURI,
    address _lpPair,
    address _royaltyAddress,
    uint _royaltiesPercentage,
    uint _maxSupply,
    uint _maxMintAmount
  ) ERC721(_name, _symbol) {
        maxSupply = _maxSupply;
        maxMintAmount = _maxMintAmount;
        lpPair = _lpPair; 
        _setReceiver(_royaltyAddress);
        setBaseURI(_initBaseURI);
        _setRoyaltyPercentage(_royaltiesPercentage);
  }

  //address oath = 0x21Ada0D2aC28C3A5Fa3cD2eE30882dA8812279B6;
  //address wftm = 0x21be370d5312f44cb42ce377bc9b8a0cef1a4c83;
  function addCurrency(address[] calldata acceptedCurrenciesInput, uint256[] calldata prices) external onlyOwner {
    require(acceptedCurrenciesInput.length == prices.length, "improper length");
    uint len = prices.length;
    for(uint i; i < len; ++i) {
        if (acceptedCurrenciesInput[i] == address(wftm)) {
            acceptedCurrencies[address(0)] = prices[i];
        }
        acceptedCurrencies[acceptedCurrenciesInput[i]] = prices[i];
    }
  }

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

  function _pickRandomUniqueId(uint256 _random) private returns (uint256 id) {
      uint256 len = ids.length - index++;
      require(len > 0, "no ids left");
      uint256 randomIndex = _random % len;
      id = ids[randomIndex] != 0 ? ids[randomIndex] : randomIndex;
      ids[randomIndex] = uint16(ids[len - 1] == 0 ? len - 1 : ids[len - 1]);
      ids[len - 1] = 0;
  }

  function mint(address token, uint amount) external payable {
    if(publicPaused)
      revert PublicMintPaused();
    //require(!publicPaused, 'Mint is currently paused');
    if(amount <= 0)
      revert AmountLessThanOne();
    //require(amount > 0, 'Cannot mint 0');
    if(amount > maxMintAmount) {
      revert AmountOverMax({
        amtMint: amount,
        maxMint: maxMintAmount
      });
    }
    //require(amount <= maxMintAmount, 'Amount to mint larger than max allowed');
    if(acceptedCurrencies[token] <= 0)
      revert TokenNotAuthorized();
    //require(acceptedCurrencies[token] > 0, "token not authorized");

    uint256 supply = totalSupply();
    if(supply + amount > maxSupply) {
      revert NotEnoughMintsLeft({
        supplyLeft: maxSupply - supply,
        amtMint: amount
      });
    }
    //require(supply + amount <= maxSupply, 'Not enough mints left');

    //Skullys holders will have a snapshot taken to determine whitelist mints
    //We will have to determine if the mint will be the one-time freebie or regular mint
    //We will also have to check the number of mints they are doing and handle it differently depending
    if(amount == 1) {
      if(whitelistedAddresses[msg.sender] == 1) {
        _mintInternal(token, amount);
        whitelistedAddresses[msg.sender] = 0;
      }
      else {
        uint amountFromSender = msg.value;
        if (token == address(0)) {
            if(amountFromSender != amount * acceptedCurrencies[address(wftm)])
              revert InsufficientFTM({
                totalCost: amount * acceptedCurrencies[address(wftm)],
                amtFTM: amountFromSender
              });
            //require(msg.value == amount * acceptedCurrencies[address(wftm)], "insufficient ftm");
            wftm.deposit{ value: amountFromSender }();
            _mintInternal(address(wftm), amount);
        } else {
            require(IERC20(token).transferFrom(msg.sender, address(this), amount * acceptedCurrencies[token]), "Payment not successful");
            _mintInternal(token, amount);
        }
      }
    }
    else if(amount > 1) {
      uint amountToMint = amount;
      if(whitelistedAddresses[msg.sender] == 1) {
        _mintInternal(token, 1);
        amountToMint--;
        whitelistedAddresses[msg.sender] = 0;
      }
      else {
        uint amountFromSender = msg.value;
        if (token == address(0)) {
            if(amountFromSender != amountToMint * acceptedCurrencies[address(wftm)])
              revert InsufficientFTM({
                totalCost: amountToMint * acceptedCurrencies[address(wftm)],
                amtFTM: amountFromSender
              });
            //require(msg.value == amount * acceptedCurrencies[address(wftm)], "insufficient ftm");
            wftm.deposit{ value: amountFromSender }();
            _mintInternal(address(wftm), amountToMint);
        } else {
            require(IERC20(token).transferFrom(msg.sender, address(this), amountToMint * acceptedCurrencies[token]), "Payment not successful");
            _mintInternal(token, amountToMint);
        }
      }
    }
  }

    function _mintInternal(address _token, uint _amount) internal {
        for (uint256 i = 1; i <= _amount; ++i) {
            _safeMint(msg.sender, _pickRandomUniqueId(_getRandom()) +1);
        }
    }

    function _getRandom() internal returns (uint) {
       (uint token0, uint token1) = _getRandomNumbers();
        return uint(keccak256(abi.encodePacked(
            token0, token1
        )));
    }

    function _getRandomNumbers() internal returns (uint, uint) {
        (uint token0, uint token1, uint timestamp) = IUniswapV2Pair(lpPair).getReserves();
        return (token0, token1);
    }

  function walletOfOwner(address _owner)
    public
    view
    returns (uint256[] memory)
  {
    uint256 ownerTokenCount = balanceOf(_owner);
    uint256[] memory tokenIds = new uint256[](ownerTokenCount);
    for (uint256 i; i < ownerTokenCount; i++) {
      tokenIds[i] = tokenOfOwnerByIndex(_owner, i);
    }
    return tokenIds;
  }

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

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

  function setWhitelist(address[] calldata _whitelistArray) public onlyOwner {
    uint len = _whitelistArray.length;
    for(uint i = 0; i < len; i++) {
      whitelistedAddresses[_whitelistArray[i]] = 1;
    }
  }

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

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

  function pausePublic(bool _state) public onlyOwner {
    publicPaused = _state;
  }

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

  function withdraw(address token) external onlyOwner {
    require(acceptedCurrencies[token] > 0, "token not authorized");
    uint amount = IERC20(token).balanceOf(address(this));
    require(amount > 0);

    IERC20(token).transfer(team[0], amount * 30 / 100);
    IERC20(token).transfer(team[1], amount * 60 / 100);
    IERC20(token).transfer(team[2], amount * 10 / 100);
  }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

File 4 of 19 : ERC2981.sol
/***
 *    ███████╗██████╗  ██████╗██████╗  █████╗  █████╗  ██╗
 *    ██╔════╝██╔══██╗██╔════╝╚════██╗██╔══██╗██╔══██╗███║
 *    █████╗  ██████╔╝██║      █████╔╝╚██████║╚█████╔╝╚██║
 *    ██╔══╝  ██╔══██╗██║     ██╔═══╝  ╚═══██║██╔══██╗ ██║
 *    ███████╗██║  ██║╚██████╗███████╗ █████╔╝╚█████╔╝ ██║
 *    ╚══════╝╚═╝  ╚═╝ ╚═════╝╚══════╝ ╚════╝  ╚════╝  ╚═╝
 * Written by MaxflowO2
 * You can follow along at https://github.com/MaxflowO2/ERC2981
 */
pragma solidity ^0.8.4;
// SPDX-License-Identifier: MIT
import "./IERC2981.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165Storage.sol";


abstract contract ERC2981 is IERC2981, ERC165Storage {

  // Bytes4 Code for EIP-2981
  bytes4 private constant _INTERFACE_ID_ERC2981 = 0x2a55205a;

  // Mappings _tokenID -> values
  address receiver;
  uint256 royaltyPercentage;

  constructor() {

    // Using ERC165Storage set EIP-2981
    _registerInterface(_INTERFACE_ID_ERC2981);

  }

  // Set to be internal function _setReceiver
  function _setReceiver(address _address) internal {
    receiver = _address;
  }

  // Set to be internal function _setRoyaltyPercentage
  function _setRoyaltyPercentage(uint256 _royaltyPercentage) internal {
    royaltyPercentage = _royaltyPercentage;
  }

  // Override for royaltyInfo(uint256, uint256)
  // uses SafeMath for uint256
  function royaltyInfo(uint256 _tokenId, uint256 _salePrice) external view override(IERC2981) returns (address Receiver, uint256 royaltyAmount) {
    Receiver = receiver;
    royaltyAmount = _salePrice / 100 * royaltyPercentage;
  }
}

File 5 of 19 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        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 6 of 19 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (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);

    /**
     * @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 7 of 19 : IUniswapV2Pair.sol
pragma solidity >=0.5.0;

interface IUniswapV2Pair {
    event Approval(address indexed owner, address indexed spender, uint value);
    event Transfer(address indexed from, address indexed to, uint value);

    function name() external pure returns (string memory);
    function symbol() external pure returns (string memory);
    function decimals() external pure returns (uint8);
    function totalSupply() external view returns (uint);
    function balanceOf(address owner) external view returns (uint);
    function allowance(address owner, address spender) external view returns (uint);

    function approve(address spender, uint value) external returns (bool);
    function transfer(address to, uint value) external returns (bool);
    function transferFrom(address from, address to, uint value) external returns (bool);

    function DOMAIN_SEPARATOR() external view returns (bytes32);
    function PERMIT_TYPEHASH() external pure returns (bytes32);
    function nonces(address owner) external view returns (uint);

    function permit(address owner, address spender, uint value, uint deadline, uint8 v, bytes32 r, bytes32 s) external;

    event Mint(address indexed sender, uint amount0, uint amount1);
    event Burn(address indexed sender, uint amount0, uint amount1, address indexed to);
    event Swap(
        address indexed sender,
        uint amount0In,
        uint amount1In,
        uint amount0Out,
        uint amount1Out,
        address indexed to
    );
    event Sync(uint112 reserve0, uint112 reserve1);

    function MINIMUM_LIQUIDITY() external pure returns (uint);
    function factory() external view returns (address);
    function token0() external view returns (address);
    function token1() external view returns (address);
    function getReserves() external view returns (uint112 reserve0, uint112 reserve1, uint32 blockTimestampLast);
    function price0CumulativeLast() external view returns (uint);
    function price1CumulativeLast() external view returns (uint);
    function kLast() external view returns (uint);

    function mint(address to) external returns (uint liquidity);
    function burn(address to) external returns (uint amount0, uint amount1);
    function swap(uint amount0Out, uint amount1Out, address to, bytes calldata data) external;
    function skim(address to) external;
    function sync() external;

    function initialize(address, address) external;
}

File 8 of 19 : IWrappedFantom.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;

interface IWrappedFantom {
    function deposit() external payable;
    function transfer(address to, uint value) external returns (bool);
    function withdraw(uint) external;
}

File 9 of 19 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

        _afterTokenTransfer(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);

        _afterTokenTransfer(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 from incorrect owner");
        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);

        _afterTokenTransfer(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 {}

    /**
     * @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.
     * - `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 tokenId
    ) internal virtual {}
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

File 13 of 19 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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 14 of 19 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 18 of 19 : IERC2981.sol
/***
 *    ███████╗██╗██████╗       ██████╗  █████╗  █████╗  ██╗
 *    ██╔════╝██║██╔══██╗      ╚════██╗██╔══██╗██╔══██╗███║
 *    █████╗  ██║██████╔╝█████╗ █████╔╝╚██████║╚█████╔╝╚██║
 *    ██╔══╝  ██║██╔═══╝ ╚════╝██╔═══╝  ╚═══██║██╔══██╗ ██║
 *    ███████╗██║██║           ███████╗ █████╔╝╚█████╔╝ ██║
 *    ╚══════╝╚═╝╚═╝           ╚══════╝ ╚════╝  ╚════╝  ╚═╝                                                        
 * Zach Burks, James Morgan, Blaine Malone, James Seibel,
 * "EIP-2981: NFT Royalty Standard,"
 * Ethereum Improvement Proposals, no. 2981, September 2020. [Online serial].
 * Available: https://eips.ethereum.org/EIPS/eip-2981.
 *
 * Minor edit on comments to mirror the rest of the interfaces
 * by @MaxFlowO2 on 29 Dec 2021 for v2.1
 */

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.4;
import "@openzeppelin/contracts/utils/introspection/IERC165.sol";

/**
 * @dev Interface for the NFT Royalty Standard
 */
interface IERC2981 is IERC165 {
    /**
     * @dev Called with the sale price to determine how much royalty is owed and to whom.
     * @param tokenId - the NFT asset queried for royalty information
     * @param salePrice - the sale price of the NFT asset specified by `tokenId`
     * @return receiver - address of who should be sent the royalty payment
     * @return royaltyAmount - the royalty payment amount for `salePrice`
     */
    function royaltyInfo(uint256 tokenId, uint256 salePrice)
        external
        view
        returns (address receiver, uint256 royaltyAmount);
}

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

pragma solidity ^0.8.0;

import "./ERC165.sol";

/**
 * @dev Storage based implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165Storage is ERC165 {
    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return super.supportsInterface(interfaceId) || _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_initBaseURI","type":"string"},{"internalType":"address","name":"_lpPair","type":"address"},{"internalType":"address","name":"_royaltyAddress","type":"address"},{"internalType":"uint256","name":"_royaltiesPercentage","type":"uint256"},{"internalType":"uint256","name":"_maxSupply","type":"uint256"},{"internalType":"uint256","name":"_maxMintAmount","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AmountLessThanOne","type":"error"},{"inputs":[{"internalType":"uint256","name":"amtMint","type":"uint256"},{"internalType":"uint256","name":"maxMint","type":"uint256"}],"name":"AmountOverMax","type":"error"},{"inputs":[{"internalType":"uint256","name":"totalCost","type":"uint256"},{"internalType":"uint256","name":"amtFTM","type":"uint256"}],"name":"InsufficientFTM","type":"error"},{"inputs":[{"internalType":"uint256","name":"supplyLeft","type":"uint256"},{"internalType":"uint256","name":"amtMint","type":"uint256"}],"name":"NotEnoughMintsLeft","type":"error"},{"inputs":[],"name":"PublicMintPaused","type":"error"},{"inputs":[],"name":"TokenNotAuthorized","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"acceptedCurrencies","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"acceptedCurrenciesInput","type":"address[]"},{"internalType":"uint256[]","name":"prices","type":"uint256[]"}],"name":"addCurrency","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseExtension","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lpPair","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bool","name":"_state","type":"bool"}],"name":"pausePublic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"publicPaused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"uint256","name":"_salePrice","type":"uint256"}],"name":"royaltyInfo","outputs":[{"internalType":"address","name":"Receiver","type":"address"},{"internalType":"uint256","name":"royaltyAmount","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":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseExtension","type":"string"}],"name":"setBaseExtension","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_newBaseURI","type":"string"}],"name":"setBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_whitelistArray","type":"address[]"}],"name":"setWhitelist","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":[],"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":"address","name":"_owner","type":"address"}],"name":"walletOfOwner","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"whitelistedAddresses","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60c06040526040518060400160405280600581526020017f2e6a736f6e000000000000000000000000000000000000000000000000000000815250600f908051906020019062000051929190620005ca565b507321be370d5312f44cb42ce377bc9b8a0cef1a4c83601160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550604051806060016040528073962a2880eb188ab4c2cfe9874247fcc60a243d1373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020017311584d6aaebfdbf48cd5a11599bf40b5bc38683773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200173767b4838b22116e7b05d9de1168a39d7494337c373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152506012906003620001949291906200065b565b506001601560006101000a81548160ff021916908315150217905550600060e760006101000a81548161ffff021916908361ffff160217905550348015620001db57600080fd5b50604051620066c4380380620066c4833981810160405281019062000201919062000946565b878781600090805190602001906200021b929190620005ca565b50806001908051906020019062000234929190620005ca565b505050620002576200024b6200030160201b60201c565b6200030960201b60201c565b6200026f632a55205a60e01b620003cf60201b60201c565b81608081815250508060a0818152505084601060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550620002d184620004a760201b60201c565b620002e286620004eb60201b60201c565b620002f3836200059660201b60201c565b505050505050505062000bc5565b600033905090565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916036200043a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620004319062000acd565b60405180910390fd5b6001600b6000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b80600c60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b620004fb6200030160201b60201c565b73ffffffffffffffffffffffffffffffffffffffff1662000521620005a060201b60201c565b73ffffffffffffffffffffffffffffffffffffffff16146200057a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620005719062000b3f565b60405180910390fd5b80600e908051906020019062000592929190620005ca565b5050565b80600d8190555050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b828054620005d89062000b90565b90600052602060002090601f016020900481019282620005fc576000855562000648565b82601f106200061757805160ff191683800117855562000648565b8280016001018555821562000648579182015b82811115620006475782518255916020019190600101906200062a565b5b509050620006579190620006ea565b5090565b828054828255906000526020600020908101928215620006d7579160200282015b82811115620006d65782518260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550916020019190600101906200067c565b5b509050620006e69190620006ea565b5090565b5b8082111562000705576000816000905550600101620006eb565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620007728262000727565b810181811067ffffffffffffffff8211171562000794576200079362000738565b5b80604052505050565b6000620007a962000709565b9050620007b7828262000767565b919050565b600067ffffffffffffffff821115620007da57620007d962000738565b5b620007e58262000727565b9050602081019050919050565b60005b8381101562000812578082015181840152602081019050620007f5565b8381111562000822576000848401525b50505050565b60006200083f6200083984620007bc565b6200079d565b9050828152602081018484840111156200085e576200085d62000722565b5b6200086b848285620007f2565b509392505050565b600082601f8301126200088b576200088a6200071d565b5b81516200089d84826020860162000828565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620008d382620008a6565b9050919050565b620008e581620008c6565b8114620008f157600080fd5b50565b6000815190506200090581620008da565b92915050565b6000819050919050565b62000920816200090b565b81146200092c57600080fd5b50565b600081519050620009408162000915565b92915050565b600080600080600080600080610100898b0312156200096a576200096962000713565b5b600089015167ffffffffffffffff8111156200098b576200098a62000718565b5b620009998b828c0162000873565b985050602089015167ffffffffffffffff811115620009bd57620009bc62000718565b5b620009cb8b828c0162000873565b975050604089015167ffffffffffffffff811115620009ef57620009ee62000718565b5b620009fd8b828c0162000873565b965050606062000a108b828c01620008f4565b955050608062000a238b828c01620008f4565b94505060a062000a368b828c016200092f565b93505060c062000a498b828c016200092f565b92505060e062000a5c8b828c016200092f565b9150509295985092959890939650565b600082825260208201905092915050565b7f4552433136353a20696e76616c696420696e7465726661636520696400000000600082015250565b600062000ab5601c8362000a6c565b915062000ac28262000a7d565b602082019050919050565b6000602082019050818103600083015262000ae88162000aa6565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b600062000b2760208362000a6c565b915062000b348262000aef565b602082019050919050565b6000602082019050818103600083015262000b5a8162000b18565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168062000ba957607f821691505b60208210810362000bbf5762000bbe62000b61565b5b50919050565b60805160a051615abd62000c0760003960008181610b0201528181610cf70152610d20015260008181610e0301528181610e3701526122fe0152615abd6000f3fe6080604052600436106102045760003560e01c806351cff8d911610118578063c6682862116100a0578063e985e9c51161006f578063e985e9c514610793578063f2e2e2aa146107d0578063f2fde38b1461080d578063f421764814610836578063f79c173f1461085f57610204565b8063c6682862146106d7578063c87b56dd14610702578063d5abeb011461073f578063da3ef23f1461076a57610204565b8063715018a6116100e7578063715018a6146106185780638da5cb5b1461062f57806395d89b411461065a578063a22cb46514610685578063b88d4fde146106ae57610204565b806351cff8d91461054c57806355f804b3146105755780636352211e1461059e57806370a08231146105db57610204565b806323b872dd1161019b57806342842e0e1161016a57806342842e0e14610455578063438b63001461047e578063452ed4f1146104bb5780634f6ccce7146104e65780635001b5e81461052357610204565b806323b872dd146103955780632a55205a146103be5780632f745c59146103fc57806340c10f191461043957610204565b8063095ea7b3116101d7578063095ea7b3146102eb5780630bb12bb81461031457806318160ddd1461033f578063239c70ae1461036a57610204565b806301ffc9a71461020957806306c933d81461024657806306fdde0314610283578063081812fc146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190613efb565b610888565b60405161023d9190613f43565b60405180910390f35b34801561025257600080fd5b5061026d60048036038101906102689190613fbc565b61089a565b60405161027a9190614002565b60405180910390f35b34801561028f57600080fd5b506102986108b2565b6040516102a591906140b6565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d09190614104565b610944565b6040516102e29190614140565b60405180910390f35b3480156102f757600080fd5b50610312600480360381019061030d919061415b565b6109c9565b005b34801561032057600080fd5b50610329610ae0565b6040516103369190613f43565b60405180910390f35b34801561034b57600080fd5b50610354610af3565b6040516103619190614002565b60405180910390f35b34801561037657600080fd5b5061037f610b00565b60405161038c9190614002565b60405180910390f35b3480156103a157600080fd5b506103bc60048036038101906103b7919061419b565b610b24565b005b3480156103ca57600080fd5b506103e560048036038101906103e091906141ee565b610b84565b6040516103f392919061422e565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e919061415b565b610bcf565b6040516104309190614002565b60405180910390f35b610453600480360381019061044e919061415b565b610c74565b005b34801561046157600080fd5b5061047c6004803603810190610477919061419b565b611648565b005b34801561048a57600080fd5b506104a560048036038101906104a09190613fbc565b611668565b6040516104b29190614315565b60405180910390f35b3480156104c757600080fd5b506104d0611716565b6040516104dd9190614140565b60405180910390f35b3480156104f257600080fd5b5061050d60048036038101906105089190614104565b61173c565b60405161051a9190614002565b60405180910390f35b34801561052f57600080fd5b5061054a600480360381019061054591906143f2565b6117ad565b005b34801561055857600080fd5b50610573600480360381019061056e9190613fbc565b6119fb565b005b34801561058157600080fd5b5061059c600480360381019061059791906145a3565b611e0a565b005b3480156105aa57600080fd5b506105c560048036038101906105c09190614104565b611ea0565b6040516105d29190614140565b60405180910390f35b3480156105e757600080fd5b5061060260048036038101906105fd9190613fbc565b611f51565b60405161060f9190614002565b60405180910390f35b34801561062457600080fd5b5061062d612008565b005b34801561063b57600080fd5b50610644612090565b6040516106519190614140565b60405180910390f35b34801561066657600080fd5b5061066f6120ba565b60405161067c91906140b6565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a79190614618565b61214c565b005b3480156106ba57600080fd5b506106d560048036038101906106d091906146f9565b612162565b005b3480156106e357600080fd5b506106ec6121c4565b6040516106f991906140b6565b60405180910390f35b34801561070e57600080fd5b5061072960048036038101906107249190614104565b612252565b60405161073691906140b6565b60405180910390f35b34801561074b57600080fd5b506107546122fc565b6040516107619190614002565b60405180910390f35b34801561077657600080fd5b50610791600480360381019061078c91906145a3565b612320565b005b34801561079f57600080fd5b506107ba60048036038101906107b5919061477c565b6123b6565b6040516107c79190613f43565b60405180910390f35b3480156107dc57600080fd5b506107f760048036038101906107f29190613fbc565b61244a565b6040516108049190614002565b60405180910390f35b34801561081957600080fd5b50610834600480360381019061082f9190613fbc565b612462565b005b34801561084257600080fd5b5061085d600480360381019061085891906147bc565b612559565b005b34801561086b57600080fd5b5061088660048036038101906108819190614809565b61266d565b005b600061089382612706565b9050919050565b60136020528060005260406000206000915090505481565b6060600080546108c190614865565b80601f01602080910402602001604051908101604052809291908181526020018280546108ed90614865565b801561093a5780601f1061090f5761010080835404028352916020019161093a565b820191906000526020600020905b81548152906001019060200180831161091d57829003601f168201915b5050505050905090565b600061094f8261277e565b61098e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098590614908565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109d482611ea0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3b9061499a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a636127ea565b73ffffffffffffffffffffffffffffffffffffffff161480610a925750610a9181610a8c6127ea565b6123b6565b5b610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac890614a2c565b60405180910390fd5b610adb83836127f2565b505050565b601560009054906101000a900460ff1681565b6000600880549050905090565b7f000000000000000000000000000000000000000000000000000000000000000081565b610b35610b2f6127ea565b826128ab565b610b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6b90614abe565b60405180910390fd5b610b7f838383612989565b505050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150600d54606484610bbc9190614b3c565b610bc69190614b6d565b90509250929050565b6000610bda83611f51565b8210610c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1290614c39565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601560009054906101000a900460ff1615610cbb576040517f9213aad100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008111610cf5576040517f5c48041e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000000811115610d7c57807f00000000000000000000000000000000000000000000000000000000000000006040517fbcd7dd81000000000000000000000000000000000000000000000000000000008152600401610d73929190614c59565b60405180910390fd5b6000601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610df5576040517fc9045d3a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610dff610af3565b90507f00000000000000000000000000000000000000000000000000000000000000008282610e2e9190614c82565b1115610e9e57807f0000000000000000000000000000000000000000000000000000000000000000610e609190614cd8565b826040517f67260a4a000000000000000000000000000000000000000000000000000000008152600401610e95929190614c59565b60405180910390fd5b60018203611267576001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403610f4157610ef78383612bef565b6000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611262565b6000349050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361114c5760146000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483610fe79190614b6d565b81146110985760146000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548361105a9190614b6d565b816040517fe943ea6400000000000000000000000000000000000000000000000000000000815260040161108f929190614c59565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561110257600080fd5b505af1158015611116573d6000803e3d6000fd5b5050505050611147601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684612bef565b611260565b8373ffffffffffffffffffffffffffffffffffffffff166323b872dd3330601460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054876111b59190614b6d565b6040518463ffffffff1660e01b81526004016111d393929190614d0c565b6020604051808303816000875af11580156111f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112169190614d58565b611255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124c90614dd1565b60405180910390fd5b61125f8484612bef565b5b505b611643565b60018211156116425760008290506001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020540361131f576112c7846001612bef565b80806112d290614df1565b9150506000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611640565b6000349050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361152a5760146000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826113c59190614b6d565b81146114765760146000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826114389190614b6d565b816040517fe943ea6400000000000000000000000000000000000000000000000000000000815260040161146d929190614c59565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156114e057600080fd5b505af11580156114f4573d6000803e3d6000fd5b5050505050611525601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612bef565b61163e565b8473ffffffffffffffffffffffffffffffffffffffff166323b872dd3330601460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054866115939190614b6d565b6040518463ffffffff1660e01b81526004016115b193929190614d0c565b6020604051808303816000875af11580156115d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f49190614d58565b611633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162a90614dd1565b60405180910390fd5b61163d8583612bef565b5b505b505b5b505050565b61166383838360405180602001604052806000815250612162565b505050565b6060600061167583611f51565b905060008167ffffffffffffffff81111561169357611692614478565b5b6040519080825280602002602001820160405280156116c15781602001602082028036833780820191505090505b50905060005b8281101561170b576116d98582610bcf565b8282815181106116ec576116eb614e1a565b5b602002602001018181525050808061170390614e49565b9150506116c7565b508092505050919050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611746610af3565b8210611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e90614f03565b60405180910390fd5b6008828154811061179b5761179a614e1a565b5b90600052602060002001549050919050565b6117b56127ea565b73ffffffffffffffffffffffffffffffffffffffff166117d3612090565b73ffffffffffffffffffffffffffffffffffffffff1614611829576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182090614f6f565b60405180910390fd5b818190508484905014611871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186890614fdb565b60405180910390fd5b600082829050905060005b818110156119f357601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168686838181106118d0576118cf614e1a565b5b90506020020160208101906118e59190613fbc565b73ffffffffffffffffffffffffffffffffffffffff160361195e5783838281811061191357611912614e1a565b5b90506020020135601460008073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b83838281811061197157611970614e1a565b5b905060200201356014600088888581811061198f5761198e614e1a565b5b90506020020160208101906119a49190613fbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806119ec90614e49565b905061187c565b505050505050565b611a036127ea565b73ffffffffffffffffffffffffffffffffffffffff16611a21612090565b73ffffffffffffffffffffffffffffffffffffffff1614611a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6e90614f6f565b60405180910390fd5b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611af9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af090615047565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611b349190614140565b602060405180830381865afa158015611b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b75919061507c565b905060008111611b8457600080fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6012600081548110611bb557611bb4614e1a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064601e85611bef9190614b6d565b611bf99190614b3c565b6040518363ffffffff1660e01b8152600401611c1692919061422e565b6020604051808303816000875af1158015611c35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c599190614d58565b508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6012600181548110611c8b57611c8a614e1a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064603c85611cc59190614b6d565b611ccf9190614b3c565b6040518363ffffffff1660e01b8152600401611cec92919061422e565b6020604051808303816000875af1158015611d0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d2f9190614d58565b508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6012600281548110611d6157611d60614e1a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600a85611d9b9190614b6d565b611da59190614b3c565b6040518363ffffffff1660e01b8152600401611dc292919061422e565b6020604051808303816000875af1158015611de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e059190614d58565b505050565b611e126127ea565b73ffffffffffffffffffffffffffffffffffffffff16611e30612090565b73ffffffffffffffffffffffffffffffffffffffff1614611e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7d90614f6f565b60405180910390fd5b80600e9080519060200190611e9c929190613dec565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3f9061511b565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb8906151ad565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6120106127ea565b73ffffffffffffffffffffffffffffffffffffffff1661202e612090565b73ffffffffffffffffffffffffffffffffffffffff1614612084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207b90614f6f565b60405180910390fd5b61208e6000612c38565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546120c990614865565b80601f01602080910402602001604051908101604052809291908181526020018280546120f590614865565b80156121425780601f1061211757610100808354040283529160200191612142565b820191906000526020600020905b81548152906001019060200180831161212557829003601f168201915b5050505050905090565b61215e6121576127ea565b8383612cfe565b5050565b61217361216d6127ea565b836128ab565b6121b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a990614abe565b60405180910390fd5b6121be84848484612e6a565b50505050565b600f80546121d190614865565b80601f01602080910402602001604051908101604052809291908181526020018280546121fd90614865565b801561224a5780601f1061221f5761010080835404028352916020019161224a565b820191906000526020600020905b81548152906001019060200180831161222d57829003601f168201915b505050505081565b606061225d8261277e565b61229c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122939061523f565b60405180910390fd5b60006122a6612ec6565b905060008151116122c657604051806020016040528060008152506122f4565b806122d084612f58565b600f6040516020016122e49392919061532f565b6040516020818303038152906040525b915050919050565b7f000000000000000000000000000000000000000000000000000000000000000081565b6123286127ea565b73ffffffffffffffffffffffffffffffffffffffff16612346612090565b73ffffffffffffffffffffffffffffffffffffffff161461239c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239390614f6f565b60405180910390fd5b80600f90805190602001906123b2929190613dec565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60146020528060005260406000206000915090505481565b61246a6127ea565b73ffffffffffffffffffffffffffffffffffffffff16612488612090565b73ffffffffffffffffffffffffffffffffffffffff16146124de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d590614f6f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361254d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612544906153d2565b60405180910390fd5b61255681612c38565b50565b6125616127ea565b73ffffffffffffffffffffffffffffffffffffffff1661257f612090565b73ffffffffffffffffffffffffffffffffffffffff16146125d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cc90614f6f565b60405180910390fd5b600082829050905060005b818110156126675760016013600086868581811061260157612600614e1a565b5b90506020020160208101906126169190613fbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061265f90614e49565b9150506125e0565b50505050565b6126756127ea565b73ffffffffffffffffffffffffffffffffffffffff16612693612090565b73ffffffffffffffffffffffffffffffffffffffff16146126e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e090614f6f565b60405180910390fd5b80601560006101000a81548160ff02191690831515021790555050565b6000612711826130b8565b806127775750600b6000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff165b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661286583611ea0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006128b68261277e565b6128f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ec90615464565b60405180910390fd5b600061290083611ea0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061296f57508373ffffffffffffffffffffffffffffffffffffffff1661295784610944565b73ffffffffffffffffffffffffffffffffffffffff16145b80612980575061297f81856123b6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129a982611ea0565b73ffffffffffffffffffffffffffffffffffffffff16146129ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f6906154f6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6590615588565b60405180910390fd5b612a79838383613132565b612a846000826127f2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ad49190614cd8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b2b9190614c82565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bea838383613244565b505050565b6000600190505b818111612c3357612c22336001612c13612c0e613249565b61328d565b612c1d9190614c82565b6134c7565b80612c2c90614e49565b9050612bf6565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d63906155f4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612e5d9190613f43565b60405180910390a3505050565b612e75848484612989565b612e81848484846134e5565b612ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb790615686565b60405180910390fd5b50505050565b6060600e8054612ed590614865565b80601f0160208091040260200160405190810160405280929190818152602001828054612f0190614865565b8015612f4e5780601f10612f2357610100808354040283529160200191612f4e565b820191906000526020600020905b815481529060010190602001808311612f3157829003601f168201915b5050505050905090565b606060008203612f9f576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130b3565b600082905060005b60008214612fd1578080612fba90614e49565b915050600a82612fca9190614b3c565b9150612fa7565b60008167ffffffffffffffff811115612fed57612fec614478565b5b6040519080825280601f01601f19166020018201604052801561301f5781602001600182028036833780820191505090505b5090505b600085146130ac576001826130389190614cd8565b9150600a8561304791906156a6565b60306130539190614c82565b60f81b81838151811061306957613068614e1a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130a59190614b3c565b9450613023565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061312b575061312a8261366c565b5b9050919050565b61313d83838361374e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361317f5761317a81613753565b6131be565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131bd576131bc838261379c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613200576131fb81613909565b61323f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461323e5761323d82826139da565b5b5b505050565b505050565b6000806000613256613a59565b91509150818160405160200161326d9291906156f8565b6040516020818303038152906040528051906020012060001c9250505090565b60008060e7600081819054906101000a900461ffff16809291906132b090615732565b91906101000a81548161ffff021916908361ffff16021790555061ffff16610d056132db9190614cd8565b905060008111613320576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613317906157a8565b60405180910390fd5b6000818461332e91906156a6565b90506000601682610d05811061334757613346614e1a565b5b601091828204019190066002029054906101000a900461ffff1661ffff160361337057806133a4565b601681610d05811061338557613384614e1a565b5b601091828204019190066002029054906101000a900461ffff1661ffff165b9250600060166001846133b79190614cd8565b610d0581106133c9576133c8614e1a565b5b601091828204019190066002029054906101000a900461ffff1661ffff16146134305760166001836133fb9190614cd8565b610d05811061340d5761340c614e1a565b5b601091828204019190066002029054906101000a900461ffff1661ffff1661343e565b60018261343d9190614cd8565b5b601682610d05811061345357613452614e1a565b5b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600060166001846134899190614cd8565b610d05811061349b5761349a614e1a565b5b601091828204019190066002026101000a81548161ffff021916908361ffff1602179055505050919050565b6134e1828260405180602001604052806000815250613b2b565b5050565b60006135068473ffffffffffffffffffffffffffffffffffffffff16613b86565b1561365f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261352f6127ea565b8786866040518563ffffffff1660e01b8152600401613551949392919061581d565b6020604051808303816000875af192505050801561358d57506040513d601f19601f8201168201806040525081019061358a919061587e565b60015b61360f573d80600081146135bd576040519150601f19603f3d011682016040523d82523d6000602084013e6135c2565b606091505b506000815103613607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135fe90615686565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613664565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061373757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613747575061374682613ba9565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137a984611f51565b6137b39190614cd8565b9050600060076000848152602001908152602001600020549050818114613898576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061391d9190614cd8565b905060006009600084815260200190815260200160002054905060006008838154811061394d5761394c614e1a565b5b90600052602060002001549050806008838154811061396f5761396e614e1a565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139be576139bd6158ab565b5b6001900381819060005260206000200160009055905550505050565b60006139e583611f51565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000806000806000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015613ace573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613af2919061595c565b63ffffffff1692506dffffffffffffffffffffffffffff1692506dffffffffffffffffffffffffffff1692508282945094505050509091565b613b358383613c13565b613b4260008484846134e5565b613b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b7890615686565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613c82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c79906159fb565b60405180910390fd5b613c8b8161277e565b15613ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cc290615a67565b60405180910390fd5b613cd760008383613132565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613d279190614c82565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613de860008383613244565b5050565b828054613df890614865565b90600052602060002090601f016020900481019282613e1a5760008555613e61565b82601f10613e3357805160ff1916838001178555613e61565b82800160010185558215613e61579182015b82811115613e60578251825591602001919060010190613e45565b5b509050613e6e9190613e72565b5090565b5b80821115613e8b576000816000905550600101613e73565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ed881613ea3565b8114613ee357600080fd5b50565b600081359050613ef581613ecf565b92915050565b600060208284031215613f1157613f10613e99565b5b6000613f1f84828501613ee6565b91505092915050565b60008115159050919050565b613f3d81613f28565b82525050565b6000602082019050613f586000830184613f34565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613f8982613f5e565b9050919050565b613f9981613f7e565b8114613fa457600080fd5b50565b600081359050613fb681613f90565b92915050565b600060208284031215613fd257613fd1613e99565b5b6000613fe084828501613fa7565b91505092915050565b6000819050919050565b613ffc81613fe9565b82525050565b60006020820190506140176000830184613ff3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561405757808201518184015260208101905061403c565b83811115614066576000848401525b50505050565b6000601f19601f8301169050919050565b60006140888261401d565b6140928185614028565b93506140a2818560208601614039565b6140ab8161406c565b840191505092915050565b600060208201905081810360008301526140d0818461407d565b905092915050565b6140e181613fe9565b81146140ec57600080fd5b50565b6000813590506140fe816140d8565b92915050565b60006020828403121561411a57614119613e99565b5b6000614128848285016140ef565b91505092915050565b61413a81613f7e565b82525050565b60006020820190506141556000830184614131565b92915050565b6000806040838503121561417257614171613e99565b5b600061418085828601613fa7565b9250506020614191858286016140ef565b9150509250929050565b6000806000606084860312156141b4576141b3613e99565b5b60006141c286828701613fa7565b93505060206141d386828701613fa7565b92505060406141e4868287016140ef565b9150509250925092565b6000806040838503121561420557614204613e99565b5b6000614213858286016140ef565b9250506020614224858286016140ef565b9150509250929050565b60006040820190506142436000830185614131565b6142506020830184613ff3565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61428c81613fe9565b82525050565b600061429e8383614283565b60208301905092915050565b6000602082019050919050565b60006142c282614257565b6142cc8185614262565b93506142d783614273565b8060005b838110156143085781516142ef8882614292565b97506142fa836142aa565b9250506001810190506142db565b5085935050505092915050565b6000602082019050818103600083015261432f81846142b7565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261435c5761435b614337565b5b8235905067ffffffffffffffff8111156143795761437861433c565b5b60208301915083602082028301111561439557614394614341565b5b9250929050565b60008083601f8401126143b2576143b1614337565b5b8235905067ffffffffffffffff8111156143cf576143ce61433c565b5b6020830191508360208202830111156143eb576143ea614341565b5b9250929050565b6000806000806040858703121561440c5761440b613e99565b5b600085013567ffffffffffffffff81111561442a57614429613e9e565b5b61443687828801614346565b9450945050602085013567ffffffffffffffff81111561445957614458613e9e565b5b6144658782880161439c565b925092505092959194509250565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144b08261406c565b810181811067ffffffffffffffff821117156144cf576144ce614478565b5b80604052505050565b60006144e2613e8f565b90506144ee82826144a7565b919050565b600067ffffffffffffffff82111561450e5761450d614478565b5b6145178261406c565b9050602081019050919050565b82818337600083830152505050565b6000614546614541846144f3565b6144d8565b90508281526020810184848401111561456257614561614473565b5b61456d848285614524565b509392505050565b600082601f83011261458a57614589614337565b5b813561459a848260208601614533565b91505092915050565b6000602082840312156145b9576145b8613e99565b5b600082013567ffffffffffffffff8111156145d7576145d6613e9e565b5b6145e384828501614575565b91505092915050565b6145f581613f28565b811461460057600080fd5b50565b600081359050614612816145ec565b92915050565b6000806040838503121561462f5761462e613e99565b5b600061463d85828601613fa7565b925050602061464e85828601614603565b9150509250929050565b600067ffffffffffffffff82111561467357614672614478565b5b61467c8261406c565b9050602081019050919050565b600061469c61469784614658565b6144d8565b9050828152602081018484840111156146b8576146b7614473565b5b6146c3848285614524565b509392505050565b600082601f8301126146e0576146df614337565b5b81356146f0848260208601614689565b91505092915050565b6000806000806080858703121561471357614712613e99565b5b600061472187828801613fa7565b945050602061473287828801613fa7565b9350506040614743878288016140ef565b925050606085013567ffffffffffffffff81111561476457614763613e9e565b5b614770878288016146cb565b91505092959194509250565b6000806040838503121561479357614792613e99565b5b60006147a185828601613fa7565b92505060206147b285828601613fa7565b9150509250929050565b600080602083850312156147d3576147d2613e99565b5b600083013567ffffffffffffffff8111156147f1576147f0613e9e565b5b6147fd85828601614346565b92509250509250929050565b60006020828403121561481f5761481e613e99565b5b600061482d84828501614603565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061487d57607f821691505b6020821081036148905761488f614836565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006148f2602c83614028565b91506148fd82614896565b604082019050919050565b60006020820190508181036000830152614921816148e5565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614984602183614028565b915061498f82614928565b604082019050919050565b600060208201905081810360008301526149b381614977565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614a16603883614028565b9150614a21826149ba565b604082019050919050565b60006020820190508181036000830152614a4581614a09565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614aa8603183614028565b9150614ab382614a4c565b604082019050919050565b60006020820190508181036000830152614ad781614a9b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b4782613fe9565b9150614b5283613fe9565b925082614b6257614b61614ade565b5b828204905092915050565b6000614b7882613fe9565b9150614b8383613fe9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bbc57614bbb614b0d565b5b828202905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614c23602b83614028565b9150614c2e82614bc7565b604082019050919050565b60006020820190508181036000830152614c5281614c16565b9050919050565b6000604082019050614c6e6000830185613ff3565b614c7b6020830184613ff3565b9392505050565b6000614c8d82613fe9565b9150614c9883613fe9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ccd57614ccc614b0d565b5b828201905092915050565b6000614ce382613fe9565b9150614cee83613fe9565b925082821015614d0157614d00614b0d565b5b828203905092915050565b6000606082019050614d216000830186614131565b614d2e6020830185614131565b614d3b6040830184613ff3565b949350505050565b600081519050614d52816145ec565b92915050565b600060208284031215614d6e57614d6d613e99565b5b6000614d7c84828501614d43565b91505092915050565b7f5061796d656e74206e6f74207375636365737366756c00000000000000000000600082015250565b6000614dbb601683614028565b9150614dc682614d85565b602082019050919050565b60006020820190508181036000830152614dea81614dae565b9050919050565b6000614dfc82613fe9565b915060008203614e0f57614e0e614b0d565b5b600182039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614e5482613fe9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614e8657614e85614b0d565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614eed602c83614028565b9150614ef882614e91565b604082019050919050565b60006020820190508181036000830152614f1c81614ee0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f59602083614028565b9150614f6482614f23565b602082019050919050565b60006020820190508181036000830152614f8881614f4c565b9050919050565b7f696d70726f706572206c656e6774680000000000000000000000000000000000600082015250565b6000614fc5600f83614028565b9150614fd082614f8f565b602082019050919050565b60006020820190508181036000830152614ff481614fb8565b9050919050565b7f746f6b656e206e6f7420617574686f72697a6564000000000000000000000000600082015250565b6000615031601483614028565b915061503c82614ffb565b602082019050919050565b6000602082019050818103600083015261506081615024565b9050919050565b600081519050615076816140d8565b92915050565b60006020828403121561509257615091613e99565b5b60006150a084828501615067565b91505092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615105602983614028565b9150615110826150a9565b604082019050919050565b60006020820190508181036000830152615134816150f8565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615197602a83614028565b91506151a28261513b565b604082019050919050565b600060208201905081810360008301526151c68161518a565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615229602f83614028565b9150615234826151cd565b604082019050919050565b600060208201905081810360008301526152588161521c565b9050919050565b600081905092915050565b60006152758261401d565b61527f818561525f565b935061528f818560208601614039565b80840191505092915050565b60008190508160005260206000209050919050565b600081546152bd81614865565b6152c7818661525f565b945060018216600081146152e257600181146152f357615326565b60ff19831686528186019350615326565b6152fc8561529b565b60005b8381101561531e578154818901526001820191506020810190506152ff565b838801955050505b50505092915050565b600061533b828661526a565b9150615347828561526a565b915061535382846152b0565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153bc602683614028565b91506153c782615360565b604082019050919050565b600060208201905081810360008301526153eb816153af565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061544e602c83614028565b9150615459826153f2565b604082019050919050565b6000602082019050818103600083015261547d81615441565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006154e0602583614028565b91506154eb82615484565b604082019050919050565b6000602082019050818103600083015261550f816154d3565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615572602483614028565b915061557d82615516565b604082019050919050565b600060208201905081810360008301526155a181615565565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006155de601983614028565b91506155e9826155a8565b602082019050919050565b6000602082019050818103600083015261560d816155d1565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615670603283614028565b915061567b82615614565b604082019050919050565b6000602082019050818103600083015261569f81615663565b9050919050565b60006156b182613fe9565b91506156bc83613fe9565b9250826156cc576156cb614ade565b5b828206905092915050565b6000819050919050565b6156f26156ed82613fe9565b6156d7565b82525050565b600061570482856156e1565b60208201915061571482846156e1565b6020820191508190509392505050565b600061ffff82169050919050565b600061573d82615724565b915061ffff820361575157615750614b0d565b5b600182019050919050565b7f6e6f20696473206c656674000000000000000000000000000000000000000000600082015250565b6000615792600b83614028565b915061579d8261575c565b602082019050919050565b600060208201905081810360008301526157c181615785565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006157ef826157c8565b6157f981856157d3565b9350615809818560208601614039565b6158128161406c565b840191505092915050565b60006080820190506158326000830187614131565b61583f6020830186614131565b61584c6040830185613ff3565b818103606083015261585e81846157e4565b905095945050505050565b60008151905061587881613ecf565b92915050565b60006020828403121561589457615893613e99565b5b60006158a284828501615869565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60006dffffffffffffffffffffffffffff82169050919050565b6158fd816158da565b811461590857600080fd5b50565b60008151905061591a816158f4565b92915050565b600063ffffffff82169050919050565b61593981615920565b811461594457600080fd5b50565b60008151905061595681615930565b92915050565b60008060006060848603121561597557615974613e99565b5b60006159838682870161590b565b93505060206159948682870161590b565b92505060406159a586828701615947565b9150509250925092565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006159e5602083614028565b91506159f0826159af565b602082019050919050565b60006020820190508181036000830152615a14816159d8565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615a51601c83614028565b9150615a5c82615a1b565b602082019050919050565b60006020820190508181036000830152615a8081615a44565b905091905056fea26469706673582212209aa4f7666fb8ff1f0040d0d33216bc8f8e11a87b6aedb5ef453cd68ef72651bb64736f6c634300080d00330000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002b4c76d0dc16be1c31d4c1dc53bf9b45987fc75c000000000000000000000000767b4838b22116e7b05d9de1168a39d7494337c300000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000d050000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000a506f70536b756c6c7973000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004504f505300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6245334e71384a4d3152625867574b376e364a7a43734d4553745a564247796337387a7351745374706a515a2f000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102045760003560e01c806351cff8d911610118578063c6682862116100a0578063e985e9c51161006f578063e985e9c514610793578063f2e2e2aa146107d0578063f2fde38b1461080d578063f421764814610836578063f79c173f1461085f57610204565b8063c6682862146106d7578063c87b56dd14610702578063d5abeb011461073f578063da3ef23f1461076a57610204565b8063715018a6116100e7578063715018a6146106185780638da5cb5b1461062f57806395d89b411461065a578063a22cb46514610685578063b88d4fde146106ae57610204565b806351cff8d91461054c57806355f804b3146105755780636352211e1461059e57806370a08231146105db57610204565b806323b872dd1161019b57806342842e0e1161016a57806342842e0e14610455578063438b63001461047e578063452ed4f1146104bb5780634f6ccce7146104e65780635001b5e81461052357610204565b806323b872dd146103955780632a55205a146103be5780632f745c59146103fc57806340c10f191461043957610204565b8063095ea7b3116101d7578063095ea7b3146102eb5780630bb12bb81461031457806318160ddd1461033f578063239c70ae1461036a57610204565b806301ffc9a71461020957806306c933d81461024657806306fdde0314610283578063081812fc146102ae575b600080fd5b34801561021557600080fd5b50610230600480360381019061022b9190613efb565b610888565b60405161023d9190613f43565b60405180910390f35b34801561025257600080fd5b5061026d60048036038101906102689190613fbc565b61089a565b60405161027a9190614002565b60405180910390f35b34801561028f57600080fd5b506102986108b2565b6040516102a591906140b6565b60405180910390f35b3480156102ba57600080fd5b506102d560048036038101906102d09190614104565b610944565b6040516102e29190614140565b60405180910390f35b3480156102f757600080fd5b50610312600480360381019061030d919061415b565b6109c9565b005b34801561032057600080fd5b50610329610ae0565b6040516103369190613f43565b60405180910390f35b34801561034b57600080fd5b50610354610af3565b6040516103619190614002565b60405180910390f35b34801561037657600080fd5b5061037f610b00565b60405161038c9190614002565b60405180910390f35b3480156103a157600080fd5b506103bc60048036038101906103b7919061419b565b610b24565b005b3480156103ca57600080fd5b506103e560048036038101906103e091906141ee565b610b84565b6040516103f392919061422e565b60405180910390f35b34801561040857600080fd5b50610423600480360381019061041e919061415b565b610bcf565b6040516104309190614002565b60405180910390f35b610453600480360381019061044e919061415b565b610c74565b005b34801561046157600080fd5b5061047c6004803603810190610477919061419b565b611648565b005b34801561048a57600080fd5b506104a560048036038101906104a09190613fbc565b611668565b6040516104b29190614315565b60405180910390f35b3480156104c757600080fd5b506104d0611716565b6040516104dd9190614140565b60405180910390f35b3480156104f257600080fd5b5061050d60048036038101906105089190614104565b61173c565b60405161051a9190614002565b60405180910390f35b34801561052f57600080fd5b5061054a600480360381019061054591906143f2565b6117ad565b005b34801561055857600080fd5b50610573600480360381019061056e9190613fbc565b6119fb565b005b34801561058157600080fd5b5061059c600480360381019061059791906145a3565b611e0a565b005b3480156105aa57600080fd5b506105c560048036038101906105c09190614104565b611ea0565b6040516105d29190614140565b60405180910390f35b3480156105e757600080fd5b5061060260048036038101906105fd9190613fbc565b611f51565b60405161060f9190614002565b60405180910390f35b34801561062457600080fd5b5061062d612008565b005b34801561063b57600080fd5b50610644612090565b6040516106519190614140565b60405180910390f35b34801561066657600080fd5b5061066f6120ba565b60405161067c91906140b6565b60405180910390f35b34801561069157600080fd5b506106ac60048036038101906106a79190614618565b61214c565b005b3480156106ba57600080fd5b506106d560048036038101906106d091906146f9565b612162565b005b3480156106e357600080fd5b506106ec6121c4565b6040516106f991906140b6565b60405180910390f35b34801561070e57600080fd5b5061072960048036038101906107249190614104565b612252565b60405161073691906140b6565b60405180910390f35b34801561074b57600080fd5b506107546122fc565b6040516107619190614002565b60405180910390f35b34801561077657600080fd5b50610791600480360381019061078c91906145a3565b612320565b005b34801561079f57600080fd5b506107ba60048036038101906107b5919061477c565b6123b6565b6040516107c79190613f43565b60405180910390f35b3480156107dc57600080fd5b506107f760048036038101906107f29190613fbc565b61244a565b6040516108049190614002565b60405180910390f35b34801561081957600080fd5b50610834600480360381019061082f9190613fbc565b612462565b005b34801561084257600080fd5b5061085d600480360381019061085891906147bc565b612559565b005b34801561086b57600080fd5b5061088660048036038101906108819190614809565b61266d565b005b600061089382612706565b9050919050565b60136020528060005260406000206000915090505481565b6060600080546108c190614865565b80601f01602080910402602001604051908101604052809291908181526020018280546108ed90614865565b801561093a5780601f1061090f5761010080835404028352916020019161093a565b820191906000526020600020905b81548152906001019060200180831161091d57829003601f168201915b5050505050905090565b600061094f8261277e565b61098e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161098590614908565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006109d482611ea0565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610a44576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a3b9061499a565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610a636127ea565b73ffffffffffffffffffffffffffffffffffffffff161480610a925750610a9181610a8c6127ea565b6123b6565b5b610ad1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ac890614a2c565b60405180910390fd5b610adb83836127f2565b505050565b601560009054906101000a900460ff1681565b6000600880549050905090565b7f000000000000000000000000000000000000000000000000000000000000000581565b610b35610b2f6127ea565b826128ab565b610b74576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b6b90614abe565b60405180910390fd5b610b7f838383612989565b505050565b600080600c60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169150600d54606484610bbc9190614b3c565b610bc69190614b6d565b90509250929050565b6000610bda83611f51565b8210610c1b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c1290614c39565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b601560009054906101000a900460ff1615610cbb576040517f9213aad100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008111610cf5576040517f5c48041e00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b7f0000000000000000000000000000000000000000000000000000000000000005811115610d7c57807f00000000000000000000000000000000000000000000000000000000000000056040517fbcd7dd81000000000000000000000000000000000000000000000000000000008152600401610d73929190614c59565b60405180910390fd5b6000601460008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411610df5576040517fc9045d3a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000610dff610af3565b90507f0000000000000000000000000000000000000000000000000000000000000d058282610e2e9190614c82565b1115610e9e57807f0000000000000000000000000000000000000000000000000000000000000d05610e609190614cd8565b826040517f67260a4a000000000000000000000000000000000000000000000000000000008152600401610e95929190614c59565b60405180910390fd5b60018203611267576001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205403610f4157610ef78383612bef565b6000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611262565b6000349050600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff160361114c5760146000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205483610fe79190614b6d565b81146110985760146000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020548361105a9190614b6d565b816040517fe943ea6400000000000000000000000000000000000000000000000000000000815260040161108f929190614c59565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b15801561110257600080fd5b505af1158015611116573d6000803e3d6000fd5b5050505050611147601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1684612bef565b611260565b8373ffffffffffffffffffffffffffffffffffffffff166323b872dd3330601460008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054876111b59190614b6d565b6040518463ffffffff1660e01b81526004016111d393929190614d0c565b6020604051808303816000875af11580156111f2573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906112169190614d58565b611255576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124c90614dd1565b60405180910390fd5b61125f8484612bef565b5b505b611643565b60018211156116425760008290506001601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020540361131f576112c7846001612bef565b80806112d290614df1565b9150506000601360003373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550611640565b6000349050600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff160361152a5760146000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826113c59190614b6d565b81146114765760146000601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054826114389190614b6d565b816040517fe943ea6400000000000000000000000000000000000000000000000000000000815260040161146d929190614c59565b60405180910390fd5b601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663d0e30db0826040518263ffffffff1660e01b81526004016000604051808303818588803b1580156114e057600080fd5b505af11580156114f4573d6000803e3d6000fd5b5050505050611525601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1683612bef565b61163e565b8473ffffffffffffffffffffffffffffffffffffffff166323b872dd3330601460008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054866115939190614b6d565b6040518463ffffffff1660e01b81526004016115b193929190614d0c565b6020604051808303816000875af11580156115d0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906115f49190614d58565b611633576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161162a90614dd1565b60405180910390fd5b61163d8583612bef565b5b505b505b5b505050565b61166383838360405180602001604052806000815250612162565b505050565b6060600061167583611f51565b905060008167ffffffffffffffff81111561169357611692614478565b5b6040519080825280602002602001820160405280156116c15781602001602082028036833780820191505090505b50905060005b8281101561170b576116d98582610bcf565b8282815181106116ec576116eb614e1a565b5b602002602001018181525050808061170390614e49565b9150506116c7565b508092505050919050565b601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b6000611746610af3565b8210611787576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161177e90614f03565b60405180910390fd5b6008828154811061179b5761179a614e1a565b5b90600052602060002001549050919050565b6117b56127ea565b73ffffffffffffffffffffffffffffffffffffffff166117d3612090565b73ffffffffffffffffffffffffffffffffffffffff1614611829576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161182090614f6f565b60405180910390fd5b818190508484905014611871576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161186890614fdb565b60405180910390fd5b600082829050905060005b818110156119f357601160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168686838181106118d0576118cf614e1a565b5b90506020020160208101906118e59190613fbc565b73ffffffffffffffffffffffffffffffffffffffff160361195e5783838281811061191357611912614e1a565b5b90506020020135601460008073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055505b83838281811061197157611970614e1a565b5b905060200201356014600088888581811061198f5761198e614e1a565b5b90506020020160208101906119a49190613fbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550806119ec90614e49565b905061187c565b505050505050565b611a036127ea565b73ffffffffffffffffffffffffffffffffffffffff16611a21612090565b73ffffffffffffffffffffffffffffffffffffffff1614611a77576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a6e90614f6f565b60405180910390fd5b6000601460008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205411611af9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611af090615047565b60405180910390fd5b60008173ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401611b349190614140565b602060405180830381865afa158015611b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b75919061507c565b905060008111611b8457600080fd5b8173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6012600081548110611bb557611bb4614e1a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064601e85611bef9190614b6d565b611bf99190614b3c565b6040518363ffffffff1660e01b8152600401611c1692919061422e565b6020604051808303816000875af1158015611c35573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611c599190614d58565b508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6012600181548110611c8b57611c8a614e1a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064603c85611cc59190614b6d565b611ccf9190614b3c565b6040518363ffffffff1660e01b8152600401611cec92919061422e565b6020604051808303816000875af1158015611d0b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611d2f9190614d58565b508173ffffffffffffffffffffffffffffffffffffffff1663a9059cbb6012600281548110611d6157611d60614e1a565b5b9060005260206000200160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff166064600a85611d9b9190614b6d565b611da59190614b3c565b6040518363ffffffff1660e01b8152600401611dc292919061422e565b6020604051808303816000875af1158015611de1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611e059190614d58565b505050565b611e126127ea565b73ffffffffffffffffffffffffffffffffffffffff16611e30612090565b73ffffffffffffffffffffffffffffffffffffffff1614611e86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e7d90614f6f565b60405180910390fd5b80600e9080519060200190611e9c929190613dec565b5050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603611f48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f3f9061511b565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603611fc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fb8906151ad565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b6120106127ea565b73ffffffffffffffffffffffffffffffffffffffff1661202e612090565b73ffffffffffffffffffffffffffffffffffffffff1614612084576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161207b90614f6f565b60405180910390fd5b61208e6000612c38565b565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6060600180546120c990614865565b80601f01602080910402602001604051908101604052809291908181526020018280546120f590614865565b80156121425780601f1061211757610100808354040283529160200191612142565b820191906000526020600020905b81548152906001019060200180831161212557829003601f168201915b5050505050905090565b61215e6121576127ea565b8383612cfe565b5050565b61217361216d6127ea565b836128ab565b6121b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016121a990614abe565b60405180910390fd5b6121be84848484612e6a565b50505050565b600f80546121d190614865565b80601f01602080910402602001604051908101604052809291908181526020018280546121fd90614865565b801561224a5780601f1061221f5761010080835404028352916020019161224a565b820191906000526020600020905b81548152906001019060200180831161222d57829003601f168201915b505050505081565b606061225d8261277e565b61229c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122939061523f565b60405180910390fd5b60006122a6612ec6565b905060008151116122c657604051806020016040528060008152506122f4565b806122d084612f58565b600f6040516020016122e49392919061532f565b6040516020818303038152906040525b915050919050565b7f0000000000000000000000000000000000000000000000000000000000000d0581565b6123286127ea565b73ffffffffffffffffffffffffffffffffffffffff16612346612090565b73ffffffffffffffffffffffffffffffffffffffff161461239c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161239390614f6f565b60405180910390fd5b80600f90805190602001906123b2929190613dec565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60146020528060005260406000206000915090505481565b61246a6127ea565b73ffffffffffffffffffffffffffffffffffffffff16612488612090565b73ffffffffffffffffffffffffffffffffffffffff16146124de576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d590614f6f565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff160361254d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612544906153d2565b60405180910390fd5b61255681612c38565b50565b6125616127ea565b73ffffffffffffffffffffffffffffffffffffffff1661257f612090565b73ffffffffffffffffffffffffffffffffffffffff16146125d5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125cc90614f6f565b60405180910390fd5b600082829050905060005b818110156126675760016013600086868581811061260157612600614e1a565b5b90506020020160208101906126169190613fbc565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550808061265f90614e49565b9150506125e0565b50505050565b6126756127ea565b73ffffffffffffffffffffffffffffffffffffffff16612693612090565b73ffffffffffffffffffffffffffffffffffffffff16146126e9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126e090614f6f565b60405180910390fd5b80601560006101000a81548160ff02191690831515021790555050565b6000612711826130b8565b806127775750600b6000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff165b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661286583611ea0565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006128b68261277e565b6128f5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128ec90615464565b60405180910390fd5b600061290083611ea0565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061296f57508373ffffffffffffffffffffffffffffffffffffffff1661295784610944565b73ffffffffffffffffffffffffffffffffffffffff16145b80612980575061297f81856123b6565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff166129a982611ea0565b73ffffffffffffffffffffffffffffffffffffffff16146129ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016129f6906154f6565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612a6e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a6590615588565b60405180910390fd5b612a79838383613132565b612a846000826127f2565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612ad49190614cd8565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612b2b9190614c82565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612bea838383613244565b505050565b6000600190505b818111612c3357612c22336001612c13612c0e613249565b61328d565b612c1d9190614c82565b6134c7565b80612c2c90614e49565b9050612bf6565b505050565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905081600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603612d6c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d63906155f4565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051612e5d9190613f43565b60405180910390a3505050565b612e75848484612989565b612e81848484846134e5565b612ec0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612eb790615686565b60405180910390fd5b50505050565b6060600e8054612ed590614865565b80601f0160208091040260200160405190810160405280929190818152602001828054612f0190614865565b8015612f4e5780601f10612f2357610100808354040283529160200191612f4e565b820191906000526020600020905b815481529060010190602001808311612f3157829003601f168201915b5050505050905090565b606060008203612f9f576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506130b3565b600082905060005b60008214612fd1578080612fba90614e49565b915050600a82612fca9190614b3c565b9150612fa7565b60008167ffffffffffffffff811115612fed57612fec614478565b5b6040519080825280601f01601f19166020018201604052801561301f5781602001600182028036833780820191505090505b5090505b600085146130ac576001826130389190614cd8565b9150600a8561304791906156a6565b60306130539190614c82565b60f81b81838151811061306957613068614e1a565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856130a59190614b3c565b9450613023565b8093505050505b919050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061312b575061312a8261366c565b5b9050919050565b61313d83838361374e565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff160361317f5761317a81613753565b6131be565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146131bd576131bc838261379c565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613200576131fb81613909565b61323f565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461323e5761323d82826139da565b5b5b505050565b505050565b6000806000613256613a59565b91509150818160405160200161326d9291906156f8565b6040516020818303038152906040528051906020012060001c9250505090565b60008060e7600081819054906101000a900461ffff16809291906132b090615732565b91906101000a81548161ffff021916908361ffff16021790555061ffff16610d056132db9190614cd8565b905060008111613320576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613317906157a8565b60405180910390fd5b6000818461332e91906156a6565b90506000601682610d05811061334757613346614e1a565b5b601091828204019190066002029054906101000a900461ffff1661ffff160361337057806133a4565b601681610d05811061338557613384614e1a565b5b601091828204019190066002029054906101000a900461ffff1661ffff165b9250600060166001846133b79190614cd8565b610d0581106133c9576133c8614e1a565b5b601091828204019190066002029054906101000a900461ffff1661ffff16146134305760166001836133fb9190614cd8565b610d05811061340d5761340c614e1a565b5b601091828204019190066002029054906101000a900461ffff1661ffff1661343e565b60018261343d9190614cd8565b5b601682610d05811061345357613452614e1a565b5b601091828204019190066002026101000a81548161ffff021916908361ffff160217905550600060166001846134899190614cd8565b610d05811061349b5761349a614e1a565b5b601091828204019190066002026101000a81548161ffff021916908361ffff1602179055505050919050565b6134e1828260405180602001604052806000815250613b2b565b5050565b60006135068473ffffffffffffffffffffffffffffffffffffffff16613b86565b1561365f578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261352f6127ea565b8786866040518563ffffffff1660e01b8152600401613551949392919061581d565b6020604051808303816000875af192505050801561358d57506040513d601f19601f8201168201806040525081019061358a919061587e565b60015b61360f573d80600081146135bd576040519150601f19603f3d011682016040523d82523d6000602084013e6135c2565b606091505b506000815103613607576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016135fe90615686565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050613664565b600190505b949350505050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061373757507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80613747575061374682613ba9565b5b9050919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016137a984611f51565b6137b39190614cd8565b9050600060076000848152602001908152602001600020549050818114613898576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b6000600160088054905061391d9190614cd8565b905060006009600084815260200190815260200160002054905060006008838154811061394d5761394c614e1a565b5b90600052602060002001549050806008838154811061396f5761396e614e1a565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806139be576139bd6158ab565b5b6001900381819060005260206000200160009055905550505050565b60006139e583611f51565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b6000806000806000601060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16630902f1ac6040518163ffffffff1660e01b8152600401606060405180830381865afa158015613ace573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190613af2919061595c565b63ffffffff1692506dffffffffffffffffffffffffffff1692506dffffffffffffffffffffffffffff1692508282945094505050509091565b613b358383613c13565b613b4260008484846134e5565b613b81576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613b7890615686565b60405180910390fd5b505050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603613c82576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613c79906159fb565b60405180910390fd5b613c8b8161277e565b15613ccb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613cc290615a67565b60405180910390fd5b613cd760008383613132565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254613d279190614c82565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4613de860008383613244565b5050565b828054613df890614865565b90600052602060002090601f016020900481019282613e1a5760008555613e61565b82601f10613e3357805160ff1916838001178555613e61565b82800160010185558215613e61579182015b82811115613e60578251825591602001919060010190613e45565b5b509050613e6e9190613e72565b5090565b5b80821115613e8b576000816000905550600101613e73565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b613ed881613ea3565b8114613ee357600080fd5b50565b600081359050613ef581613ecf565b92915050565b600060208284031215613f1157613f10613e99565b5b6000613f1f84828501613ee6565b91505092915050565b60008115159050919050565b613f3d81613f28565b82525050565b6000602082019050613f586000830184613f34565b92915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000613f8982613f5e565b9050919050565b613f9981613f7e565b8114613fa457600080fd5b50565b600081359050613fb681613f90565b92915050565b600060208284031215613fd257613fd1613e99565b5b6000613fe084828501613fa7565b91505092915050565b6000819050919050565b613ffc81613fe9565b82525050565b60006020820190506140176000830184613ff3565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561405757808201518184015260208101905061403c565b83811115614066576000848401525b50505050565b6000601f19601f8301169050919050565b60006140888261401d565b6140928185614028565b93506140a2818560208601614039565b6140ab8161406c565b840191505092915050565b600060208201905081810360008301526140d0818461407d565b905092915050565b6140e181613fe9565b81146140ec57600080fd5b50565b6000813590506140fe816140d8565b92915050565b60006020828403121561411a57614119613e99565b5b6000614128848285016140ef565b91505092915050565b61413a81613f7e565b82525050565b60006020820190506141556000830184614131565b92915050565b6000806040838503121561417257614171613e99565b5b600061418085828601613fa7565b9250506020614191858286016140ef565b9150509250929050565b6000806000606084860312156141b4576141b3613e99565b5b60006141c286828701613fa7565b93505060206141d386828701613fa7565b92505060406141e4868287016140ef565b9150509250925092565b6000806040838503121561420557614204613e99565b5b6000614213858286016140ef565b9250506020614224858286016140ef565b9150509250929050565b60006040820190506142436000830185614131565b6142506020830184613ff3565b9392505050565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b61428c81613fe9565b82525050565b600061429e8383614283565b60208301905092915050565b6000602082019050919050565b60006142c282614257565b6142cc8185614262565b93506142d783614273565b8060005b838110156143085781516142ef8882614292565b97506142fa836142aa565b9250506001810190506142db565b5085935050505092915050565b6000602082019050818103600083015261432f81846142b7565b905092915050565b600080fd5b600080fd5b600080fd5b60008083601f84011261435c5761435b614337565b5b8235905067ffffffffffffffff8111156143795761437861433c565b5b60208301915083602082028301111561439557614394614341565b5b9250929050565b60008083601f8401126143b2576143b1614337565b5b8235905067ffffffffffffffff8111156143cf576143ce61433c565b5b6020830191508360208202830111156143eb576143ea614341565b5b9250929050565b6000806000806040858703121561440c5761440b613e99565b5b600085013567ffffffffffffffff81111561442a57614429613e9e565b5b61443687828801614346565b9450945050602085013567ffffffffffffffff81111561445957614458613e9e565b5b6144658782880161439c565b925092505092959194509250565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6144b08261406c565b810181811067ffffffffffffffff821117156144cf576144ce614478565b5b80604052505050565b60006144e2613e8f565b90506144ee82826144a7565b919050565b600067ffffffffffffffff82111561450e5761450d614478565b5b6145178261406c565b9050602081019050919050565b82818337600083830152505050565b6000614546614541846144f3565b6144d8565b90508281526020810184848401111561456257614561614473565b5b61456d848285614524565b509392505050565b600082601f83011261458a57614589614337565b5b813561459a848260208601614533565b91505092915050565b6000602082840312156145b9576145b8613e99565b5b600082013567ffffffffffffffff8111156145d7576145d6613e9e565b5b6145e384828501614575565b91505092915050565b6145f581613f28565b811461460057600080fd5b50565b600081359050614612816145ec565b92915050565b6000806040838503121561462f5761462e613e99565b5b600061463d85828601613fa7565b925050602061464e85828601614603565b9150509250929050565b600067ffffffffffffffff82111561467357614672614478565b5b61467c8261406c565b9050602081019050919050565b600061469c61469784614658565b6144d8565b9050828152602081018484840111156146b8576146b7614473565b5b6146c3848285614524565b509392505050565b600082601f8301126146e0576146df614337565b5b81356146f0848260208601614689565b91505092915050565b6000806000806080858703121561471357614712613e99565b5b600061472187828801613fa7565b945050602061473287828801613fa7565b9350506040614743878288016140ef565b925050606085013567ffffffffffffffff81111561476457614763613e9e565b5b614770878288016146cb565b91505092959194509250565b6000806040838503121561479357614792613e99565b5b60006147a185828601613fa7565b92505060206147b285828601613fa7565b9150509250929050565b600080602083850312156147d3576147d2613e99565b5b600083013567ffffffffffffffff8111156147f1576147f0613e9e565b5b6147fd85828601614346565b92509250509250929050565b60006020828403121561481f5761481e613e99565b5b600061482d84828501614603565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b6000600282049050600182168061487d57607f821691505b6020821081036148905761488f614836565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b60006148f2602c83614028565b91506148fd82614896565b604082019050919050565b60006020820190508181036000830152614921816148e5565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b6000614984602183614028565b915061498f82614928565b604082019050919050565b600060208201905081810360008301526149b381614977565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b6000614a16603883614028565b9150614a21826149ba565b604082019050919050565b60006020820190508181036000830152614a4581614a09565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b6000614aa8603183614028565b9150614ab382614a4c565b604082019050919050565b60006020820190508181036000830152614ad781614a9b565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000614b4782613fe9565b9150614b5283613fe9565b925082614b6257614b61614ade565b5b828204905092915050565b6000614b7882613fe9565b9150614b8383613fe9565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615614bbc57614bbb614b0d565b5b828202905092915050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b6000614c23602b83614028565b9150614c2e82614bc7565b604082019050919050565b60006020820190508181036000830152614c5281614c16565b9050919050565b6000604082019050614c6e6000830185613ff3565b614c7b6020830184613ff3565b9392505050565b6000614c8d82613fe9565b9150614c9883613fe9565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115614ccd57614ccc614b0d565b5b828201905092915050565b6000614ce382613fe9565b9150614cee83613fe9565b925082821015614d0157614d00614b0d565b5b828203905092915050565b6000606082019050614d216000830186614131565b614d2e6020830185614131565b614d3b6040830184613ff3565b949350505050565b600081519050614d52816145ec565b92915050565b600060208284031215614d6e57614d6d613e99565b5b6000614d7c84828501614d43565b91505092915050565b7f5061796d656e74206e6f74207375636365737366756c00000000000000000000600082015250565b6000614dbb601683614028565b9150614dc682614d85565b602082019050919050565b60006020820190508181036000830152614dea81614dae565b9050919050565b6000614dfc82613fe9565b915060008203614e0f57614e0e614b0d565b5b600182039050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6000614e5482613fe9565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203614e8657614e85614b0d565b5b600182019050919050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000614eed602c83614028565b9150614ef882614e91565b604082019050919050565b60006020820190508181036000830152614f1c81614ee0565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000614f59602083614028565b9150614f6482614f23565b602082019050919050565b60006020820190508181036000830152614f8881614f4c565b9050919050565b7f696d70726f706572206c656e6774680000000000000000000000000000000000600082015250565b6000614fc5600f83614028565b9150614fd082614f8f565b602082019050919050565b60006020820190508181036000830152614ff481614fb8565b9050919050565b7f746f6b656e206e6f7420617574686f72697a6564000000000000000000000000600082015250565b6000615031601483614028565b915061503c82614ffb565b602082019050919050565b6000602082019050818103600083015261506081615024565b9050919050565b600081519050615076816140d8565b92915050565b60006020828403121561509257615091613e99565b5b60006150a084828501615067565b91505092915050565b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b6000615105602983614028565b9150615110826150a9565b604082019050919050565b60006020820190508181036000830152615134816150f8565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b6000615197602a83614028565b91506151a28261513b565b604082019050919050565b600060208201905081810360008301526151c68161518a565b9050919050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b6000615229602f83614028565b9150615234826151cd565b604082019050919050565b600060208201905081810360008301526152588161521c565b9050919050565b600081905092915050565b60006152758261401d565b61527f818561525f565b935061528f818560208601614039565b80840191505092915050565b60008190508160005260206000209050919050565b600081546152bd81614865565b6152c7818661525f565b945060018216600081146152e257600181146152f357615326565b60ff19831686528186019350615326565b6152fc8561529b565b60005b8381101561531e578154818901526001820191506020810190506152ff565b838801955050505b50505092915050565b600061533b828661526a565b9150615347828561526a565b915061535382846152b0565b9150819050949350505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b60006153bc602683614028565b91506153c782615360565b604082019050919050565b600060208201905081810360008301526153eb816153af565b9050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b600061544e602c83614028565b9150615459826153f2565b604082019050919050565b6000602082019050818103600083015261547d81615441565b9050919050565b7f4552433732313a207472616e736665722066726f6d20696e636f72726563742060008201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b60006154e0602583614028565b91506154eb82615484565b604082019050919050565b6000602082019050818103600083015261550f816154d3565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000615572602483614028565b915061557d82615516565b604082019050919050565b600060208201905081810360008301526155a181615565565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b60006155de601983614028565b91506155e9826155a8565b602082019050919050565b6000602082019050818103600083015261560d816155d1565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000615670603283614028565b915061567b82615614565b604082019050919050565b6000602082019050818103600083015261569f81615663565b9050919050565b60006156b182613fe9565b91506156bc83613fe9565b9250826156cc576156cb614ade565b5b828206905092915050565b6000819050919050565b6156f26156ed82613fe9565b6156d7565b82525050565b600061570482856156e1565b60208201915061571482846156e1565b6020820191508190509392505050565b600061ffff82169050919050565b600061573d82615724565b915061ffff820361575157615750614b0d565b5b600182019050919050565b7f6e6f20696473206c656674000000000000000000000000000000000000000000600082015250565b6000615792600b83614028565b915061579d8261575c565b602082019050919050565b600060208201905081810360008301526157c181615785565b9050919050565b600081519050919050565b600082825260208201905092915050565b60006157ef826157c8565b6157f981856157d3565b9350615809818560208601614039565b6158128161406c565b840191505092915050565b60006080820190506158326000830187614131565b61583f6020830186614131565b61584c6040830185613ff3565b818103606083015261585e81846157e4565b905095945050505050565b60008151905061587881613ecf565b92915050565b60006020828403121561589457615893613e99565b5b60006158a284828501615869565b91505092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b60006dffffffffffffffffffffffffffff82169050919050565b6158fd816158da565b811461590857600080fd5b50565b60008151905061591a816158f4565b92915050565b600063ffffffff82169050919050565b61593981615920565b811461594457600080fd5b50565b60008151905061595681615930565b92915050565b60008060006060848603121561597557615974613e99565b5b60006159838682870161590b565b93505060206159948682870161590b565b92505060406159a586828701615947565b9150509250925092565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b60006159e5602083614028565b91506159f0826159af565b602082019050919050565b60006020820190508181036000830152615a14816159d8565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000615a51601c83614028565b9150615a5c82615a1b565b602082019050919050565b60006020820190508181036000830152615a8081615a44565b905091905056fea26469706673582212209aa4f7666fb8ff1f0040d0d33216bc8f8e11a87b6aedb5ef453cd68ef72651bb64736f6c634300080d0033

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

0000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000000000000000000014000000000000000000000000000000000000000000000000000000000000001800000000000000000000000002b4c76d0dc16be1c31d4c1dc53bf9b45987fc75c000000000000000000000000767b4838b22116e7b05d9de1168a39d7494337c300000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000d050000000000000000000000000000000000000000000000000000000000000005000000000000000000000000000000000000000000000000000000000000000a506f70536b756c6c7973000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004504f505300000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000005168747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066732f516d6245334e71384a4d3152625867574b376e364a7a43734d4553745a564247796337387a7351745374706a515a2f000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): PopSkullys
Arg [1] : _symbol (string): POPS
Arg [2] : _initBaseURI (string): https://gateway.pinata.cloud/ipfs/QmbE3Nq8JM1RbXgWK7n6JzCsMEStZVBGyc78zsQtStpjQZ/
Arg [3] : _lpPair (address): 0x2b4C76d0dc16BE1C31D4C1DC53bF9B45987Fc75c
Arg [4] : _royaltyAddress (address): 0x767b4838b22116E7b05d9DE1168A39d7494337C3
Arg [5] : _royaltiesPercentage (uint256): 5
Arg [6] : _maxSupply (uint256): 3333
Arg [7] : _maxMintAmount (uint256): 5

-----Encoded View---------------
16 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000100
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000140
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000180
Arg [3] : 0000000000000000000000002b4c76d0dc16be1c31d4c1dc53bf9b45987fc75c
Arg [4] : 000000000000000000000000767b4838b22116e7b05d9de1168a39d7494337c3
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000d05
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [8] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [9] : 506f70536b756c6c797300000000000000000000000000000000000000000000
Arg [10] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [11] : 504f505300000000000000000000000000000000000000000000000000000000
Arg [12] : 0000000000000000000000000000000000000000000000000000000000000051
Arg [13] : 68747470733a2f2f676174657761792e70696e6174612e636c6f75642f697066
Arg [14] : 732f516d6245334e71384a4d3152625867574b376e364a7a43734d4553745a56
Arg [15] : 4247796337387a7351745374706a515a2f000000000000000000000000000000


Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.