ETH Price: $3,624.35 (+9.08%)

Token

fair-ins20 (FAIR)
 

Overview

Max Total Supply

221,974.5 FAIR

Holders

4,028

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
0.5 FAIR
0xb946e3d8a888cdfcada839e3d92270ae28defa7d
Loading...
Loading
Loading...
Loading
Loading...
Loading

Click here to update the token information / general information
# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
INS20

Compiler Version
v0.8.22+commit.4fc1097e

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 13 : Inscription.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/utils/math/Math.sol";
import "./Strings.sol";
import "./IERC20.sol";
import "./ERC721.sol";
import "./Base64.sol";

struct Tick {
  string op;
  uint256 amt;
}

contract INS20 is IERC20, ERC721 {
  uint64 public maxSupply; // 21,000,000
  uint64 public initialBlockNum;
  uint64 public amtDifficulty; // initial 10
  uint64 public blockDifficulty; // initial 1000
  uint64 public totalSupplyDifficulty; // initial 10,0000

  uint64 public lastBlock;
  uint64 public mintedPer; // 100 per block
  uint64 public perTxLimitAmount;
  uint64 public perWalletLimitAmount;

  // bytes32 public immutable hashPre;
  // bytes32 public immutable hash;

  bool public nft2ft;
  // number of tickets minted
  uint128 private tickNumber;
  uint128 internal _totalSupply;
  
  uint256 internal totalVotesAmount;

  address public proxy;

  // -------- IERC20 --------
  mapping(address => uint256) internal _balances;       // erc20 amount
  mapping(address => uint256) internal _insBalances;    // nft amount
  mapping(address => mapping(address => uint256)) private _allowances;
  mapping(uint256 => bool) internal _voted;
  string private _tick;

  // for svg
  mapping(uint256 => Tick) internal _tickets;

  constructor(
    string memory tick,
    uint64 maxSupply_,
    uint64 perWalletLimitAmount_,
    uint64 perTxLimitAmount_,
    address proxy_,
    uint64 initialBlockNum_,
    uint64 amtDifficulty_,
    uint64 blockDifficulty_,
    uint64 totalSupplyDifficulty_
  ) ERC721("fair-ins20", tick) {
    _tick = tick;
    
    maxSupply = maxSupply_;
    perWalletLimitAmount = perWalletLimitAmount_;
    perTxLimitAmount = perTxLimitAmount_;
    proxy = proxy_;
    initialBlockNum = initialBlockNum_;
    amtDifficulty = amtDifficulty_;
    blockDifficulty = blockDifficulty_;
    totalSupplyDifficulty = totalSupplyDifficulty_;
  }

  event Inscribe(address indexed from, address indexed to, string data);

  /// @dev Inscribe your first EVM Inscriptions
  /// @dev Use Flashbots for your txes https://docs.flashbots.net/flashbots-protect/quick-start#adding-flashbots-protect-rpc-manually
  function inscribe(uint256 amount) public {
    require(amount > 0, "Amount must be greater than zero");
    require(amount <= perTxLimitAmount, "Exceeded per tx limit");
    require(
      _balances[msg.sender] + amount <= perWalletLimitAmount,
      "Exceeded per wallet limit"
    );

    require(_totalSupply + amount <= maxSupply, "Exceeded max supply");
    
    require(tx.origin == msg.sender, "Contracts are not allowed");

    require(mintingAlgo(uint64(block.number), amount), "Minting algo failed");

    if (block.number > lastBlock) {
      lastBlock = uint64(block.number);
      mintedPer = 0;
    } else {
      require(
        mintedPer < 100,
        "Only 100 ticks per block. Using Flashbots can prevent failed txes."
      );
      unchecked {
        mintedPer++;
      }
    }

    string memory data = string.concat(
        '{"p":"ins-20","op":"mint","tick":"',
        _tick,
        '","amt":"',
        Strings.toString(amount),
        '"}'
      );

    _mint(msg.sender, tickNumber, amount);

    emit Inscribe(
      address(0),
      msg.sender,
      string(string.concat("data:text/plain;charset=utf-8", data))
    );
  }

  function mintingAlgo(uint64 currentBlockNum, uint256 amount) public view returns (bool) {
    uint256 random = uint256(keccak256(abi.encodePacked(currentBlockNum, amount, msg.sender, _totalSupply + 1)));

    uint256 decreasingFactor = currentBlockNum > initialBlockNum ? currentBlockNum - initialBlockNum : 1;
    // amtDifficulty = 10
    // blockDifficulty = 1000
    // totalSupplyDifficulty = 100000
    uint256 difficulty = 
      Math.sqrt(amount / amtDifficulty + 1) + 
      Math.sqrt(decreasingFactor / blockDifficulty) + 
      Math.sqrt(_totalSupply / totalSupplyDifficulty);

    return random % difficulty == 0;
  }

  function voteForFT(uint256[] calldata tokenIds) public {
    require(!nft2ft, "Has done");
    for (uint256 i = 0; i < tokenIds.length; i++) {
      require(_owners[tokenIds[i]] == msg.sender, "Not owner");
      require(!_voted[tokenIds[i]], "Has voted");
      _voted[tokenIds[i]] = true;
      totalVotesAmount += _tickets[tokenIds[i]].amt;
    }

    if (totalVotesAmount > maxSupply / 2) {
      nft2ft = true;
    }
  }

  function _mint(address to, uint256 tokenId, uint256 amount) internal {
    _beforeTokenTransfer(address(0), to, tokenId);

    unchecked {
      _totalSupply += uint128(amount);
      _balances[to] += amount;
      _insBalances[msg.sender]++;
    }
    _owners[tokenId] = to;
    _tickets[tokenId] = Tick("mint", amount);

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

    _afterTokenTransfer(address(0), to, tokenId);
  }

  // -------- IERC20 --------

  function symbol() public view virtual override returns (string memory) {
    return _tick;
  }

  function decimals() public view virtual returns (uint8) {
    return 1;
  }

  function totalSupply() public view override returns (uint256) {
    return _totalSupply;
  }

  function balanceOf(
    address owner
  ) public view override(ERC721, IERC20) returns (uint256) {
    require(owner != address(0), "ERC20: address zero is not a valid owner");
    return nft2ft ? _balances[owner] : _insBalances[owner];
  }

  function allowance(
    address owner,
    address spender
  ) public view override returns (uint256) {
    return _allowances[owner][spender];
  }

  function approve(
    address spender,
    uint256 amountOrTokenID
  ) public override(ERC721, IERC20) {
    if (!nft2ft) {
      ERC721.approve(spender, amountOrTokenID);
    } else {
      address owner = msg.sender;
      _approve(owner, spender, amountOrTokenID);
    }
  }

  function setApprovalForAll(
    address operator,
    bool approved
  ) public override {
    if (!nft2ft) {
      ERC721.setApprovalForAll(operator,approved);
    }
  }

  // only for FT
  function transfer(
    address to,
    uint256 amount
  ) external override returns (bool) {
    if (nft2ft) {
      require(to != address(0), "ERC20: transfer to the zero address");
      _transfer20(msg.sender, to, amount);
    }
    return nft2ft;
  }

  function transferFrom(
    address from,
    address to,
    uint256 tokenIdOrAmount
  ) public override(ERC721, IERC20) returns (bool) {
    require(from != address(0), "INS20: transfer from the zero address");
    require(to != address(0), "INS20: transfer to the zero address");

    if (!nft2ft) {
      require(
        _isApprovedOrOwner(_msgSender(), tokenIdOrAmount),
        "ERC721: caller is not token owner nor approved"
      );
      _transfer721(from, to, tokenIdOrAmount);
    } else {
      _spendAllowance(from, msg.sender, tokenIdOrAmount);
      _transfer20(from, to, tokenIdOrAmount);
    }

    return true;
  }

  function _spendAllowance(
    address owner,
    address spender,
    uint256 amount
  ) internal virtual {
    uint256 currentAllowance = allowance(owner, spender);
    if (currentAllowance != type(uint256).max) {
      require(currentAllowance >= amount, "ERC20: insufficient allowance");
      unchecked {
        _approve(owner, spender, currentAllowance - amount);
      }
    }
  }

  function _approve(
    address owner,
    address spender,
    uint256 amount
  ) internal virtual {
    require(owner != address(0), "ERC20: approve from the zero address");
    require(spender != address(0), "ERC20: approve to the zero address");

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

  function _transfer20(address from, address to, uint256 amount) internal {
    _beforeTokenTransfer(from, to, amount);
    // transfer like erc20
    uint256 fromBalance = _balances[from];
    require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
    unchecked {
      _balances[from] = fromBalance - amount;
    }
    _balances[to] += amount;

    string memory t = string.concat(
        '{"p":"ins-20","op":"transfer","tick":"FAIR","amt":"',
        Strings.toString(amount),
        '"}'
      );
    emit Inscribe(
      from,
      to,
      string(string.concat("data:text/plain;charset=utf-8", t))
    );
    _afterTokenTransfer(from, to, amount);
    if (nft2ft) emit Transfer(from, to, amount);
  }

  // -------- IERC721 --------

  // just for erc721 transfer
  function _transfer721(address from, address to, uint256 tokenId) internal {
    // transfer like erc721
    ERC721._transfer(from, to, tokenId);

    // transfer like erc20
    _transfer20(from, to, _tickets[tokenId].amt);
    _insBalances[from] -= 1;
    _insBalances[to] += 1;

    emit Transfer(from, to, tokenId);

    ERC721._approve(address(0), tokenId);
  }

  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId
  ) public override {
    require(
      !nft2ft,
      "Not support ERC721 any more."
    );
    safeTransferFrom(from, to, tokenId, "");
  }

  function safeTransferFrom(
    address from,
    address to,
    uint256 tokenId,
    bytes memory data
  ) public override {
    require(
      !nft2ft,
      "Not support ERC721 any more."
    );
    require(
      _isApprovedOrOwner(_msgSender(), tokenId),
      "ERC721: caller is not token owner nor approved"
    );
    _transfer721(from, to, tokenId);
    require(
      _checkOnERC721Received(from, to, tokenId, data),
      "ERC721: transfer to non ERC721Receiver implementer"
    );
  }

  function toFT() public {
    require(!nft2ft && proxy == msg.sender, "Has done");
    nft2ft = true;
  }

  function setInitBlockNum(uint64 initialBlockNum_) public {
    require(proxy == msg.sender, "Sender is not proxy");
    initialBlockNum = initialBlockNum_;
  }

  function setDifficulty(uint64 amtDifficulty_, uint64 blockDifficulty_, uint64 totalSupplyDifficulty_) public {
    require(proxy == msg.sender, "Sender is not proxy");
    amtDifficulty = amtDifficulty_;
    blockDifficulty = blockDifficulty_;
    totalSupplyDifficulty = totalSupplyDifficulty_;
  }

  function setProxy(address proxy_) public {
    require(proxy == msg.sender, "Sender is not proxy");
    proxy = proxy_;
  }

  function totalVotedAmount() public view returns (uint256) {
    return totalVotesAmount;
  }

  // metadata
  function tokenURI(
    uint256 tokenID
  ) public view virtual override returns (string memory) {
    require(
      !nft2ft,
      "Not support ERC721 any more."
    );
    string memory output = '<svg xmlns="http://www.w3.org/2000/svg" preserveAspectRatio="xMinYMin meet" viewBox="0 0 350 350"> <style>.base { fill: green; font-family: serif; font-size: 14px; }</style><rect width="100%" height="100%" fill="black" /><text x="100" y="100" class="base">{</text><text x="130" y="130" class="base">"p":"ins-20",</text><text x="130" y="160" class="base">"op":"';

    bytes memory data;


    data = abi.encodePacked(
      output,
      bytes(_tickets[tokenID].op),
      '",</text><text x="130" y="190" class="base">"tick":"fair",</text><text x="130" y="220" class="base">"amt":'
    );
    data = abi.encodePacked(
      data,
      bytes(Strings.toString(_tickets[tokenID].amt)),
      '</text><text x="100" y="250" class="base">}</text></svg>'
    );

    string memory json = Base64.encode(
      bytes(
        string(
          abi.encodePacked(
            '{"description": "FAIR-INS20 is a social experiment and a fair distribution of INS20.", "image": "data:image/svg+xml;base64,',
            Base64.encode(data),
            '"}'
          )
        )
      )
    );
    output = string(abi.encodePacked("data:application/json;base64,", json));
    return output;
  }

  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 amount
  ) internal override(ERC721) {
    if (from == address(0)) {
      tickNumber++;
    }
  }

  function _afterTokenTransfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual override(ERC721) {}

}

File 2 of 13 : Base64.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

/// [MIT License]
/// @title Base64
/// @notice Provides a function for encoding some bytes in base64
/// @author Brecht Devos <[email protected]>
library Base64 {
    bytes internal constant TABLE = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/";

    /// @notice Encodes some bytes to the base64 representation
    function encode(bytes memory data) internal pure returns (string memory) {
        uint256 len = data.length;
        if (len == 0) return "";

        // multiply by 4/3 rounded up
        uint256 encodedLen = 4 * ((len + 2) / 3);

        // Add some extra buffer at the end
        bytes memory result = new bytes(encodedLen + 32);

        bytes memory table = TABLE;

        assembly {
            let tablePtr := add(table, 1)
            let resultPtr := add(result, 32)

            for {
                let i := 0
            } lt(i, len) {

            } {
                i := add(i, 3)
                let input := and(mload(add(data, i)), 0xffffff)

                let out := mload(add(tablePtr, and(shr(18, input), 0x3F)))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(12, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(shr(6, input), 0x3F))), 0xFF))
                out := shl(8, out)
                out := add(out, and(mload(add(tablePtr, and(input, 0x3F))), 0xFF))
                out := shl(224, out)

                mstore(resultPtr, out)

                resultPtr := add(resultPtr, 4)
            }

            switch mod(len, 3)
            case 1 {
                mstore(sub(resultPtr, 2), shl(240, 0x3d3d))
            }
            case 2 {
                mstore(sub(resultPtr, 1), shl(248, 0x3d))
            }

            mstore(result, encodedLen)
        }

        return string(result);
    }
}

File 3 of 13 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol";
import "@openzeppelin/contracts/utils/Context.sol";
import "@openzeppelin/contracts/utils/introspection/ERC165.sol";
import "./Address.sol";
import "./Strings.sol";
import "./IERC721Metadata.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, IERC721Metadata {
  using Strings for uint256;
  using Address for address;

  // Token name
  string private _name;

  // Token symbol
  string private _symbol;

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

  // 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 {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 {IERC165-supportsInterface}.
   */
  function supportsInterface(
    bytes4 interfaceId
  ) public view virtual override(ERC165, IERC165) returns (bool) {
    return
      interfaceId == type(IERC721).interfaceId ||
      super.supportsInterface(interfaceId);
  }

  /**
   * @dev See {IERC721-balanceOf}.
   */
  function balanceOf(
    address owner
  ) public view virtual override returns (uint256) {}

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

  /**
   * @dev See {IERC721Metadata-tokenURI}.
   */
  function tokenURI(
    uint256 tokenId
  ) public view virtual override returns (string memory) {}

  /**
   * @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 overridden 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 token owner nor approved for all"
    );

    _approve(to, tokenId);
  }

  /**
   * @dev See {IERC721-getApproved}.
   */
  function getApproved(
    uint256 tokenId
  ) public view virtual override returns (address) {
    _requireMinted(tokenId);

    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 returns (bool) {
    return true;
  }

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

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

  /**
   * @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) {
    address owner = ERC721.ownerOf(tokenId);
    return (spender == owner ||
      isApprovedForAll(owner, spender) ||
      getApproved(tokenId) == spender);
  }

  /**
   * @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 {}

  function _transfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual {
    require(
      ERC721.ownerOf(tokenId) == from,
      "ERC721: transfer from incorrect owner"
    );

    _owners[tokenId] = to;
  }

  /**
   * @dev Approve `to` to operate on `tokenId`
   *
   * Emits an {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 an {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 Reverts if the `tokenId` has not been minted yet.
   */
  function _requireMinted(uint256 tokenId) internal view virtual {
    require(_exists(tokenId), "ERC721: invalid token ID");
  }

  function _checkOnERC721Received(
    address from,
    address to,
    uint256 tokenId,
    bytes memory data
  ) internal 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 {
          /// @solidity memory-safe-assembly
          assembly {
            revert(add(32, reason), mload(reason))
          }
        }
      }
    } else {
      return true;
    }
  }

  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual {}

  function _afterTokenTransfer(
    address from,
    address to,
    uint256 tokenId
  ) internal virtual {}
}

File 4 of 13 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/INS20/ERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the INS20 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;

  /**
   * @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);
}

File 5 of 13 : Strings.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (utils/Strings.sol)

pragma solidity ^0.8.0;

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

    /**
     * @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);
    }

    /**
     * @dev Converts an `address` with fixed length of 20 bytes to its not checksummed ASCII `string` hexadecimal representation.
     */
    function toHexString(address addr) internal pure returns (string memory) {
        return toHexString(uint256(uint160(addr)), _ADDRESS_LENGTH);
    }
}

File 6 of 13 : Math.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/math/Math.sol)

pragma solidity ^0.8.0;

/**
 * @dev Standard math utilities missing in the Solidity language.
 */
library Math {
    enum Rounding {
        Down, // Toward negative infinity
        Up, // Toward infinity
        Zero // Toward zero
    }

    /**
     * @dev Returns the largest of two numbers.
     */
    function max(uint256 a, uint256 b) internal pure returns (uint256) {
        return a > b ? a : b;
    }

    /**
     * @dev Returns the smallest of two numbers.
     */
    function min(uint256 a, uint256 b) internal pure returns (uint256) {
        return a < b ? a : b;
    }

    /**
     * @dev Returns the average of two numbers. The result is rounded towards
     * zero.
     */
    function average(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b) / 2 can overflow.
        return (a & b) + (a ^ b) / 2;
    }

    /**
     * @dev Returns the ceiling of the division of two numbers.
     *
     * This differs from standard division with `/` in that it rounds up instead
     * of rounding down.
     */
    function ceilDiv(uint256 a, uint256 b) internal pure returns (uint256) {
        // (a + b - 1) / b can overflow on addition, so we distribute.
        return a == 0 ? 0 : (a - 1) / b + 1;
    }

    /**
     * @notice Calculates floor(x * y / denominator) with full precision. Throws if result overflows a uint256 or denominator == 0
     * @dev Original credit to Remco Bloemen under MIT license (https://xn--2-umb.com/21/muldiv)
     * with further edits by Uniswap Labs also under MIT license.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator
    ) internal pure returns (uint256 result) {
        unchecked {
            // 512-bit multiply [prod1 prod0] = x * y. Compute the product mod 2^256 and mod 2^256 - 1, then use
            // use the Chinese Remainder Theorem to reconstruct the 512 bit result. The result is stored in two 256
            // variables such that product = prod1 * 2^256 + prod0.
            uint256 prod0; // Least significant 256 bits of the product
            uint256 prod1; // Most significant 256 bits of the product
            assembly {
                let mm := mulmod(x, y, not(0))
                prod0 := mul(x, y)
                prod1 := sub(sub(mm, prod0), lt(mm, prod0))
            }

            // Handle non-overflow cases, 256 by 256 division.
            if (prod1 == 0) {
                return prod0 / denominator;
            }

            // Make sure the result is less than 2^256. Also prevents denominator == 0.
            require(denominator > prod1);

            ///////////////////////////////////////////////
            // 512 by 256 division.
            ///////////////////////////////////////////////

            // Make division exact by subtracting the remainder from [prod1 prod0].
            uint256 remainder;
            assembly {
                // Compute remainder using mulmod.
                remainder := mulmod(x, y, denominator)

                // Subtract 256 bit number from 512 bit number.
                prod1 := sub(prod1, gt(remainder, prod0))
                prod0 := sub(prod0, remainder)
            }

            // Factor powers of two out of denominator and compute largest power of two divisor of denominator. Always >= 1.
            // See https://cs.stackexchange.com/q/138556/92363.

            // Does not overflow because the denominator cannot be zero at this stage in the function.
            uint256 twos = denominator & (~denominator + 1);
            assembly {
                // Divide denominator by twos.
                denominator := div(denominator, twos)

                // Divide [prod1 prod0] by twos.
                prod0 := div(prod0, twos)

                // Flip twos such that it is 2^256 / twos. If twos is zero, then it becomes one.
                twos := add(div(sub(0, twos), twos), 1)
            }

            // Shift in bits from prod1 into prod0.
            prod0 |= prod1 * twos;

            // Invert denominator mod 2^256. Now that denominator is an odd number, it has an inverse modulo 2^256 such
            // that denominator * inv = 1 mod 2^256. Compute the inverse by starting with a seed that is correct for
            // four bits. That is, denominator * inv = 1 mod 2^4.
            uint256 inverse = (3 * denominator) ^ 2;

            // Use the Newton-Raphson iteration to improve the precision. Thanks to Hensel's lifting lemma, this also works
            // in modular arithmetic, doubling the correct bits in each step.
            inverse *= 2 - denominator * inverse; // inverse mod 2^8
            inverse *= 2 - denominator * inverse; // inverse mod 2^16
            inverse *= 2 - denominator * inverse; // inverse mod 2^32
            inverse *= 2 - denominator * inverse; // inverse mod 2^64
            inverse *= 2 - denominator * inverse; // inverse mod 2^128
            inverse *= 2 - denominator * inverse; // inverse mod 2^256

            // Because the division is now exact we can divide by multiplying with the modular inverse of denominator.
            // This will give us the correct result modulo 2^256. Since the preconditions guarantee that the outcome is
            // less than 2^256, this is the final result. We don't need to compute the high bits of the result and prod1
            // is no longer required.
            result = prod0 * inverse;
            return result;
        }
    }

    /**
     * @notice Calculates x * y / denominator with full precision, following the selected rounding direction.
     */
    function mulDiv(
        uint256 x,
        uint256 y,
        uint256 denominator,
        Rounding rounding
    ) internal pure returns (uint256) {
        uint256 result = mulDiv(x, y, denominator);
        if (rounding == Rounding.Up && mulmod(x, y, denominator) > 0) {
            result += 1;
        }
        return result;
    }

    /**
     * @dev Returns the square root of a number. If the number is not a perfect square, the value is rounded down.
     *
     * Inspired by Henry S. Warren, Jr.'s "Hacker's Delight" (Chapter 11).
     */
    function sqrt(uint256 a) internal pure returns (uint256) {
        if (a == 0) {
            return 0;
        }

        // For our first guess, we get the biggest power of 2 which is smaller than the square root of the target.
        //
        // We know that the "msb" (most significant bit) of our target number `a` is a power of 2 such that we have
        // `msb(a) <= a < 2*msb(a)`. This value can be written `msb(a)=2**k` with `k=log2(a)`.
        //
        // This can be rewritten `2**log2(a) <= a < 2**(log2(a) + 1)`
        // → `sqrt(2**k) <= sqrt(a) < sqrt(2**(k+1))`
        // → `2**(k/2) <= sqrt(a) < 2**((k+1)/2) <= 2**(k/2 + 1)`
        //
        // Consequently, `2**(log2(a) / 2)` is a good first approximation of `sqrt(a)` with at least 1 correct bit.
        uint256 result = 1 << (log2(a) >> 1);

        // At this point `result` is an estimation with one bit of precision. We know the true value is a uint128,
        // since it is the square root of a uint256. Newton's method converges quadratically (precision doubles at
        // every iteration). We thus need at most 7 iteration to turn our partial result with one bit of precision
        // into the expected uint128 result.
        unchecked {
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            result = (result + a / result) >> 1;
            return min(result, a / result);
        }
    }

    /**
     * @notice Calculates sqrt(a), following the selected rounding direction.
     */
    function sqrt(uint256 a, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = sqrt(a);
            return result + (rounding == Rounding.Up && result * result < a ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 2, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 128;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 64;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 32;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 16;
            }
            if (value >> 8 > 0) {
                value >>= 8;
                result += 8;
            }
            if (value >> 4 > 0) {
                value >>= 4;
                result += 4;
            }
            if (value >> 2 > 0) {
                value >>= 2;
                result += 2;
            }
            if (value >> 1 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 2, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log2(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log2(value);
            return result + (rounding == Rounding.Up && 1 << result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 10, rounded down, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >= 10**64) {
                value /= 10**64;
                result += 64;
            }
            if (value >= 10**32) {
                value /= 10**32;
                result += 32;
            }
            if (value >= 10**16) {
                value /= 10**16;
                result += 16;
            }
            if (value >= 10**8) {
                value /= 10**8;
                result += 8;
            }
            if (value >= 10**4) {
                value /= 10**4;
                result += 4;
            }
            if (value >= 10**2) {
                value /= 10**2;
                result += 2;
            }
            if (value >= 10**1) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log10(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log10(value);
            return result + (rounding == Rounding.Up && 10**result < value ? 1 : 0);
        }
    }

    /**
     * @dev Return the log in base 256, rounded down, of a positive value.
     * Returns 0 if given 0.
     *
     * Adding one to the result gives the number of pairs of hex symbols needed to represent `value` as a hex string.
     */
    function log256(uint256 value) internal pure returns (uint256) {
        uint256 result = 0;
        unchecked {
            if (value >> 128 > 0) {
                value >>= 128;
                result += 16;
            }
            if (value >> 64 > 0) {
                value >>= 64;
                result += 8;
            }
            if (value >> 32 > 0) {
                value >>= 32;
                result += 4;
            }
            if (value >> 16 > 0) {
                value >>= 16;
                result += 2;
            }
            if (value >> 8 > 0) {
                result += 1;
            }
        }
        return result;
    }

    /**
     * @dev Return the log in base 10, following the selected rounding direction, of a positive value.
     * Returns 0 if given 0.
     */
    function log256(uint256 value, Rounding rounding) internal pure returns (uint256) {
        unchecked {
            uint256 result = log256(value);
            return result + (rounding == Rounding.Up && 1 << (result * 8) < value ? 1 : 0);
        }
    }
}

File 7 of 13 : 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 8 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.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
                /// @solidity memory-safe-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 9 of 13 : 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 10 of 13 : 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 11 of 13 : IERC721Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (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 `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

File 12 of 13 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "@openzeppelin/contracts/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 tokenIdOrAmount
  );

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

  /**
   * @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`.
   *
   * 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;

  /**
   * @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 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 returns (bool);

  /**
   * @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 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 the account approved for `tokenId` token.
   *
   * Requirements:
   *
   * - `tokenId` must exist.
   */
  function getApproved(
    uint256 tokenId
  ) external view returns (address operator);

  /**
   * @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);
}

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"tick","type":"string"},{"internalType":"uint64","name":"maxSupply_","type":"uint64"},{"internalType":"uint64","name":"perWalletLimitAmount_","type":"uint64"},{"internalType":"uint64","name":"perTxLimitAmount_","type":"uint64"},{"internalType":"address","name":"proxy_","type":"address"},{"internalType":"uint64","name":"initialBlockNum_","type":"uint64"},{"internalType":"uint64","name":"amtDifficulty_","type":"uint64"},{"internalType":"uint64","name":"blockDifficulty_","type":"uint64"},{"internalType":"uint64","name":"totalSupplyDifficulty_","type":"uint64"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenIdOrAmount","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"string","name":"data","type":"string"}],"name":"Inscribe","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":"tokenIdOrAmount","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"amtDifficulty","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"amountOrTokenID","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":"blockDifficulty","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"initialBlockNum","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"inscribe","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"lastBlock","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"maxSupply","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedPer","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint64","name":"currentBlockNum","type":"uint64"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintingAlgo","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nft2ft","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"perTxLimitAmount","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"perWalletLimitAmount","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxy","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"uint64","name":"amtDifficulty_","type":"uint64"},{"internalType":"uint64","name":"blockDifficulty_","type":"uint64"},{"internalType":"uint64","name":"totalSupplyDifficulty_","type":"uint64"}],"name":"setDifficulty","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint64","name":"initialBlockNum_","type":"uint64"}],"name":"setInitBlockNum","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"proxy_","type":"address"}],"name":"setProxy","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":[],"name":"toFT","outputs":[],"stateMutability":"nonpayable","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":[],"name":"totalSupplyDifficulty","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalVotedAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenIdOrAmount","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"voteForFT","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801562000010575f80fd5b506040516200608d3803806200608d833981810160405281019062000036919062000437565b6040518060400160405280600a81526020017f666169722d696e7332300000000000000000000000000000000000000000000081525089815f90816200007d919062000766565b5080600190816200008f919062000766565b50505088600f9081620000a3919062000766565b508760055f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508660075f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555085600660186101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555084600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555083600560086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555082600560106101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600560186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508060065f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505050505050505050506200084a565b5f604051905090565b5f80fd5b5f80fd5b5f80fd5b5f80fd5b5f601f19601f8301169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b620002708262000228565b810181811067ffffffffffffffff8211171562000292576200029162000238565b5b80604052505050565b5f620002a66200020f565b9050620002b4828262000265565b919050565b5f67ffffffffffffffff821115620002d657620002d562000238565b5b620002e18262000228565b9050602081019050919050565b5f5b838110156200030d578082015181840152602081019050620002f0565b5f8484015250505050565b5f6200032e6200032884620002b9565b6200029b565b9050828152602081018484840111156200034d576200034c62000224565b5b6200035a848285620002ee565b509392505050565b5f82601f83011262000379576200037862000220565b5b81516200038b84826020860162000318565b91505092915050565b5f67ffffffffffffffff82169050919050565b620003b28162000394565b8114620003bd575f80fd5b50565b5f81519050620003d081620003a7565b92915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6200040182620003d6565b9050919050565b6200041381620003f5565b81146200041e575f80fd5b50565b5f81519050620004318162000408565b92915050565b5f805f805f805f805f6101208a8c03121562000458576200045762000218565b5b5f8a015167ffffffffffffffff8111156200047857620004776200021c565b5b620004868c828d0162000362565b9950506020620004998c828d01620003c0565b9850506040620004ac8c828d01620003c0565b9750506060620004bf8c828d01620003c0565b9650506080620004d28c828d0162000421565b95505060a0620004e58c828d01620003c0565b94505060c0620004f88c828d01620003c0565b93505060e06200050b8c828d01620003c0565b9250506101006200051f8c828d01620003c0565b9150509295985092959850929598565b5f81519050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f60028204905060018216806200057e57607f821691505b60208210810362000594576200059362000539565b5b50919050565b5f819050815f5260205f209050919050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f60088302620005f87fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82620005bb565b620006048683620005bb565b95508019841693508086168417925050509392505050565b5f819050919050565b5f819050919050565b5f6200064e6200064862000642846200061c565b62000625565b6200061c565b9050919050565b5f819050919050565b62000669836200062e565b62000681620006788262000655565b848454620005c7565b825550505050565b5f90565b6200069762000689565b620006a48184846200065e565b505050565b5b81811015620006cb57620006bf5f826200068d565b600181019050620006aa565b5050565b601f8211156200071a57620006e4816200059a565b620006ef84620005ac565b81016020851015620006ff578190505b620007176200070e85620005ac565b830182620006a9565b50505b505050565b5f82821c905092915050565b5f6200073c5f19846008026200071f565b1980831691505092915050565b5f6200075683836200072b565b9150826002028217905092915050565b62000771826200052f565b67ffffffffffffffff8111156200078d576200078c62000238565b5b62000799825462000566565b620007a6828285620006cf565b5f60209050601f831160018114620007dc575f8415620007c7578287015190505b620007d3858262000749565b86555062000842565b601f198416620007ec866200059a565b5f5b828110156200081557848901518255600182019150602085019450602081019050620007ee565b8683101562000835578489015162000831601f8916826200072b565b8355505b6001600288020188555050505b505050505050565b61583580620008585f395ff3fe608060405234801561000f575f80fd5b506004361061021a575f3560e01c80637c5f220311610123578063aa4f643d116100ab578063d8ef147a1161007a578063d8ef147a1461062c578063dd62ed3e1461064a578063de4426021461067a578063e985e9c514610696578063ec556889146106c65761021a565b8063aa4f643d146105a4578063b88d4fde146105c2578063c87b56dd146105de578063d5abeb011461060e5761021a565b806397107d6d116100f257806397107d6d14610516578063a22cb46514610532578063a603fe9c1461054e578063a9059cbb1461056a578063aa32ddcc1461059a5761021a565b80637c5f2203146104a0578063806b984f146104bc57806395d89b41146104da57806396134289146104f85761021a565b80632910b20a116101a657806342842e0e1161017557806342842e0e146103d6578063555e9484146103f25780636352211e146104225780636b0f36411461045257806370a08231146104705761021a565b80632910b20a1461035e578063313ce5671461037c57806331a462da1461039a5780633aa8adf9146103b85761021a565b80630d7324c9116101ed5780630d7324c9146102b8578063110168d4146102d6578063178d7b41146102f457806318160ddd1461031057806323b872dd1461032e5761021a565b806301ffc9a71461021e57806306fdde031461024e578063081812fc1461026c578063095ea7b31461029c575b5f80fd5b610238600480360381019061023391906133d5565b6106e4565b604051610245919061341a565b60405180910390f35b61025661075d565b60405161026391906134bd565b60405180910390f35b61028660048036038101906102819190613510565b6107ec565b604051610293919061357a565b60405180910390f35b6102b660048036038101906102b191906135bd565b61082e565b005b6102c0610866565b6040516102cd919061361d565b60405180910390f35b6102de610880565b6040516102eb919061361d565b60405180910390f35b61030e60048036038101906103099190613660565b61089a565b005b6103186109a8565b60405161032591906136bf565b60405180910390f35b610348600480360381019061034391906136d8565b6109de565b604051610355919061341a565b60405180910390f35b610366610b51565b604051610373919061361d565b60405180910390f35b610384610b6b565b6040516103919190613743565b60405180910390f35b6103a2610b73565b6040516103af919061341a565b60405180910390f35b6103c0610b86565b6040516103cd91906136bf565b60405180910390f35b6103f060048036038101906103eb91906136d8565b610b8f565b005b61040c6004803603810190610407919061375c565b610bfe565b604051610419919061341a565b60405180910390f35b61043c60048036038101906104379190613510565b610dc8565b604051610449919061357a565b60405180910390f35b61045a610e74565b604051610467919061361d565b60405180910390f35b61048a6004803603810190610485919061379a565b610e8d565b60405161049791906136bf565b60405180910390f35b6104ba60048036038101906104b59190613826565b610f99565b005b6104c461120e565b6040516104d1919061361d565b60405180910390f35b6104e2611228565b6040516104ef91906134bd565b60405180910390f35b6105006112b8565b60405161050d919061361d565b60405180910390f35b610530600480360381019061052b919061379a565b6112d2565b005b61054c6004803603810190610547919061389b565b6113a4565b005b610568600480360381019061056391906138d9565b6113c7565b005b610584600480360381019061057f91906135bd565b611482565b604051610591919061341a565b60405180910390f35b6105a261152a565b005b6105ac6115ef565b6040516105b9919061361d565b60405180910390f35b6105dc60048036038101906105d79190613a2c565b611608565b005b6105f860048036038101906105f39190613510565b611704565b60405161060591906134bd565b60405180910390f35b61061661184d565b604051610623919061361d565b60405180910390f35b610634611866565b604051610641919061361d565b60405180910390f35b610664600480360381019061065f9190613aac565b611880565b60405161067191906136bf565b60405180910390f35b610694600480360381019061068f9190613510565b611902565b005b6106b060048036038101906106ab9190613aac565b611dbf565b6040516106bd919061341a565b60405180910390f35b6106ce611e4d565b6040516106db919061357a565b60405180910390f35b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610756575061075582611e72565b5b9050919050565b60605f805461076b90613b17565b80601f016020809104026020016040519081016040528092919081815260200182805461079790613b17565b80156107e25780601f106107b9576101008083540402835291602001916107e2565b820191905f5260205f20905b8154815290600101906020018083116107c557829003601f168201915b5050505050905090565b5f6107f682611edb565b60035f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600760089054906101000a900460ff166108515761084c8282611f26565b610862565b5f33905061086081848461203c565b505b5050565b600660189054906101000a900467ffffffffffffffff1681565b600560089054906101000a900467ffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092090613b91565b60405180910390fd5b82600560106101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600560186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508060065f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550505050565b5f60085f9054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905090565b5f8073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4490613c1f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab290613cad565b60405180910390fd5b600760089054906101000a900460ff16610b2f57610ae0610ada61220b565b83612212565b610b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1690613d3b565b60405180910390fd5b610b2a8484846122a6565b610b46565b610b3a8433846123e2565b610b4584848461246d565b5b600190509392505050565b600660109054906101000a900467ffffffffffffffff1681565b5f6001905090565b600760089054906101000a900460ff1681565b5f600954905090565b600760089054906101000a900460ff1615610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd690613da3565b60405180910390fd5b610bf983838360405180602001604052805f815250611608565b505050565b5f80838333600160085f9054906101000a90046fffffffffffffffffffffffffffffffff16610c2d9190613e09565b604051602001610c409493929190613f19565b604051602081830303815290604052805190602001205f1c90505f600560089054906101000a900467ffffffffffffffff1667ffffffffffffffff168567ffffffffffffffff1611610c93576001610cb6565b600560089054906101000a900467ffffffffffffffff1685610cb59190613f66565b5b67ffffffffffffffff1690505f610d2560065f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1660085f9054906101000a90046fffffffffffffffffffffffffffffffff16610d0e9190613fce565b6fffffffffffffffffffffffffffffffff166126c5565b610d59600560189054906101000a900467ffffffffffffffff1667ffffffffffffffff1684610d549190613ffe565b6126c5565b610d996001600560109054906101000a900467ffffffffffffffff1667ffffffffffffffff1689610d8a9190613ffe565b610d94919061402e565b6126c5565b610da3919061402e565b610dad919061402e565b90505f8184610dbc9190614061565b14935050505092915050565b5f8060025f8481526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e62906140db565b60405180910390fd5b80915050919050565b60075f9054906101000a900467ffffffffffffffff1681565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef390614169565b60405180910390fd5b600760089054906101000a900460ff16610f5357600c5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610f92565b600b5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20545b9050919050565b600760089054906101000a900460ff1615610fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe0906141d1565b60405180910390fd5b5f5b828290508110156111b8573373ffffffffffffffffffffffffffffffffffffffff1660025f858585818110611023576110226141ef565b5b9050602002013581526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490614266565b60405180910390fd5b600e5f8484848181106110c3576110c26141ef565b5b9050602002013581526020019081526020015f205f9054906101000a900460ff1615611124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111b906142ce565b60405180910390fd5b6001600e5f85858581811061113c5761113b6141ef565b5b9050602002013581526020019081526020015f205f6101000a81548160ff02191690831515021790555060105f84848481811061117c5761117b6141ef565b5b9050602002013581526020019081526020015f206001015460095f8282546111a4919061402e565b925050819055508080600101915050610feb565b50600260055f9054906101000a900467ffffffffffffffff166111db91906142ec565b67ffffffffffffffff16600954111561120a576001600760086101000a81548160ff0219169083151502179055505b5050565b600660089054906101000a900467ffffffffffffffff1681565b6060600f805461123790613b17565b80601f016020809104026020016040519081016040528092919081815260200182805461126390613b17565b80156112ae5780601f10611285576101008083540402835291602001916112ae565b820191905f5260205f20905b81548152906001019060200180831161129157829003601f168201915b5050505050905090565b600560109054906101000a900467ffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135890613b91565b60405180910390fd5b80600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600760089054906101000a900460ff166113c3576113c282826127bb565b5b5050565b3373ffffffffffffffffffffffffffffffffffffffff16600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611456576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144d90613b91565b60405180910390fd5b80600560086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b5f600760089054906101000a900460ff1615611512575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fd9061438c565b60405180910390fd5b61151133848461246d565b5b600760089054906101000a900460ff16905092915050565b600760089054906101000a900460ff1615801561159357503373ffffffffffffffffffffffffffffffffffffffff16600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6115d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c9906141d1565b60405180910390fd5b6001600760086101000a81548160ff021916908315150217905550565b60065f9054906101000a900467ffffffffffffffff1681565b600760089054906101000a900460ff1615611658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164f90613da3565b60405180910390fd5b61166961166361220b565b83612212565b6116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90613d3b565b60405180910390fd5b6116b38484846122a6565b6116bf848484846127d1565b6116fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f59061441a565b60405180910390fd5b50505050565b6060600760089054906101000a900460ff1615611756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174d90613da3565b60405180910390fd5b5f604051806101a0016040528061016881526020016156586101689139905060608160105f8681526020019081526020015f205f0160405160200161179c9291906145ca565b6040516020818303038152906040529050806117cb60105f8781526020019081526020015f2060010154612953565b6040516020016117dc9291906146a2565b60405160208183030381529060405290505f61181e6117fa83612aac565b60405160200161180a91906147d6565b604051602081830303815290604052612aac565b905080604051602001611831919061484c565b6040516020818303038152906040529250829350505050919050565b60055f9054906101000a900467ffffffffffffffff1681565b600560189054906101000a900467ffffffffffffffff1681565b5f600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f8111611944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193b906148b7565b60405180910390fd5b600660189054906101000a900467ffffffffffffffff1667ffffffffffffffff168111156119a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199e9061491f565b60405180910390fd5b60075f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1681600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611a10919061402e565b1115611a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4890614987565b60405180910390fd5b60055f9054906101000a900467ffffffffffffffff1667ffffffffffffffff168160085f9054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16611aac919061402e565b1115611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae4906149ef565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5290614a57565b60405180910390fd5b611b654382610bfe565b611ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9b90614abf565b60405180910390fd5b600660089054906101000a900467ffffffffffffffff1667ffffffffffffffff16431115611c235743600660086101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505f600660106101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550611cce565b6064600660109054906101000a900467ffffffffffffffff1667ffffffffffffffff1610611c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7d90614b73565b60405180910390fd5b6006601081819054906101000a900467ffffffffffffffff168092919060010191906101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550505b5f600f611cda83612953565b604051602001611ceb929190614cdf565b6040516020818303038152906040529050611d3733600760099054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1684612c3c565b3373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167f0e2c612cd3a6965782a48c7f571f155667c3c913eb3b6f0af0a004652b8fdc6d83604051602001611d979190614d51565b604051602081830303815290604052604051611db391906134bd565b60405180910390a35050565b5f60045f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611ee481612e6c565b611f23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1a906140db565b60405180910390fd5b50565b5f611f3082610dc8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9790614de6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611fbf61220b565b73ffffffffffffffffffffffffffffffffffffffff161480611fee5750611fed81611fe861220b565b611dbf565b5b61202d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202490614e74565b60405180910390fd5b6120378383612ed4565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a190614f02565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612118576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210f90614f90565b60405180910390fd5b80600d5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550600760089054906101000a900460ff161561220657808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505050565b5f33905090565b5f8061221d83610dc8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061225f575061225e8185611dbf565b5b8061229d57508373ffffffffffffffffffffffffffffffffffffffff16612285846107ec565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6122b1838383612f8a565b6122d0838360105f8581526020019081526020015f206001015461246d565b6001600c5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461231d9190614fae565b925050819055506001600c5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254612371919061402e565b92505081905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123dd5f82612ed4565b505050565b5f6123ed8484611880565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146124675781811015612459576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124509061502b565b60405180910390fd5b612466848484840361203c565b5b50505050565b612478838383613054565b5f600b5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156124fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f3906150b9565b60405180910390fd5b818103600b5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555081600b5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461258c919061402e565b925050819055505f61259d83612953565b6040516020016125ad9190615147565b60405160208183030381529060405290508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f0e2c612cd3a6965782a48c7f571f155667c3c913eb3b6f0af0a004652b8fdc6d8360405160200161261e9190614d51565b60405160208183030381529060405260405161263a91906134bd565b60405180910390a361264d8585856130f2565b600760089054906101000a900460ff16156126be57828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b5f8082036126d5575f90506127b6565b5f60016126e1846130f7565b901c6001901b905060018184816126fb576126fa613fa1565b5b048201901c9050600181848161271457612713613fa1565b5b048201901c9050600181848161272d5761272c613fa1565b5b048201901c9050600181848161274657612745613fa1565b5b048201901c9050600181848161275f5761275e613fa1565b5b048201901c9050600181848161277857612777613fa1565b5b048201901c9050600181848161279157612790613fa1565b5b048201901c90506127b2818285816127ac576127ab613fa1565b5b046131ce565b9150505b919050565b6127cd6127c661220b565b83836131e6565b5050565b5f6127f18473ffffffffffffffffffffffffffffffffffffffff1661334d565b15612946578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261281a61220b565b8786866040518563ffffffff1660e01b815260040161283c94939291906151bf565b6020604051808303815f875af192505050801561287757506040513d601f19601f82011682018060405250810190612874919061521d565b60015b6128f6573d805f81146128a5576040519150601f19603f3d011682016040523d82523d5f602084013e6128aa565b606091505b505f8151036128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e59061441a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061294b565b600190505b949350505050565b60605f8203612999576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612aa7565b5f8290505f5b5f82146129c85780806129b190615248565b915050600a826129c19190613ffe565b915061299f565b5f8167ffffffffffffffff8111156129e3576129e2613908565b5b6040519080825280601f01601f191660200182016040528015612a155781602001600182028036833780820191505090505b5090505b5f8514612aa057600182612a2d9190614fae565b9150600a85612a3c9190614061565b6030612a48919061402e565b60f81b818381518110612a5e57612a5d6141ef565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600a85612a999190613ffe565b9450612a19565b8093505050505b919050565b60605f825190505f8103612ad15760405180602001604052805f815250915050612c37565b5f6003600283612ae1919061402e565b612aeb9190613ffe565b6004612af7919061528f565b90505f602082612b07919061402e565b67ffffffffffffffff811115612b2057612b1f613908565b5b6040519080825280601f01601f191660200182016040528015612b525781602001600182028036833780820191505090505b5090505f6040518060600160405280604081526020016157c060409139905060018101602083015f5b86811015612bf45760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050612b7b565b506003860660018114612c0e5760028114612c1e57612c29565b613d3d60f01b6002830352612c29565b603d60f81b60018303525b508484525050819450505050505b919050565b612c475f8484613054565b8060085f8282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555080600b5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550600c5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f81548092919060010191905055508260025f8481526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060405180604001604052806040518060400160405280600481526020017f6d696e740000000000000000000000000000000000000000000000000000000081525081526020018281525060105f8481526020019081526020015f205f820151815f019081612df3919061545b565b5060208201518160010155905050818373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e675f84846130f2565b505050565b5f8073ffffffffffffffffffffffffffffffffffffffff1660025f8481526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b8160035f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612f4483610dc8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8273ffffffffffffffffffffffffffffffffffffffff16612faa82610dc8565b73ffffffffffffffffffffffffffffffffffffffff1614613000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff79061559a565b60405180910390fd5b8160025f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036130ed576007600981819054906101000a90046fffffffffffffffffffffffffffffffff16809291906130b5906155b8565b91906101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550505b505050565b505050565b5f805f90505f608084901c111561311657608083901c92506080810190505b5f604084901c111561313057604083901c92506040810190505b5f602084901c111561314a57602083901c92506020810190505b5f601084901c111561316457601083901c92506010810190505b5f600884901c111561317e57600883901c92506008810190505b5f600484901c111561319857600483901c92506004810190505b5f600284901c11156131b257600283901c92506002810190505b5f600184901c11156131c5576001810190505b80915050919050565b5f8183106131dc57816131de565b825b905092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324b90615639565b60405180910390fd5b8060045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051613340919061341a565b60405180910390a3505050565b5f808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133b481613380565b81146133be575f80fd5b50565b5f813590506133cf816133ab565b92915050565b5f602082840312156133ea576133e9613378565b5b5f6133f7848285016133c1565b91505092915050565b5f8115159050919050565b61341481613400565b82525050565b5f60208201905061342d5f83018461340b565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561346a57808201518184015260208101905061344f565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61348f82613433565b613499818561343d565b93506134a981856020860161344d565b6134b281613475565b840191505092915050565b5f6020820190508181035f8301526134d58184613485565b905092915050565b5f819050919050565b6134ef816134dd565b81146134f9575f80fd5b50565b5f8135905061350a816134e6565b92915050565b5f6020828403121561352557613524613378565b5b5f613532848285016134fc565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6135648261353b565b9050919050565b6135748161355a565b82525050565b5f60208201905061358d5f83018461356b565b92915050565b61359c8161355a565b81146135a6575f80fd5b50565b5f813590506135b781613593565b92915050565b5f80604083850312156135d3576135d2613378565b5b5f6135e0858286016135a9565b92505060206135f1858286016134fc565b9150509250929050565b5f67ffffffffffffffff82169050919050565b613617816135fb565b82525050565b5f6020820190506136305f83018461360e565b92915050565b61363f816135fb565b8114613649575f80fd5b50565b5f8135905061365a81613636565b92915050565b5f805f6060848603121561367757613676613378565b5b5f6136848682870161364c565b93505060206136958682870161364c565b92505060406136a68682870161364c565b9150509250925092565b6136b9816134dd565b82525050565b5f6020820190506136d25f8301846136b0565b92915050565b5f805f606084860312156136ef576136ee613378565b5b5f6136fc868287016135a9565b935050602061370d868287016135a9565b925050604061371e868287016134fc565b9150509250925092565b5f60ff82169050919050565b61373d81613728565b82525050565b5f6020820190506137565f830184613734565b92915050565b5f806040838503121561377257613771613378565b5b5f61377f8582860161364c565b9250506020613790858286016134fc565b9150509250929050565b5f602082840312156137af576137ae613378565b5b5f6137bc848285016135a9565b91505092915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126137e6576137e56137c5565b5b8235905067ffffffffffffffff811115613803576138026137c9565b5b60208301915083602082028301111561381f5761381e6137cd565b5b9250929050565b5f806020838503121561383c5761383b613378565b5b5f83013567ffffffffffffffff8111156138595761385861337c565b5b613865858286016137d1565b92509250509250929050565b61387a81613400565b8114613884575f80fd5b50565b5f8135905061389581613871565b92915050565b5f80604083850312156138b1576138b0613378565b5b5f6138be858286016135a9565b92505060206138cf85828601613887565b9150509250929050565b5f602082840312156138ee576138ed613378565b5b5f6138fb8482850161364c565b91505092915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61393e82613475565b810181811067ffffffffffffffff8211171561395d5761395c613908565b5b80604052505050565b5f61396f61336f565b905061397b8282613935565b919050565b5f67ffffffffffffffff82111561399a57613999613908565b5b6139a382613475565b9050602081019050919050565b828183375f83830152505050565b5f6139d06139cb84613980565b613966565b9050828152602081018484840111156139ec576139eb613904565b5b6139f78482856139b0565b509392505050565b5f82601f830112613a1357613a126137c5565b5b8135613a238482602086016139be565b91505092915050565b5f805f8060808587031215613a4457613a43613378565b5b5f613a51878288016135a9565b9450506020613a62878288016135a9565b9350506040613a73878288016134fc565b925050606085013567ffffffffffffffff811115613a9457613a9361337c565b5b613aa0878288016139ff565b91505092959194509250565b5f8060408385031215613ac257613ac1613378565b5b5f613acf858286016135a9565b9250506020613ae0858286016135a9565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680613b2e57607f821691505b602082108103613b4157613b40613aea565b5b50919050565b7f53656e646572206973206e6f742070726f7879000000000000000000000000005f82015250565b5f613b7b60138361343d565b9150613b8682613b47565b602082019050919050565b5f6020820190508181035f830152613ba881613b6f565b9050919050565b7f494e5332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f613c0960258361343d565b9150613c1482613baf565b604082019050919050565b5f6020820190508181035f830152613c3681613bfd565b9050919050565b7f494e5332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f613c9760238361343d565b9150613ca282613c3d565b604082019050919050565b5f6020820190508181035f830152613cc481613c8b565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e655f8201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b5f613d25602e8361343d565b9150613d3082613ccb565b604082019050919050565b5f6020820190508181035f830152613d5281613d19565b9050919050565b7f4e6f7420737570706f72742045524337323120616e79206d6f72652e000000005f82015250565b5f613d8d601c8361343d565b9150613d9882613d59565b602082019050919050565b5f6020820190508181035f830152613dba81613d81565b9050919050565b5f6fffffffffffffffffffffffffffffffff82169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613e1382613dc1565b9150613e1e83613dc1565b925082820190506fffffffffffffffffffffffffffffffff811115613e4657613e45613ddc565b5b92915050565b5f8160c01b9050919050565b5f613e6282613e4c565b9050919050565b613e7a613e75826135fb565b613e58565b82525050565b5f819050919050565b613e9a613e95826134dd565b613e80565b82525050565b5f8160601b9050919050565b5f613eb682613ea0565b9050919050565b5f613ec782613eac565b9050919050565b613edf613eda8261355a565b613ebd565b82525050565b5f8160801b9050919050565b5f613efb82613ee5565b9050919050565b613f13613f0e82613dc1565b613ef1565b82525050565b5f613f248287613e69565b600882019150613f348286613e89565b602082019150613f448285613ece565b601482019150613f548284613f02565b60108201915081905095945050505050565b5f613f70826135fb565b9150613f7b836135fb565b9250828203905067ffffffffffffffff811115613f9b57613f9a613ddc565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f613fd882613dc1565b9150613fe383613dc1565b925082613ff357613ff2613fa1565b5b828204905092915050565b5f614008826134dd565b9150614013836134dd565b92508261402357614022613fa1565b5b828204905092915050565b5f614038826134dd565b9150614043836134dd565b925082820190508082111561405b5761405a613ddc565b5b92915050565b5f61406b826134dd565b9150614076836134dd565b92508261408657614085613fa1565b5b828206905092915050565b7f4552433732313a20696e76616c696420746f6b656e20494400000000000000005f82015250565b5f6140c560188361343d565b91506140d082614091565b602082019050919050565b5f6020820190508181035f8301526140f2816140b9565b9050919050565b7f45524332303a2061646472657373207a65726f206973206e6f7420612076616c5f8201527f6964206f776e6572000000000000000000000000000000000000000000000000602082015250565b5f61415360288361343d565b915061415e826140f9565b604082019050919050565b5f6020820190508181035f83015261418081614147565b9050919050565b7f48617320646f6e650000000000000000000000000000000000000000000000005f82015250565b5f6141bb60088361343d565b91506141c682614187565b602082019050919050565b5f6020820190508181035f8301526141e8816141af565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e6f74206f776e657200000000000000000000000000000000000000000000005f82015250565b5f61425060098361343d565b915061425b8261421c565b602082019050919050565b5f6020820190508181035f83015261427d81614244565b9050919050565b7f48617320766f74656400000000000000000000000000000000000000000000005f82015250565b5f6142b860098361343d565b91506142c382614284565b602082019050919050565b5f6020820190508181035f8301526142e5816142ac565b9050919050565b5f6142f6826135fb565b9150614301836135fb565b92508261431157614310613fa1565b5b828204905092915050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f61437660238361343d565b91506143818261431c565b604082019050919050565b5f6020820190508181035f8301526143a38161436a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e2045524337323152655f8201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b5f61440460328361343d565b915061440f826143aa565b604082019050919050565b5f6020820190508181035f830152614431816143f8565b9050919050565b5f81905092915050565b5f61444c82613433565b6144568185614438565b935061446681856020860161344d565b80840191505092915050565b5f81905092915050565b5f819050815f5260205f209050919050565b5f815461449a81613b17565b6144a48186614472565b9450600182165f81146144be57600181146144d357614505565b60ff1983168652811515820286019350614505565b6144dc8561447c565b5f5b838110156144fd578154818901526001820191506020810190506144de565b838801955050505b50505092915050565b7f222c3c2f746578743e3c7465787420783d223133302220793d223139302220635f8201527f6c6173733d2262617365223e227469636b223a2266616972222c3c2f7465787460208201527f3e3c7465787420783d223133302220793d223232302220636c6173733d22626160408201527f7365223e22616d74223a00000000000000000000000000000000000000000000606082015250565b5f6145b4606a83614438565b91506145bf8261450e565b606a82019050919050565b5f6145d58285614442565b91506145e1828461448e565b91506145ec826145a8565b91508190509392505050565b5f81519050919050565b5f61460c826145f8565b6146168185614472565b935061462681856020860161344d565b80840191505092915050565b7f3c2f746578743e3c7465787420783d223130302220793d223235302220636c615f8201527f73733d2262617365223e7d3c2f746578743e3c2f7376673e0000000000000000602082015250565b5f61468c603883614438565b915061469782614632565b603882019050919050565b5f6146ad8285614602565b91506146b98284614602565b91506146c482614680565b91508190509392505050565b7f7b226465736372697074696f6e223a2022464149522d494e53323020697320615f8201527f20736f6369616c206578706572696d656e7420616e642061206661697220646960208201527f73747269627574696f6e206f6620494e5332302e222c2022696d616765223a2060408201527f22646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000606082015250565b5f614776607b83614438565b9150614781826146d0565b607b82019050919050565b7f227d0000000000000000000000000000000000000000000000000000000000005f82015250565b5f6147c0600283614438565b91506147cb8261478c565b600282019050919050565b5f6147e08261476a565b91506147ec8284614442565b91506147f7826147b4565b915081905092915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000005f82015250565b5f614836601d83614438565b915061484182614802565b601d82019050919050565b5f6148568261482a565b91506148628284614442565b915081905092915050565b7f416d6f756e74206d7573742062652067726561746572207468616e207a65726f5f82015250565b5f6148a160208361343d565b91506148ac8261486d565b602082019050919050565b5f6020820190508181035f8301526148ce81614895565b9050919050565b7f457863656564656420706572207478206c696d697400000000000000000000005f82015250565b5f61490960158361343d565b9150614914826148d5565b602082019050919050565b5f6020820190508181035f830152614936816148fd565b9050919050565b7f4578636565646564207065722077616c6c6574206c696d6974000000000000005f82015250565b5f61497160198361343d565b915061497c8261493d565b602082019050919050565b5f6020820190508181035f83015261499e81614965565b9050919050565b7f4578636565646564206d617820737570706c79000000000000000000000000005f82015250565b5f6149d960138361343d565b91506149e4826149a5565b602082019050919050565b5f6020820190508181035f830152614a06816149cd565b9050919050565b7f436f6e74726163747320617265206e6f7420616c6c6f776564000000000000005f82015250565b5f614a4160198361343d565b9150614a4c82614a0d565b602082019050919050565b5f6020820190508181035f830152614a6e81614a35565b9050919050565b7f4d696e74696e6720616c676f206661696c6564000000000000000000000000005f82015250565b5f614aa960138361343d565b9150614ab482614a75565b602082019050919050565b5f6020820190508181035f830152614ad681614a9d565b9050919050565b7f4f6e6c7920313030207469636b732070657220626c6f636b2e205573696e67205f8201527f466c617368626f74732063616e2070726576656e74206661696c65642074786560208201527f732e000000000000000000000000000000000000000000000000000000000000604082015250565b5f614b5d60428361343d565b9150614b6882614add565b606082019050919050565b5f6020820190508181035f830152614b8a81614b51565b9050919050565b7f7b2270223a22696e732d3230222c226f70223a226d696e74222c227469636b225f8201527f3a22000000000000000000000000000000000000000000000000000000000000602082015250565b5f614beb602283614438565b9150614bf682614b91565b602282019050919050565b5f819050815f5260205f209050919050565b5f8154614c1f81613b17565b614c298186614438565b9450600182165f8114614c435760018114614c5857614c8a565b60ff1983168652811515820286019350614c8a565b614c6185614c01565b5f5b83811015614c8257815481890152600182019150602081019050614c63565b838801955050505b50505092915050565b7f222c22616d74223a220000000000000000000000000000000000000000000000815250565b7f227d000000000000000000000000000000000000000000000000000000000000815250565b5f614ce982614bdf565b9150614cf58285614c13565b9150614d0082614c93565b600982019150614d108284614442565b9150614d1b82614cb9565b6002820191508190509392505050565b7f646174613a746578742f706c61696e3b636861727365743d7574662d38000000815250565b5f614d5b82614d2b565b601d82019150614d6b8284614442565b915081905092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e655f8201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b5f614dd060218361343d565b9150614ddb82614d76565b604082019050919050565b5f6020820190508181035f830152614dfd81614dc4565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f5f8201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b5f614e5e603e8361343d565b9150614e6982614e04565b604082019050919050565b5f6020820190508181035f830152614e8b81614e52565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f614eec60248361343d565b9150614ef782614e92565b604082019050919050565b5f6020820190508181035f830152614f1981614ee0565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f614f7a60228361343d565b9150614f8582614f20565b604082019050919050565b5f6020820190508181035f830152614fa781614f6e565b9050919050565b5f614fb8826134dd565b9150614fc3836134dd565b9250828203905081811115614fdb57614fda613ddc565b5b92915050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f615015601d8361343d565b915061502082614fe1565b602082019050919050565b5f6020820190508181035f83015261504281615009565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6150a360268361343d565b91506150ae82615049565b604082019050919050565b5f6020820190508181035f8301526150d081615097565b9050919050565b7f7b2270223a22696e732d3230222c226f70223a227472616e73666572222c22745f8201527f69636b223a2246414952222c22616d74223a2200000000000000000000000000602082015250565b5f615131603383614438565b915061513c826150d7565b603382019050919050565b5f61515182615125565b915061515d8284614442565b915061516882614cb9565b60028201915081905092915050565b5f82825260208201905092915050565b5f615191826145f8565b61519b8185615177565b93506151ab81856020860161344d565b6151b481613475565b840191505092915050565b5f6080820190506151d25f83018761356b565b6151df602083018661356b565b6151ec60408301856136b0565b81810360608301526151fe8184615187565b905095945050505050565b5f81519050615217816133ab565b92915050565b5f6020828403121561523257615231613378565b5b5f61523f84828501615209565b91505092915050565b5f615252826134dd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361528457615283613ddc565b5b600182019050919050565b5f615299826134dd565b91506152a4836134dd565b92508282026152b2816134dd565b915082820484148315176152c9576152c8613ddc565b5b5092915050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261531a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826152df565b61532486836152df565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61535f61535a615355846134dd565b61533c565b6134dd565b9050919050565b5f819050919050565b61537883615345565b61538c61538482615366565b8484546152eb565b825550505050565b5f90565b6153a0615394565b6153ab81848461536f565b505050565b5b818110156153ce576153c35f82615398565b6001810190506153b1565b5050565b601f821115615413576153e481614c01565b6153ed846152d0565b810160208510156153fc578190505b615410615408856152d0565b8301826153b0565b50505b505050565b5f82821c905092915050565b5f6154335f1984600802615418565b1980831691505092915050565b5f61544b8383615424565b9150826002028217905092915050565b61546482613433565b67ffffffffffffffff81111561547d5761547c613908565b5b6154878254613b17565b6154928282856153d2565b5f60209050601f8311600181146154c3575f84156154b1578287015190505b6154bb8582615440565b865550615522565b601f1984166154d186614c01565b5f5b828110156154f8578489015182556001820191506020850194506020810190506154d3565b868310156155155784890151615511601f891682615424565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a207472616e736665722066726f6d20696e636f7272656374205f8201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b5f61558460258361343d565b915061558f8261552a565b604082019050919050565b5f6020820190508181035f8301526155b181615578565b9050919050565b5f6155c282613dc1565b91506fffffffffffffffffffffffffffffffff82036155e4576155e3613ddc565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c6572000000000000005f82015250565b5f61562360198361343d565b915061562e826155ef565b602082019050919050565b5f6020820190508181035f83015261565081615617565b905091905056fe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e203c7374796c653e2e62617365207b2066696c6c3a20677265656e3b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d223130302220793d223130302220636c6173733d2262617365223e7b3c2f746578743e3c7465787420783d223133302220793d223133302220636c6173733d2262617365223e2270223a22696e732d3230222c3c2f746578743e3c7465787420783d223133302220793d223136302220636c6173733d2262617365223e226f70223a224142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212203b90549726f99844747ff4b084129b3023cfac72ff8cbc9657357ac4d8902db564736f6c6343000816003300000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000001406f4000000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000003e80000000000000000000000009855d793b675bdc589d8eeff7078f6a0d5d2d5370000000000000000000000000000000000000000000000000000000001200020000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000186a000000000000000000000000000000000000000000000000000000000000000044641495200000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561000f575f80fd5b506004361061021a575f3560e01c80637c5f220311610123578063aa4f643d116100ab578063d8ef147a1161007a578063d8ef147a1461062c578063dd62ed3e1461064a578063de4426021461067a578063e985e9c514610696578063ec556889146106c65761021a565b8063aa4f643d146105a4578063b88d4fde146105c2578063c87b56dd146105de578063d5abeb011461060e5761021a565b806397107d6d116100f257806397107d6d14610516578063a22cb46514610532578063a603fe9c1461054e578063a9059cbb1461056a578063aa32ddcc1461059a5761021a565b80637c5f2203146104a0578063806b984f146104bc57806395d89b41146104da57806396134289146104f85761021a565b80632910b20a116101a657806342842e0e1161017557806342842e0e146103d6578063555e9484146103f25780636352211e146104225780636b0f36411461045257806370a08231146104705761021a565b80632910b20a1461035e578063313ce5671461037c57806331a462da1461039a5780633aa8adf9146103b85761021a565b80630d7324c9116101ed5780630d7324c9146102b8578063110168d4146102d6578063178d7b41146102f457806318160ddd1461031057806323b872dd1461032e5761021a565b806301ffc9a71461021e57806306fdde031461024e578063081812fc1461026c578063095ea7b31461029c575b5f80fd5b610238600480360381019061023391906133d5565b6106e4565b604051610245919061341a565b60405180910390f35b61025661075d565b60405161026391906134bd565b60405180910390f35b61028660048036038101906102819190613510565b6107ec565b604051610293919061357a565b60405180910390f35b6102b660048036038101906102b191906135bd565b61082e565b005b6102c0610866565b6040516102cd919061361d565b60405180910390f35b6102de610880565b6040516102eb919061361d565b60405180910390f35b61030e60048036038101906103099190613660565b61089a565b005b6103186109a8565b60405161032591906136bf565b60405180910390f35b610348600480360381019061034391906136d8565b6109de565b604051610355919061341a565b60405180910390f35b610366610b51565b604051610373919061361d565b60405180910390f35b610384610b6b565b6040516103919190613743565b60405180910390f35b6103a2610b73565b6040516103af919061341a565b60405180910390f35b6103c0610b86565b6040516103cd91906136bf565b60405180910390f35b6103f060048036038101906103eb91906136d8565b610b8f565b005b61040c6004803603810190610407919061375c565b610bfe565b604051610419919061341a565b60405180910390f35b61043c60048036038101906104379190613510565b610dc8565b604051610449919061357a565b60405180910390f35b61045a610e74565b604051610467919061361d565b60405180910390f35b61048a6004803603810190610485919061379a565b610e8d565b60405161049791906136bf565b60405180910390f35b6104ba60048036038101906104b59190613826565b610f99565b005b6104c461120e565b6040516104d1919061361d565b60405180910390f35b6104e2611228565b6040516104ef91906134bd565b60405180910390f35b6105006112b8565b60405161050d919061361d565b60405180910390f35b610530600480360381019061052b919061379a565b6112d2565b005b61054c6004803603810190610547919061389b565b6113a4565b005b610568600480360381019061056391906138d9565b6113c7565b005b610584600480360381019061057f91906135bd565b611482565b604051610591919061341a565b60405180910390f35b6105a261152a565b005b6105ac6115ef565b6040516105b9919061361d565b60405180910390f35b6105dc60048036038101906105d79190613a2c565b611608565b005b6105f860048036038101906105f39190613510565b611704565b60405161060591906134bd565b60405180910390f35b61061661184d565b604051610623919061361d565b60405180910390f35b610634611866565b604051610641919061361d565b60405180910390f35b610664600480360381019061065f9190613aac565b611880565b60405161067191906136bf565b60405180910390f35b610694600480360381019061068f9190613510565b611902565b005b6106b060048036038101906106ab9190613aac565b611dbf565b6040516106bd919061341a565b60405180910390f35b6106ce611e4d565b6040516106db919061357a565b60405180910390f35b5f7f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610756575061075582611e72565b5b9050919050565b60605f805461076b90613b17565b80601f016020809104026020016040519081016040528092919081815260200182805461079790613b17565b80156107e25780601f106107b9576101008083540402835291602001916107e2565b820191905f5260205f20905b8154815290600101906020018083116107c557829003601f168201915b5050505050905090565b5f6107f682611edb565b60035f8381526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b600760089054906101000a900460ff166108515761084c8282611f26565b610862565b5f33905061086081848461203c565b505b5050565b600660189054906101000a900467ffffffffffffffff1681565b600560089054906101000a900467ffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610929576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161092090613b91565b60405180910390fd5b82600560106101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555081600560186101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055508060065f6101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550505050565b5f60085f9054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16905090565b5f8073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1603610a4d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a4490613c1f565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603610abb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ab290613cad565b60405180910390fd5b600760089054906101000a900460ff16610b2f57610ae0610ada61220b565b83612212565b610b1f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1690613d3b565b60405180910390fd5b610b2a8484846122a6565b610b46565b610b3a8433846123e2565b610b4584848461246d565b5b600190509392505050565b600660109054906101000a900467ffffffffffffffff1681565b5f6001905090565b600760089054906101000a900460ff1681565b5f600954905090565b600760089054906101000a900460ff1615610bdf576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bd690613da3565b60405180910390fd5b610bf983838360405180602001604052805f815250611608565b505050565b5f80838333600160085f9054906101000a90046fffffffffffffffffffffffffffffffff16610c2d9190613e09565b604051602001610c409493929190613f19565b604051602081830303815290604052805190602001205f1c90505f600560089054906101000a900467ffffffffffffffff1667ffffffffffffffff168567ffffffffffffffff1611610c93576001610cb6565b600560089054906101000a900467ffffffffffffffff1685610cb59190613f66565b5b67ffffffffffffffff1690505f610d2560065f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1660085f9054906101000a90046fffffffffffffffffffffffffffffffff16610d0e9190613fce565b6fffffffffffffffffffffffffffffffff166126c5565b610d59600560189054906101000a900467ffffffffffffffff1667ffffffffffffffff1684610d549190613ffe565b6126c5565b610d996001600560109054906101000a900467ffffffffffffffff1667ffffffffffffffff1689610d8a9190613ffe565b610d94919061402e565b6126c5565b610da3919061402e565b610dad919061402e565b90505f8184610dbc9190614061565b14935050505092915050565b5f8060025f8481526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690505f73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610e6b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e62906140db565b60405180910390fd5b80915050919050565b60075f9054906101000a900467ffffffffffffffff1681565b5f8073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603610efc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ef390614169565b60405180910390fd5b600760089054906101000a900460ff16610f5357600c5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054610f92565b600b5f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20545b9050919050565b600760089054906101000a900460ff1615610fe9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fe0906141d1565b60405180910390fd5b5f5b828290508110156111b8573373ffffffffffffffffffffffffffffffffffffffff1660025f858585818110611023576110226141ef565b5b9050602002013581526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146110ad576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110a490614266565b60405180910390fd5b600e5f8484848181106110c3576110c26141ef565b5b9050602002013581526020019081526020015f205f9054906101000a900460ff1615611124576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161111b906142ce565b60405180910390fd5b6001600e5f85858581811061113c5761113b6141ef565b5b9050602002013581526020019081526020015f205f6101000a81548160ff02191690831515021790555060105f84848481811061117c5761117b6141ef565b5b9050602002013581526020019081526020015f206001015460095f8282546111a4919061402e565b925050819055508080600101915050610feb565b50600260055f9054906101000a900467ffffffffffffffff166111db91906142ec565b67ffffffffffffffff16600954111561120a576001600760086101000a81548160ff0219169083151502179055505b5050565b600660089054906101000a900467ffffffffffffffff1681565b6060600f805461123790613b17565b80601f016020809104026020016040519081016040528092919081815260200182805461126390613b17565b80156112ae5780601f10611285576101008083540402835291602001916112ae565b820191905f5260205f20905b81548152906001019060200180831161129157829003601f168201915b5050505050905090565b600560109054906101000a900467ffffffffffffffff1681565b3373ffffffffffffffffffffffffffffffffffffffff16600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611361576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161135890613b91565b60405180910390fd5b80600a5f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600760089054906101000a900460ff166113c3576113c282826127bb565b5b5050565b3373ffffffffffffffffffffffffffffffffffffffff16600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611456576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161144d90613b91565b60405180910390fd5b80600560086101000a81548167ffffffffffffffff021916908367ffffffffffffffff16021790555050565b5f600760089054906101000a900460ff1615611512575f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611506576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114fd9061438c565b60405180910390fd5b61151133848461246d565b5b600760089054906101000a900460ff16905092915050565b600760089054906101000a900460ff1615801561159357503373ffffffffffffffffffffffffffffffffffffffff16600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16145b6115d2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016115c9906141d1565b60405180910390fd5b6001600760086101000a81548160ff021916908315150217905550565b60065f9054906101000a900467ffffffffffffffff1681565b600760089054906101000a900460ff1615611658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161164f90613da3565b60405180910390fd5b61166961166361220b565b83612212565b6116a8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161169f90613d3b565b60405180910390fd5b6116b38484846122a6565b6116bf848484846127d1565b6116fe576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116f59061441a565b60405180910390fd5b50505050565b6060600760089054906101000a900460ff1615611756576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161174d90613da3565b60405180910390fd5b5f604051806101a0016040528061016881526020016156586101689139905060608160105f8681526020019081526020015f205f0160405160200161179c9291906145ca565b6040516020818303038152906040529050806117cb60105f8781526020019081526020015f2060010154612953565b6040516020016117dc9291906146a2565b60405160208183030381529060405290505f61181e6117fa83612aac565b60405160200161180a91906147d6565b604051602081830303815290604052612aac565b905080604051602001611831919061484c565b6040516020818303038152906040529250829350505050919050565b60055f9054906101000a900467ffffffffffffffff1681565b600560189054906101000a900467ffffffffffffffff1681565b5f600d5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054905092915050565b5f8111611944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161193b906148b7565b60405180910390fd5b600660189054906101000a900467ffffffffffffffff1667ffffffffffffffff168111156119a7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199e9061491f565b60405180910390fd5b60075f9054906101000a900467ffffffffffffffff1667ffffffffffffffff1681600b5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2054611a10919061402e565b1115611a51576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a4890614987565b60405180910390fd5b60055f9054906101000a900467ffffffffffffffff1667ffffffffffffffff168160085f9054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff16611aac919061402e565b1115611aed576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae4906149ef565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff163273ffffffffffffffffffffffffffffffffffffffff1614611b5b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b5290614a57565b60405180910390fd5b611b654382610bfe565b611ba4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9b90614abf565b60405180910390fd5b600660089054906101000a900467ffffffffffffffff1667ffffffffffffffff16431115611c235743600660086101000a81548167ffffffffffffffff021916908367ffffffffffffffff1602179055505f600660106101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550611cce565b6064600660109054906101000a900467ffffffffffffffff1667ffffffffffffffff1610611c86576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611c7d90614b73565b60405180910390fd5b6006601081819054906101000a900467ffffffffffffffff168092919060010191906101000a81548167ffffffffffffffff021916908367ffffffffffffffff160217905550505b5f600f611cda83612953565b604051602001611ceb929190614cdf565b6040516020818303038152906040529050611d3733600760099054906101000a90046fffffffffffffffffffffffffffffffff166fffffffffffffffffffffffffffffffff1684612c3c565b3373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167f0e2c612cd3a6965782a48c7f571f155667c3c913eb3b6f0af0a004652b8fdc6d83604051602001611d979190614d51565b604051602081830303815290604052604051611db391906134bd565b60405180910390a35050565b5f60045f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f9054906101000a900460ff16905092915050565b600a5f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b5f7f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b611ee481612e6c565b611f23576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f1a906140db565b60405180910390fd5b50565b5f611f3082610dc8565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603611fa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f9790614de6565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16611fbf61220b565b73ffffffffffffffffffffffffffffffffffffffff161480611fee5750611fed81611fe861220b565b611dbf565b5b61202d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161202490614e74565b60405180910390fd5b6120378383612ed4565b505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036120aa576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016120a190614f02565b60405180910390fd5b5f73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1603612118576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161210f90614f90565b60405180910390fd5b80600d5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f2081905550600760089054906101000a900460ff161561220657808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45b505050565b5f33905090565b5f8061221d83610dc8565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061225f575061225e8185611dbf565b5b8061229d57508373ffffffffffffffffffffffffffffffffffffffff16612285846107ec565b73ffffffffffffffffffffffffffffffffffffffff16145b91505092915050565b6122b1838383612f8a565b6122d0838360105f8581526020019081526020015f206001015461246d565b6001600c5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461231d9190614fae565b925050819055506001600c5f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f828254612371919061402e565b92505081905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a46123dd5f82612ed4565b505050565b5f6123ed8484611880565b90507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff81146124675781811015612459576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124509061502b565b60405180910390fd5b612466848484840361203c565b5b50505050565b612478838383613054565b5f600b5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f20549050818110156124fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124f3906150b9565b60405180910390fd5b818103600b5f8673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f208190555081600b5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f82825461258c919061402e565b925050819055505f61259d83612953565b6040516020016125ad9190615147565b60405160208183030381529060405290508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f0e2c612cd3a6965782a48c7f571f155667c3c913eb3b6f0af0a004652b8fdc6d8360405160200161261e9190614d51565b60405160208183030381529060405260405161263a91906134bd565b60405180910390a361264d8585856130f2565b600760089054906101000a900460ff16156126be57828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b5f8082036126d5575f90506127b6565b5f60016126e1846130f7565b901c6001901b905060018184816126fb576126fa613fa1565b5b048201901c9050600181848161271457612713613fa1565b5b048201901c9050600181848161272d5761272c613fa1565b5b048201901c9050600181848161274657612745613fa1565b5b048201901c9050600181848161275f5761275e613fa1565b5b048201901c9050600181848161277857612777613fa1565b5b048201901c9050600181848161279157612790613fa1565b5b048201901c90506127b2818285816127ac576127ab613fa1565b5b046131ce565b9150505b919050565b6127cd6127c661220b565b83836131e6565b5050565b5f6127f18473ffffffffffffffffffffffffffffffffffffffff1661334d565b15612946578373ffffffffffffffffffffffffffffffffffffffff1663150b7a0261281a61220b565b8786866040518563ffffffff1660e01b815260040161283c94939291906151bf565b6020604051808303815f875af192505050801561287757506040513d601f19601f82011682018060405250810190612874919061521d565b60015b6128f6573d805f81146128a5576040519150601f19603f3d011682016040523d82523d5f602084013e6128aa565b606091505b505f8151036128ee576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016128e59061441a565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161491505061294b565b600190505b949350505050565b60605f8203612999576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612aa7565b5f8290505f5b5f82146129c85780806129b190615248565b915050600a826129c19190613ffe565b915061299f565b5f8167ffffffffffffffff8111156129e3576129e2613908565b5b6040519080825280601f01601f191660200182016040528015612a155781602001600182028036833780820191505090505b5090505b5f8514612aa057600182612a2d9190614fae565b9150600a85612a3c9190614061565b6030612a48919061402e565b60f81b818381518110612a5e57612a5d6141ef565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff191690815f1a905350600a85612a999190613ffe565b9450612a19565b8093505050505b919050565b60605f825190505f8103612ad15760405180602001604052805f815250915050612c37565b5f6003600283612ae1919061402e565b612aeb9190613ffe565b6004612af7919061528f565b90505f602082612b07919061402e565b67ffffffffffffffff811115612b2057612b1f613908565b5b6040519080825280601f01601f191660200182016040528015612b525781602001600182028036833780820191505090505b5090505f6040518060600160405280604081526020016157c060409139905060018101602083015f5b86811015612bf45760038101905062ffffff818a015116603f8160121c168401518060081b905060ff603f83600c1c1686015116810190508060081b905060ff603f8360061c1686015116810190508060081b905060ff603f831686015116810190508060e01b90508084526004840193505050612b7b565b506003860660018114612c0e5760028114612c1e57612c29565b613d3d60f01b6002830352612c29565b603d60f81b60018303525b508484525050819450505050505b919050565b612c475f8484613054565b8060085f8282829054906101000a90046fffffffffffffffffffffffffffffffff160192506101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555080600b5f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8282540192505081905550600c5f3373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f81548092919060010191905055508260025f8481526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060405180604001604052806040518060400160405280600481526020017f6d696e740000000000000000000000000000000000000000000000000000000081525081526020018281525060105f8481526020019081526020015f205f820151815f019081612df3919061545b565b5060208201518160010155905050818373ffffffffffffffffffffffffffffffffffffffff165f73ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4612e675f84846130f2565b505050565b5f8073ffffffffffffffffffffffffffffffffffffffff1660025f8481526020019081526020015f205f9054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b8160035f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16612f4483610dc8565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b8273ffffffffffffffffffffffffffffffffffffffff16612faa82610dc8565b73ffffffffffffffffffffffffffffffffffffffff1614613000576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612ff79061559a565b60405180910390fd5b8160025f8381526020019081526020015f205f6101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550505050565b5f73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16036130ed576007600981819054906101000a90046fffffffffffffffffffffffffffffffff16809291906130b5906155b8565b91906101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff160217905550505b505050565b505050565b5f805f90505f608084901c111561311657608083901c92506080810190505b5f604084901c111561313057604083901c92506040810190505b5f602084901c111561314a57602083901c92506020810190505b5f601084901c111561316457601083901c92506010810190505b5f600884901c111561317e57600883901c92506008810190505b5f600484901c111561319857600483901c92506004810190505b5f600284901c11156131b257600283901c92506002810190505b5f600184901c11156131c5576001810190505b80915050919050565b5f8183106131dc57816131de565b825b905092915050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1603613254576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161324b90615639565b60405180910390fd5b8060045f8573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f8473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020015f205f6101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051613340919061341a565b60405180910390a3505050565b5f808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b5f604051905090565b5f80fd5b5f80fd5b5f7fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b6133b481613380565b81146133be575f80fd5b50565b5f813590506133cf816133ab565b92915050565b5f602082840312156133ea576133e9613378565b5b5f6133f7848285016133c1565b91505092915050565b5f8115159050919050565b61341481613400565b82525050565b5f60208201905061342d5f83018461340b565b92915050565b5f81519050919050565b5f82825260208201905092915050565b5f5b8381101561346a57808201518184015260208101905061344f565b5f8484015250505050565b5f601f19601f8301169050919050565b5f61348f82613433565b613499818561343d565b93506134a981856020860161344d565b6134b281613475565b840191505092915050565b5f6020820190508181035f8301526134d58184613485565b905092915050565b5f819050919050565b6134ef816134dd565b81146134f9575f80fd5b50565b5f8135905061350a816134e6565b92915050565b5f6020828403121561352557613524613378565b5b5f613532848285016134fc565b91505092915050565b5f73ffffffffffffffffffffffffffffffffffffffff82169050919050565b5f6135648261353b565b9050919050565b6135748161355a565b82525050565b5f60208201905061358d5f83018461356b565b92915050565b61359c8161355a565b81146135a6575f80fd5b50565b5f813590506135b781613593565b92915050565b5f80604083850312156135d3576135d2613378565b5b5f6135e0858286016135a9565b92505060206135f1858286016134fc565b9150509250929050565b5f67ffffffffffffffff82169050919050565b613617816135fb565b82525050565b5f6020820190506136305f83018461360e565b92915050565b61363f816135fb565b8114613649575f80fd5b50565b5f8135905061365a81613636565b92915050565b5f805f6060848603121561367757613676613378565b5b5f6136848682870161364c565b93505060206136958682870161364c565b92505060406136a68682870161364c565b9150509250925092565b6136b9816134dd565b82525050565b5f6020820190506136d25f8301846136b0565b92915050565b5f805f606084860312156136ef576136ee613378565b5b5f6136fc868287016135a9565b935050602061370d868287016135a9565b925050604061371e868287016134fc565b9150509250925092565b5f60ff82169050919050565b61373d81613728565b82525050565b5f6020820190506137565f830184613734565b92915050565b5f806040838503121561377257613771613378565b5b5f61377f8582860161364c565b9250506020613790858286016134fc565b9150509250929050565b5f602082840312156137af576137ae613378565b5b5f6137bc848285016135a9565b91505092915050565b5f80fd5b5f80fd5b5f80fd5b5f8083601f8401126137e6576137e56137c5565b5b8235905067ffffffffffffffff811115613803576138026137c9565b5b60208301915083602082028301111561381f5761381e6137cd565b5b9250929050565b5f806020838503121561383c5761383b613378565b5b5f83013567ffffffffffffffff8111156138595761385861337c565b5b613865858286016137d1565b92509250509250929050565b61387a81613400565b8114613884575f80fd5b50565b5f8135905061389581613871565b92915050565b5f80604083850312156138b1576138b0613378565b5b5f6138be858286016135a9565b92505060206138cf85828601613887565b9150509250929050565b5f602082840312156138ee576138ed613378565b5b5f6138fb8482850161364c565b91505092915050565b5f80fd5b7f4e487b71000000000000000000000000000000000000000000000000000000005f52604160045260245ffd5b61393e82613475565b810181811067ffffffffffffffff8211171561395d5761395c613908565b5b80604052505050565b5f61396f61336f565b905061397b8282613935565b919050565b5f67ffffffffffffffff82111561399a57613999613908565b5b6139a382613475565b9050602081019050919050565b828183375f83830152505050565b5f6139d06139cb84613980565b613966565b9050828152602081018484840111156139ec576139eb613904565b5b6139f78482856139b0565b509392505050565b5f82601f830112613a1357613a126137c5565b5b8135613a238482602086016139be565b91505092915050565b5f805f8060808587031215613a4457613a43613378565b5b5f613a51878288016135a9565b9450506020613a62878288016135a9565b9350506040613a73878288016134fc565b925050606085013567ffffffffffffffff811115613a9457613a9361337c565b5b613aa0878288016139ff565b91505092959194509250565b5f8060408385031215613ac257613ac1613378565b5b5f613acf858286016135a9565b9250506020613ae0858286016135a9565b9150509250929050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52602260045260245ffd5b5f6002820490506001821680613b2e57607f821691505b602082108103613b4157613b40613aea565b5b50919050565b7f53656e646572206973206e6f742070726f7879000000000000000000000000005f82015250565b5f613b7b60138361343d565b9150613b8682613b47565b602082019050919050565b5f6020820190508181035f830152613ba881613b6f565b9050919050565b7f494e5332303a207472616e736665722066726f6d20746865207a65726f2061645f8201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b5f613c0960258361343d565b9150613c1482613baf565b604082019050919050565b5f6020820190508181035f830152613c3681613bfd565b9050919050565b7f494e5332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f613c9760238361343d565b9150613ca282613c3d565b604082019050919050565b5f6020820190508181035f830152613cc481613c8b565b9050919050565b7f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e655f8201527f72206e6f7220617070726f766564000000000000000000000000000000000000602082015250565b5f613d25602e8361343d565b9150613d3082613ccb565b604082019050919050565b5f6020820190508181035f830152613d5281613d19565b9050919050565b7f4e6f7420737570706f72742045524337323120616e79206d6f72652e000000005f82015250565b5f613d8d601c8361343d565b9150613d9882613d59565b602082019050919050565b5f6020820190508181035f830152613dba81613d81565b9050919050565b5f6fffffffffffffffffffffffffffffffff82169050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601160045260245ffd5b5f613e1382613dc1565b9150613e1e83613dc1565b925082820190506fffffffffffffffffffffffffffffffff811115613e4657613e45613ddc565b5b92915050565b5f8160c01b9050919050565b5f613e6282613e4c565b9050919050565b613e7a613e75826135fb565b613e58565b82525050565b5f819050919050565b613e9a613e95826134dd565b613e80565b82525050565b5f8160601b9050919050565b5f613eb682613ea0565b9050919050565b5f613ec782613eac565b9050919050565b613edf613eda8261355a565b613ebd565b82525050565b5f8160801b9050919050565b5f613efb82613ee5565b9050919050565b613f13613f0e82613dc1565b613ef1565b82525050565b5f613f248287613e69565b600882019150613f348286613e89565b602082019150613f448285613ece565b601482019150613f548284613f02565b60108201915081905095945050505050565b5f613f70826135fb565b9150613f7b836135fb565b9250828203905067ffffffffffffffff811115613f9b57613f9a613ddc565b5b92915050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52601260045260245ffd5b5f613fd882613dc1565b9150613fe383613dc1565b925082613ff357613ff2613fa1565b5b828204905092915050565b5f614008826134dd565b9150614013836134dd565b92508261402357614022613fa1565b5b828204905092915050565b5f614038826134dd565b9150614043836134dd565b925082820190508082111561405b5761405a613ddc565b5b92915050565b5f61406b826134dd565b9150614076836134dd565b92508261408657614085613fa1565b5b828206905092915050565b7f4552433732313a20696e76616c696420746f6b656e20494400000000000000005f82015250565b5f6140c560188361343d565b91506140d082614091565b602082019050919050565b5f6020820190508181035f8301526140f2816140b9565b9050919050565b7f45524332303a2061646472657373207a65726f206973206e6f7420612076616c5f8201527f6964206f776e6572000000000000000000000000000000000000000000000000602082015250565b5f61415360288361343d565b915061415e826140f9565b604082019050919050565b5f6020820190508181035f83015261418081614147565b9050919050565b7f48617320646f6e650000000000000000000000000000000000000000000000005f82015250565b5f6141bb60088361343d565b91506141c682614187565b602082019050919050565b5f6020820190508181035f8301526141e8816141af565b9050919050565b7f4e487b71000000000000000000000000000000000000000000000000000000005f52603260045260245ffd5b7f4e6f74206f776e657200000000000000000000000000000000000000000000005f82015250565b5f61425060098361343d565b915061425b8261421c565b602082019050919050565b5f6020820190508181035f83015261427d81614244565b9050919050565b7f48617320766f74656400000000000000000000000000000000000000000000005f82015250565b5f6142b860098361343d565b91506142c382614284565b602082019050919050565b5f6020820190508181035f8301526142e5816142ac565b9050919050565b5f6142f6826135fb565b9150614301836135fb565b92508261431157614310613fa1565b5b828204905092915050565b7f45524332303a207472616e7366657220746f20746865207a65726f20616464725f8201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b5f61437660238361343d565b91506143818261431c565b604082019050919050565b5f6020820190508181035f8301526143a38161436a565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e2045524337323152655f8201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b5f61440460328361343d565b915061440f826143aa565b604082019050919050565b5f6020820190508181035f830152614431816143f8565b9050919050565b5f81905092915050565b5f61444c82613433565b6144568185614438565b935061446681856020860161344d565b80840191505092915050565b5f81905092915050565b5f819050815f5260205f209050919050565b5f815461449a81613b17565b6144a48186614472565b9450600182165f81146144be57600181146144d357614505565b60ff1983168652811515820286019350614505565b6144dc8561447c565b5f5b838110156144fd578154818901526001820191506020810190506144de565b838801955050505b50505092915050565b7f222c3c2f746578743e3c7465787420783d223133302220793d223139302220635f8201527f6c6173733d2262617365223e227469636b223a2266616972222c3c2f7465787460208201527f3e3c7465787420783d223133302220793d223232302220636c6173733d22626160408201527f7365223e22616d74223a00000000000000000000000000000000000000000000606082015250565b5f6145b4606a83614438565b91506145bf8261450e565b606a82019050919050565b5f6145d58285614442565b91506145e1828461448e565b91506145ec826145a8565b91508190509392505050565b5f81519050919050565b5f61460c826145f8565b6146168185614472565b935061462681856020860161344d565b80840191505092915050565b7f3c2f746578743e3c7465787420783d223130302220793d223235302220636c615f8201527f73733d2262617365223e7d3c2f746578743e3c2f7376673e0000000000000000602082015250565b5f61468c603883614438565b915061469782614632565b603882019050919050565b5f6146ad8285614602565b91506146b98284614602565b91506146c482614680565b91508190509392505050565b7f7b226465736372697074696f6e223a2022464149522d494e53323020697320615f8201527f20736f6369616c206578706572696d656e7420616e642061206661697220646960208201527f73747269627574696f6e206f6620494e5332302e222c2022696d616765223a2060408201527f22646174613a696d6167652f7376672b786d6c3b6261736536342c0000000000606082015250565b5f614776607b83614438565b9150614781826146d0565b607b82019050919050565b7f227d0000000000000000000000000000000000000000000000000000000000005f82015250565b5f6147c0600283614438565b91506147cb8261478c565b600282019050919050565b5f6147e08261476a565b91506147ec8284614442565b91506147f7826147b4565b915081905092915050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000005f82015250565b5f614836601d83614438565b915061484182614802565b601d82019050919050565b5f6148568261482a565b91506148628284614442565b915081905092915050565b7f416d6f756e74206d7573742062652067726561746572207468616e207a65726f5f82015250565b5f6148a160208361343d565b91506148ac8261486d565b602082019050919050565b5f6020820190508181035f8301526148ce81614895565b9050919050565b7f457863656564656420706572207478206c696d697400000000000000000000005f82015250565b5f61490960158361343d565b9150614914826148d5565b602082019050919050565b5f6020820190508181035f830152614936816148fd565b9050919050565b7f4578636565646564207065722077616c6c6574206c696d6974000000000000005f82015250565b5f61497160198361343d565b915061497c8261493d565b602082019050919050565b5f6020820190508181035f83015261499e81614965565b9050919050565b7f4578636565646564206d617820737570706c79000000000000000000000000005f82015250565b5f6149d960138361343d565b91506149e4826149a5565b602082019050919050565b5f6020820190508181035f830152614a06816149cd565b9050919050565b7f436f6e74726163747320617265206e6f7420616c6c6f776564000000000000005f82015250565b5f614a4160198361343d565b9150614a4c82614a0d565b602082019050919050565b5f6020820190508181035f830152614a6e81614a35565b9050919050565b7f4d696e74696e6720616c676f206661696c6564000000000000000000000000005f82015250565b5f614aa960138361343d565b9150614ab482614a75565b602082019050919050565b5f6020820190508181035f830152614ad681614a9d565b9050919050565b7f4f6e6c7920313030207469636b732070657220626c6f636b2e205573696e67205f8201527f466c617368626f74732063616e2070726576656e74206661696c65642074786560208201527f732e000000000000000000000000000000000000000000000000000000000000604082015250565b5f614b5d60428361343d565b9150614b6882614add565b606082019050919050565b5f6020820190508181035f830152614b8a81614b51565b9050919050565b7f7b2270223a22696e732d3230222c226f70223a226d696e74222c227469636b225f8201527f3a22000000000000000000000000000000000000000000000000000000000000602082015250565b5f614beb602283614438565b9150614bf682614b91565b602282019050919050565b5f819050815f5260205f209050919050565b5f8154614c1f81613b17565b614c298186614438565b9450600182165f8114614c435760018114614c5857614c8a565b60ff1983168652811515820286019350614c8a565b614c6185614c01565b5f5b83811015614c8257815481890152600182019150602081019050614c63565b838801955050505b50505092915050565b7f222c22616d74223a220000000000000000000000000000000000000000000000815250565b7f227d000000000000000000000000000000000000000000000000000000000000815250565b5f614ce982614bdf565b9150614cf58285614c13565b9150614d0082614c93565b600982019150614d108284614442565b9150614d1b82614cb9565b6002820191508190509392505050565b7f646174613a746578742f706c61696e3b636861727365743d7574662d38000000815250565b5f614d5b82614d2b565b601d82019150614d6b8284614442565b915081905092915050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e655f8201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b5f614dd060218361343d565b9150614ddb82614d76565b604082019050919050565b5f6020820190508181035f830152614dfd81614dc4565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f7420746f5f8201527f6b656e206f776e6572206e6f7220617070726f76656420666f7220616c6c0000602082015250565b5f614e5e603e8361343d565b9150614e6982614e04565b604082019050919050565b5f6020820190508181035f830152614e8b81614e52565b9050919050565b7f45524332303a20617070726f76652066726f6d20746865207a65726f206164645f8201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b5f614eec60248361343d565b9150614ef782614e92565b604082019050919050565b5f6020820190508181035f830152614f1981614ee0565b9050919050565b7f45524332303a20617070726f766520746f20746865207a65726f2061646472655f8201527f7373000000000000000000000000000000000000000000000000000000000000602082015250565b5f614f7a60228361343d565b9150614f8582614f20565b604082019050919050565b5f6020820190508181035f830152614fa781614f6e565b9050919050565b5f614fb8826134dd565b9150614fc3836134dd565b9250828203905081811115614fdb57614fda613ddc565b5b92915050565b7f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000005f82015250565b5f615015601d8361343d565b915061502082614fe1565b602082019050919050565b5f6020820190508181035f83015261504281615009565b9050919050565b7f45524332303a207472616e7366657220616d6f756e74206578636565647320625f8201527f616c616e63650000000000000000000000000000000000000000000000000000602082015250565b5f6150a360268361343d565b91506150ae82615049565b604082019050919050565b5f6020820190508181035f8301526150d081615097565b9050919050565b7f7b2270223a22696e732d3230222c226f70223a227472616e73666572222c22745f8201527f69636b223a2246414952222c22616d74223a2200000000000000000000000000602082015250565b5f615131603383614438565b915061513c826150d7565b603382019050919050565b5f61515182615125565b915061515d8284614442565b915061516882614cb9565b60028201915081905092915050565b5f82825260208201905092915050565b5f615191826145f8565b61519b8185615177565b93506151ab81856020860161344d565b6151b481613475565b840191505092915050565b5f6080820190506151d25f83018761356b565b6151df602083018661356b565b6151ec60408301856136b0565b81810360608301526151fe8184615187565b905095945050505050565b5f81519050615217816133ab565b92915050565b5f6020828403121561523257615231613378565b5b5f61523f84828501615209565b91505092915050565b5f615252826134dd565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff820361528457615283613ddc565b5b600182019050919050565b5f615299826134dd565b91506152a4836134dd565b92508282026152b2816134dd565b915082820484148315176152c9576152c8613ddc565b5b5092915050565b5f6020601f8301049050919050565b5f82821b905092915050565b5f6008830261531a7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff826152df565b61532486836152df565b95508019841693508086168417925050509392505050565b5f819050919050565b5f61535f61535a615355846134dd565b61533c565b6134dd565b9050919050565b5f819050919050565b61537883615345565b61538c61538482615366565b8484546152eb565b825550505050565b5f90565b6153a0615394565b6153ab81848461536f565b505050565b5b818110156153ce576153c35f82615398565b6001810190506153b1565b5050565b601f821115615413576153e481614c01565b6153ed846152d0565b810160208510156153fc578190505b615410615408856152d0565b8301826153b0565b50505b505050565b5f82821c905092915050565b5f6154335f1984600802615418565b1980831691505092915050565b5f61544b8383615424565b9150826002028217905092915050565b61546482613433565b67ffffffffffffffff81111561547d5761547c613908565b5b6154878254613b17565b6154928282856153d2565b5f60209050601f8311600181146154c3575f84156154b1578287015190505b6154bb8582615440565b865550615522565b601f1984166154d186614c01565b5f5b828110156154f8578489015182556001820191506020850194506020810190506154d3565b868310156155155784890151615511601f891682615424565b8355505b6001600288020188555050505b505050505050565b7f4552433732313a207472616e736665722066726f6d20696e636f7272656374205f8201527f6f776e6572000000000000000000000000000000000000000000000000000000602082015250565b5f61558460258361343d565b915061558f8261552a565b604082019050919050565b5f6020820190508181035f8301526155b181615578565b9050919050565b5f6155c282613dc1565b91506fffffffffffffffffffffffffffffffff82036155e4576155e3613ddc565b5b600182019050919050565b7f4552433732313a20617070726f766520746f2063616c6c6572000000000000005f82015250565b5f61562360198361343d565b915061562e826155ef565b602082019050919050565b5f6020820190508181035f83015261565081615617565b905091905056fe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e203c7374796c653e2e62617365207b2066696c6c3a20677265656e3b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d223130302220793d223130302220636c6173733d2262617365223e7b3c2f746578743e3c7465787420783d223133302220793d223133302220636c6173733d2262617365223e2270223a22696e732d3230222c3c2f746578743e3c7465787420783d223133302220793d223136302220636c6173733d2262617365223e226f70223a224142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa26469706673582212203b90549726f99844747ff4b084129b3023cfac72ff8cbc9657357ac4d8902db564736f6c63430008160033

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

00000000000000000000000000000000000000000000000000000000000001200000000000000000000000000000000000000000000000000000000001406f4000000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000003e80000000000000000000000009855d793b675bdc589d8eeff7078f6a0d5d2d5370000000000000000000000000000000000000000000000000000000001200020000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000003e800000000000000000000000000000000000000000000000000000000000186a000000000000000000000000000000000000000000000000000000000000000044641495200000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : tick (string): FAIR
Arg [1] : maxSupply_ (uint64): 21000000
Arg [2] : perWalletLimitAmount_ (uint64): 1000
Arg [3] : perTxLimitAmount_ (uint64): 1000
Arg [4] : proxy_ (address): 0x9855d793B675bDC589D8eEff7078F6a0d5d2d537
Arg [5] : initialBlockNum_ (uint64): 18874400
Arg [6] : amtDifficulty_ (uint64): 10
Arg [7] : blockDifficulty_ (uint64): 1000
Arg [8] : totalSupplyDifficulty_ (uint64): 100000

-----Encoded View---------------
11 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000120
Arg [1] : 0000000000000000000000000000000000000000000000000000000001406f40
Arg [2] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [3] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [4] : 0000000000000000000000009855d793b675bdc589d8eeff7078f6a0d5d2d537
Arg [5] : 0000000000000000000000000000000000000000000000000000000001200020
Arg [6] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [7] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [8] : 00000000000000000000000000000000000000000000000000000000000186a0
Arg [9] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [10] : 4641495200000000000000000000000000000000000000000000000000000000


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

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