ETH Price: $3,554.20 (+6.83%)

Token

uni-20 (UNIC)
 

Overview

Max Total Supply

2,099,900 UNIC

Holders

2,209

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
Balance
0.6 UNIC
0x4C5BF042cd8208501c141436A0C9c667dD9935dF
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:
UNI20

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 20000 runs

Other Settings:
istanbul EvmVersion
File 1 of 12 : Inscription.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.4;

import "./ERC20/IERC20.sol";
import "./ERC721/ERC721.sol";
import "./ERC721/IERC721.sol";
import "./Base64.sol";

struct Tick {
  string op;
  uint256 amt;
}

contract UNI20 is IERC20, ERC721 {
  uint64 public maxSupply; // 21,000,000
  uint64 public mintLimit; // 1000
  uint64 public lastBlock;
  uint64 public mintedPer;

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

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

  address public proxy;

  // -------- IERC20 --------
  mapping(address => uint256) internal _balances;
  mapping(address => uint256) internal _insBalances;
  mapping(address => mapping(address => uint256)) private _allowances;
  string private _tick;

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

  constructor(
    string memory tick,
    uint64 maxSupply_,
    uint64 mintLimit_,
    address proxy_
  ) ERC721("uni-20", tick) {
    _tick = tick;
    // hashPre = keccak256(
    //   string.concat(
    //     '{"p":"uni-20","op":"mint","tick":"',
    //     bytes(tick),
    //     '","amt":"'
    //   )
    // );
    // hashTail = keccak256(bytes('"}'));
    hash = keccak256(
      string.concat(
        '{"p":"uni-20","op":"mint","tick":"',
        bytes(tick),
        '","amt":"1000"}'
      )
    );
    maxSupply = maxSupply_;
    mintLimit = mintLimit_;
    proxy = proxy_;
  }

  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(bytes calldata data) public {
    require(keccak256(data) == hash, "Inscribe data is wrong.");
    require(tx.origin == msg.sender, "Contracts are not allowed");

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

    // string memory d = string(data);
    // uint256 amt = extractAmt(d);
    // For lower gas
    uint256 amt = 1000;

    require(amt <= mintLimit, "Exceeded mint limit");
    require(_totalSupply + amt < maxSupply, "Exceeded max supply");
    _mint(msg.sender, tickNumber, amt);

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

  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);
  }

  /* function extractAmt(string memory json) internal view returns (uint256) {
    // index of amt's value
    uint amtStart = 47;

    bytes memory jsonBytes = bytes(json);
    require(
      jsonBytes.length == 53,
      'Inscribe data is wrong.'
    );

    // verify pre hash
    bytes memory pre = new bytes(amtStart);
    for (uint256 i = 0; i < amtStart; i++) {
      pre[i] = jsonBytes[i];
    }
    require(
      keccak256(pre) == hashPre,
      'Inscribe data is wrong.'
    );

    // index of amt's value end
    uint256 end = amtStart;
    while (end < jsonBytes.length && jsonBytes[end] != '"') {
      end++;
    }

    // get the value of amt
    bytes memory amtBytes = new bytes(end - amtStart);
    for (uint i; i < end - amtStart; i++) {
      amtBytes[i] = jsonBytes[amtStart + i];
    }

    // verify tail hash
    bytes memory tail = new bytes(2);
    tail[0] = jsonBytes[jsonBytes.length - 2];
    tail[1] = jsonBytes[jsonBytes.length - 1];
    require(
      keccak256(tail) == hashTail,
      'Inscribe data is wrong.'
    );

    // convert to uint
    uint result = 0;
    for (uint i = 0; i < amtBytes.length; i++) {
      uint256 amt = uint256(uint8(amtBytes[i]));
      // ASCII
      if (amt < 48 || amt > 57) {
        revert("Non-numeric character encountered");
      }

      result = result * 10 + (amt - 48);
    }
    return result;
  } */

  // -------- 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), "UNI20: transfer from the zero address");
    require(to != address(0), "UNI20: 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(
      string.concat(
        '{"p":"uni-20","op":"transfer","tick":"UNIC","amt":"',
        bytes(toString(amount)),
        '"}'
      )
    );
    emit Inscribe(
      from,
      to,
      string(string.concat("data:text/plain;charset=utf-8", bytes(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;
  }

  // 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: white; 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":"uni-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":"unic",</text><text x="130" y="220" class="base">"amt":'
    );
    data = abi.encodePacked(
      data,
      bytes(toString(_tickets[tokenID].amt)),
      '</text><text x="100" y="250" class="base">}</text></svg>'
    );

    string memory json = Base64.encode(
      bytes(
        string(
          abi.encodePacked(
            '{"description": "UNI20 is a social experiment, the alternative inscription experiment on EVM.", "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) {}

  function toString(uint256 value) internal pure returns (string memory) {
    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);
  }
}

File 2 of 12 : 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 3 of 12 : ERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/ERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Implementation of https://eips.ethereum.org/EIPS/eip-721[ERC721] Non-Fungible Token Standard, including
 * the Metadata extension, but not including the Enumerable extension, which is available separately as
 * {ERC721Enumerable}.
 */
contract ERC721 is Context, ERC165, 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 12 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
  /**
   * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
   */
  event Transfer(
    address indexed from,
    address indexed to,
    uint256 indexed 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 5 of 12 : 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 6 of 12 : 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 7 of 12 : 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 8 of 12 : 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 12 : 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 10 of 12 : 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 11 of 12 : 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 12 of 12 : 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
{
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 20000
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs"
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "istanbul",
  "libraries": {}
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"tick","type":"string"},{"internalType":"uint64","name":"maxSupply_","type":"uint64"},{"internalType":"uint64","name":"mintLimit_","type":"uint64"},{"internalType":"address","name":"proxy_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"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":[{"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":"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":"hash","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"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":"mintLimit","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mintedPer","outputs":[{"internalType":"uint64","name":"","type":"uint64"}],"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":"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":"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":[{"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"}]

60a06040523480156200001157600080fd5b5060405162003362380380620033628339810160408190526200003491620001f6565b604080518082019091526006808252650756e692d32360d41b60208301908152869162000064916000916200011b565b5080516200007a9060019060208401906200011b565b50508451620000929150600c9060208701906200011b565b5083604051602001620000a69190620002e4565b60408051808303601f190181529190528051602090910120608052600580546001600160401b039485166001600160801b031990911617680100000000000000009390941692909202929092179055600880546001600160a01b0319166001600160a01b0390921691909117905550620003d5565b828054620001299062000382565b90600052602060002090601f0160209004810192826200014d576000855562000198565b82601f106200016857805160ff191683800117855562000198565b8280016001018555821562000198579182015b82811115620001985782518255916020019190600101906200017b565b50620001a6929150620001aa565b5090565b5b80821115620001a65760008155600101620001ab565b80516001600160a01b0381168114620001d957600080fd5b919050565b80516001600160401b0381168114620001d957600080fd5b600080600080608085870312156200020c578384fd5b84516001600160401b038082111562000223578586fd5b818701915087601f83011262000237578586fd5b8151818111156200024c576200024c620003bf565b604051601f8201601f19908116603f01168101908382118183101715620002775762000277620003bf565b816040528281528a602084870101111562000290578889fd5b620002a38360208301602088016200034f565b8098505050505050620002b960208601620001de565b9250620002c960408601620001de565b9150620002d960608601620001c1565b905092959194509250565b7f7b2270223a22756e692d3230222c226f70223a226d696e74222c227469636b228152611d1160f11b602082015260008251620003298160228501602087016200034f565b6e222c22616d74223a2231303030227d60881b6022939091019283015250603101919050565b60005b838110156200036c57818101518382015260200162000352565b838111156200037c576000848401525b50505050565b600181811c908216806200039757607f821691505b60208210811415620003b957634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b608051612f6a620003f860003960008181610242015261087f0152612f6a6000f3fe608060405234801561001057600080fd5b50600436106101ae5760003560e01c806370a08231116100ee578063aa32ddcc11610097578063d5abeb0111610071578063d5abeb01146103f4578063dd62ed3e14610408578063e985e9c51461044e578063ec5568891461049757600080fd5b8063aa32ddcc146103c6578063b88d4fde146103ce578063c87b56dd146103e157600080fd5b8063996517cf116100c8578063996517cf14610380578063a22cb465146103a0578063a9059cbb146103b357600080fd5b806370a082311461033d578063806b984f1461035057806395d89b411461037857600080fd5b806323b872dd1161015b57806331a462da1161013557806331a462da146102f757806342842e0e14610304578063449b2cf6146103175780636352211e1461032a57600080fd5b806323b872dd1461028c5780632910b20a1461029f578063313ce567146102e857600080fd5b8063095ea7b31161018c578063095ea7b31461022857806309bd5a601461023d57806318160ddd1461027257600080fd5b806301ffc9a7146101b357806306fdde03146101db578063081812fc146101f0575b600080fd5b6101c66101c136600461259b565b6104b7565b60405190151581526020015b60405180910390f35b6101e3610550565b6040516101d29190612b41565b6102036101fe366004612640565b6105e2565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101d2565b61023b610236366004612572565b610616565b005b6102647f000000000000000000000000000000000000000000000000000000000000000081565b6040519081526020016101d2565b6007546fffffffffffffffffffffffffffffffff16610264565b6101c661029a36600461240a565b61063f565b6005546102cf907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020016101d2565b604051600181526020016101d2565b6006546101c69060ff1681565b61023b61031236600461240a565b61080f565b61023b6103253660046125d3565b61087d565b610203610338366004612640565b610c77565b61026461034b3660046123b7565b610ce9565b6005546102cf90700100000000000000000000000000000000900467ffffffffffffffff1681565b6101e3610dd2565b6005546102cf9068010000000000000000900467ffffffffffffffff1681565b61023b6103ae366004612538565b610de1565b6101c66103c1366004612572565b610df5565b61023b610ea4565b61023b6103dc366004612445565b610f47565b6101e36103ef366004612640565b6110a4565b6005546102cf9067ffffffffffffffff1681565b6102646104163660046123d8565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600b6020908152604080832093909416825291909152205490565b6101c661045c3660046123d8565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b6008546102039073ffffffffffffffffffffffffffffffffffffffff1681565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061054a57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606000805461055f90612c00565b80601f016020809104026020016040519081016040528092919081815260200182805461058b90612c00565b80156105d85780601f106105ad576101008083540402835291602001916105d8565b820191906000526020600020905b8154815290600101906020018083116105bb57829003601f168201915b5050505050905090565b60006105ed8261122d565b5060009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60065460ff1661062e5761062a82826112a1565b5050565b3361063a818484611341565b505050565b600073ffffffffffffffffffffffffffffffffffffffff84166106cf5760405162461bcd60e51b815260206004820152602560248201527f554e4932303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff83166107585760405162461bcd60e51b815260206004820152602360248201527f554e4932303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106c6565b60065460ff166107ef5761076d335b836114f2565b6107df5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f76656400000000000000000000000000000000000060648201526084016106c6565b6107ea8484846115b2565b610805565b6107fa8433846116a5565b61080584848461175c565b5060019392505050565b60065460ff16156108625760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420737570706f72742045524337323120616e79206d6f72652e0000000060448201526064016106c6565b61063a83838360405180602001604052806000815250610f47565b7f000000000000000000000000000000000000000000000000000000000000000082826040516108ae9291906126a2565b6040518091039020146109035760405162461bcd60e51b815260206004820152601760248201527f496e73637269626520646174612069732077726f6e672e00000000000000000060448201526064016106c6565b3233146109525760405162461bcd60e51b815260206004820152601960248201527f436f6e74726163747320617265206e6f7420616c6c6f7765640000000000000060448201526064016106c6565b600554700100000000000000000000000000000000900467ffffffffffffffff164311156109d057600580546fffffffffffffffffffffffffffffffff167001000000000000000000000000000000004367ffffffffffffffff160277ffffffffffffffffffffffffffffffffffffffffffffffff16179055610ae9565b600554600a780100000000000000000000000000000000000000000000000090910467ffffffffffffffff1610610a955760405162461bcd60e51b815260206004820152604160248201527f4f6e6c79203130207469636b732070657220626c6f636b2e205573696e67204660448201527f6c617368626f74732063616e2070726576656e74206661696c6564207478657360648201527f2e00000000000000000000000000000000000000000000000000000000000000608482015260a4016106c6565b60058054600167ffffffffffffffff7801000000000000000000000000000000000000000000000000808404821692909201160277ffffffffffffffffffffffffffffffffffffffffffffffff9091161790555b6005546103e89068010000000000000000900467ffffffffffffffff16811115610b555760405162461bcd60e51b815260206004820152601360248201527f4578636565646564206d696e74206c696d69740000000000000000000000000060448201526064016106c6565b60055460075467ffffffffffffffff90911690610b859083906fffffffffffffffffffffffffffffffff16612b54565b10610bd25760405162461bcd60e51b815260206004820152601360248201527f4578636565646564206d617820737570706c790000000000000000000000000060448201526064016106c6565b600654610bf890339061010090046fffffffffffffffffffffffffffffffff1683611987565b60405133906000907f0e2c612cd3a6965782a48c7f571f155667c3c913eb3b6f0af0a004652b8fdc6d90610c3290879087906020016129f5565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052610c6a91612b41565b60405180910390a3505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff168061054a5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016106c6565b600073ffffffffffffffffffffffffffffffffffffffff8216610d745760405162461bcd60e51b815260206004820152602860248201527f45524332303a2061646472657373207a65726f206973206e6f7420612076616c60448201527f6964206f776e657200000000000000000000000000000000000000000000000060648201526084016106c6565b60065460ff16610da95773ffffffffffffffffffffffffffffffffffffffff82166000908152600a602052604090205461054a565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526009602052604090205490565b6060600c805461055f90612c00565b60065460ff1661062a5761062a8282611afe565b60065460009060ff1615610e975773ffffffffffffffffffffffffffffffffffffffff8316610e8c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106c6565b610e9733848461175c565b5060065460ff1692915050565b60065460ff16158015610ece575060085473ffffffffffffffffffffffffffffffffffffffff1633145b610f1a5760405162461bcd60e51b815260206004820152600860248201527f48617320646f6e6500000000000000000000000000000000000000000000000060448201526064016106c6565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60065460ff1615610f9a5760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420737570706f72742045524337323120616e79206d6f72652e0000000060448201526064016106c6565b610fa333610767565b6110155760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f76656400000000000000000000000000000000000060648201526084016106c6565b6110208484846115b2565b61102c84848484611b09565b61109e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106c6565b50505050565b60065460609060ff16156110fa5760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420737570706f72742045524337323120616e79206d6f72652e0000000060448201526064016106c6565b6000604051806101a001604052806101688152602001612d8d61016891399050606081600d600086815260200190815260200160002060000160405160200161114492919061272f565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526000868152600d6020522060010154909150819061118f90611cee565b6040516020016111a09291906126b2565b604051602081830303815290604052905060006111e36111bf83611e6e565b6040516020016111cf91906128ac565b604051602081830303815290604052611e6e565b9050806040516020016111f691906129b0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905295945050505050565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1661129e5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016106c6565b50565b600081815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906112fb82610c77565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b73ffffffffffffffffffffffffffffffffffffffff83166113c95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106c6565b73ffffffffffffffffffffffffffffffffffffffff82166114525760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106c6565b73ffffffffffffffffffffffffffffffffffffffff8084166000908152600b6020908152604080832093861683529290522081905560065460ff161561063a57808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000806114fe83610c77565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061156c575073ffffffffffffffffffffffffffffffffffffffff80821660009081526004602090815260408083209388168352929052205460ff165b806115aa57508373ffffffffffffffffffffffffffffffffffffffff16611592846105e2565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b6115bd83838361206e565b6000818152600d60205260409020600101546115dc908490849061175c565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a60205260408120805460019290611612908490612bbd565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600a6020526040812080546001929061164d908490612b54565b9091555050604051819073ffffffffffffffffffffffffffffffffffffffff80851691908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90600090a461063a6000826112a1565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600b60209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461109e578181101561174f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106c6565b61109e8484848403611341565b61176783838361216b565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260096020526040902054818110156118035760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106c6565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260096020526040808220858503905591851681529081208054849290611847908490612b54565b909155506000905061185883611cee565b6040516020016118689190612a66565b60405160208183030381529060405290508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f0e2c612cd3a6965782a48c7f571f155667c3c913eb3b6f0af0a004652b8fdc6d836040516020016118d99190612a2e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905261191191612b41565b60405180910390a360065460ff161561198057828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6119936000848461216b565b600780546fffffffffffffffffffffffffffffffff8082168401167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090911617905573ffffffffffffffffffffffffffffffffffffffff83166000818152600960209081526040808320805486019055338352600a8252808320805460010190558583526002825280832080547fffffffffffffffffffffffff000000000000000000000000000000000000000016909417909355825160808101845260048185019081527f6d696e740000000000000000000000000000000000000000000000000000000060608301528152808201859052858352600d825292909120825180519192611aa6928492909101906122f5565b5060209190910151600190910155604051829073ffffffffffffffffffffffffffffffffffffffff8516906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505050565b61062a3383836121e9565b600073ffffffffffffffffffffffffffffffffffffffff84163b15611ce3576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290611b80903390899088908890600401612af8565b602060405180830381600087803b158015611b9a57600080fd5b505af1925050508015611be8575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611be5918101906125b7565b60015b611c98573d808015611c16576040519150601f19603f3d011682016040523d82523d6000602084013e611c1b565b606091505b508051611c905760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106c6565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506115aa565b506001949350505050565b606081611d2e57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611d585780611d4281612c84565b9150611d519050600a83612b6c565b9150611d32565b60008167ffffffffffffffff811115611d9a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611dc4576020820181803683370190505b5090505b84156115aa57611dd9600183612bbd565b9150611de6600a86612cbd565b611df1906030612b54565b60f81b818381518110611e2d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611e67600a86612b6c565b9450611dc8565b805160609080611e8e575050604080516020810190915260008152919050565b60006003611e9d836002612b54565b611ea79190612b6c565b611eb2906004612b80565b90506000611ec1826020612b54565b67ffffffffffffffff811115611f00577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f2a576020820181803683370190505b5090506000604051806060016040528060408152602001612ef5604091399050600181016020830160005b86811015611fb6576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611f55565b506003860660018114611fd0576002811461201a57612060565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe830152612060565b7f3d000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301525b505050918152949350505050565b8273ffffffffffffffffffffffffffffffffffffffff1661208e82610c77565b73ffffffffffffffffffffffffffffffffffffffff16146121175760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016106c6565b600090815260026020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b73ffffffffffffffffffffffffffffffffffffffff831661063a576006805461010090046fffffffffffffffffffffffffffffffff169060016121ad83612c54565b91906101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122655760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106c6565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526004602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319101610c6a565b82805461230190612c00565b90600052602060002090601f0160209004810192826123235760008555612369565b82601f1061233c57805160ff1916838001178555612369565b82800160010185558215612369579182015b8281111561236957825182559160200191906001019061234e565b50612375929150612379565b5090565b5b80821115612375576000815560010161237a565b803573ffffffffffffffffffffffffffffffffffffffff811681146123b257600080fd5b919050565b6000602082840312156123c8578081fd5b6123d18261238e565b9392505050565b600080604083850312156123ea578081fd5b6123f38361238e565b91506124016020840161238e565b90509250929050565b60008060006060848603121561241e578081fd5b6124278461238e565b92506124356020850161238e565b9150604084013590509250925092565b6000806000806080858703121561245a578081fd5b6124638561238e565b93506124716020860161238e565b925060408501359150606085013567ffffffffffffffff80821115612494578283fd5b818701915087601f8301126124a7578283fd5b8135818111156124b9576124b9612d2f565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156124ff576124ff612d2f565b816040528281528a6020848701011115612517578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000806040838503121561254a578182fd5b6125538361238e565b915060208301358015158114612567578182fd5b809150509250929050565b60008060408385031215612584578182fd5b61258d8361238e565b946020939093013593505050565b6000602082840312156125ac578081fd5b81356123d181612d5e565b6000602082840312156125c8578081fd5b81516123d181612d5e565b600080602083850312156125e5578182fd5b823567ffffffffffffffff808211156125fc578384fd5b818501915085601f83011261260f578384fd5b81358181111561261d578485fd5b86602082850101111561262e578485fd5b60209290920196919550909350505050565b600060208284031215612651578081fd5b5035919050565b60008151808452612670816020860160208601612bd4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b8183823760009101908152919050565b600083516126c4818460208801612bd4565b8351908301906126d8818360208801612bd4565b7f3c2f746578743e3c7465787420783d223130302220793d223235302220636c6191019081527f73733d2262617365223e7d3c2f746578743e3c2f7376673e00000000000000006020820152603801949350505050565b6000835160206127428285838901612bd4565b8454918401918390600181811c908083168061275f57607f831692505b858310811415612796577f4e487b710000000000000000000000000000000000000000000000000000000088526022600452602488fd5b8080156127aa57600181146127d957612805565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00851688528388019550612805565b60008b815260209020895b858110156127fd5781548a8201529084019088016127e4565b505083880195505b50507f222c3c2f746578743e3c7465787420783d223133302220793d22313930222063845250507f6c6173733d2262617365223e227469636b223a22756e6963222c3c2f746578746020830152507f3e3c7465787420783d223133302220793d223232302220636c6173733d22626160408201527f7365223e22616d74223a000000000000000000000000000000000000000000006060820152606a019695505050505050565b7f7b226465736372697074696f6e223a2022554e493230206973206120736f636981527f616c206578706572696d656e742c2074686520616c7465726e6174697665206960208201527f6e736372697074696f6e206578706572696d656e74206f6e2045564d2e222c2060408201527f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b62617360608201527f6536342c0000000000000000000000000000000000000000000000000000000060808201526000825161297c816084850160208701612bd4565b7f227d0000000000000000000000000000000000000000000000000000000000006084939091019283015250608601919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516129e881601d850160208701612bd4565b91909101601d0192915050565b7f646174613a746578742f706c61696e3b636861727365743d7574662d3800000081528183601d83013760009101601d01908152919050565b7f646174613a746578742f706c61696e3b636861727365743d7574662d380000008152600082516129e881601d850160208701612bd4565b7f7b2270223a22756e692d3230222c226f70223a227472616e73666572222c227481527f69636b223a22554e4943222c22616d74223a2200000000000000000000000000602082015260008251612ac4816033850160208701612bd4565b7f227d0000000000000000000000000000000000000000000000000000000000006033939091019283015250603501919050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612b376080830184612658565b9695505050505050565b6020815260006123d16020830184612658565b60008219821115612b6757612b67612cd1565b500190565b600082612b7b57612b7b612d00565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612bb857612bb8612cd1565b500290565b600082821015612bcf57612bcf612cd1565b500390565b60005b83811015612bef578181015183820152602001612bd7565b8381111561109e5750506000910152565b600181811c90821680612c1457607f821691505b60208210811415612c4e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60006fffffffffffffffffffffffffffffffff80831681811415612c7a57612c7a612cd1565b6001019392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612cb657612cb6612cd1565b5060010190565b600082612ccc57612ccc612d00565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461129e57600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e203c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d223130302220793d223130302220636c6173733d2262617365223e7b3c2f746578743e3c7465787420783d223133302220793d223133302220636c6173733d2262617365223e2270223a22756e692d3230222c3c2f746578743e3c7465787420783d223133302220793d223136302220636c6173733d2262617365223e226f70223a224142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220629dfb623a1429fcae080aa7039dd53d5f90e79d1b71fa676232f3a8742ce29c64736f6c6343000804003300000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000001406f4000000000000000000000000000000000000000000000000000000000000003e800000000000000000000000048159efc55e79cc6b3393b6fb26124bf55632fdc0000000000000000000000000000000000000000000000000000000000000004554e494300000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101ae5760003560e01c806370a08231116100ee578063aa32ddcc11610097578063d5abeb0111610071578063d5abeb01146103f4578063dd62ed3e14610408578063e985e9c51461044e578063ec5568891461049757600080fd5b8063aa32ddcc146103c6578063b88d4fde146103ce578063c87b56dd146103e157600080fd5b8063996517cf116100c8578063996517cf14610380578063a22cb465146103a0578063a9059cbb146103b357600080fd5b806370a082311461033d578063806b984f1461035057806395d89b411461037857600080fd5b806323b872dd1161015b57806331a462da1161013557806331a462da146102f757806342842e0e14610304578063449b2cf6146103175780636352211e1461032a57600080fd5b806323b872dd1461028c5780632910b20a1461029f578063313ce567146102e857600080fd5b8063095ea7b31161018c578063095ea7b31461022857806309bd5a601461023d57806318160ddd1461027257600080fd5b806301ffc9a7146101b357806306fdde03146101db578063081812fc146101f0575b600080fd5b6101c66101c136600461259b565b6104b7565b60405190151581526020015b60405180910390f35b6101e3610550565b6040516101d29190612b41565b6102036101fe366004612640565b6105e2565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101d2565b61023b610236366004612572565b610616565b005b6102647f4405fa39914deeeafde02ddac197ed047091f2990a31e54cb1ef6d3ab7aa157f81565b6040519081526020016101d2565b6007546fffffffffffffffffffffffffffffffff16610264565b6101c661029a36600461240a565b61063f565b6005546102cf907801000000000000000000000000000000000000000000000000900467ffffffffffffffff1681565b60405167ffffffffffffffff90911681526020016101d2565b604051600181526020016101d2565b6006546101c69060ff1681565b61023b61031236600461240a565b61080f565b61023b6103253660046125d3565b61087d565b610203610338366004612640565b610c77565b61026461034b3660046123b7565b610ce9565b6005546102cf90700100000000000000000000000000000000900467ffffffffffffffff1681565b6101e3610dd2565b6005546102cf9068010000000000000000900467ffffffffffffffff1681565b61023b6103ae366004612538565b610de1565b6101c66103c1366004612572565b610df5565b61023b610ea4565b61023b6103dc366004612445565b610f47565b6101e36103ef366004612640565b6110a4565b6005546102cf9067ffffffffffffffff1681565b6102646104163660046123d8565b73ffffffffffffffffffffffffffffffffffffffff9182166000908152600b6020908152604080832093909416825291909152205490565b6101c661045c3660046123d8565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260046020908152604080832093909416825291909152205460ff1690565b6008546102039073ffffffffffffffffffffffffffffffffffffffff1681565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167f80ac58cd00000000000000000000000000000000000000000000000000000000148061054a57507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff000000000000000000000000000000000000000000000000000000008316145b92915050565b60606000805461055f90612c00565b80601f016020809104026020016040519081016040528092919081815260200182805461058b90612c00565b80156105d85780601f106105ad576101008083540402835291602001916105d8565b820191906000526020600020905b8154815290600101906020018083116105bb57829003601f168201915b5050505050905090565b60006105ed8261122d565b5060009081526003602052604090205473ffffffffffffffffffffffffffffffffffffffff1690565b60065460ff1661062e5761062a82826112a1565b5050565b3361063a818484611341565b505050565b600073ffffffffffffffffffffffffffffffffffffffff84166106cf5760405162461bcd60e51b815260206004820152602560248201527f554e4932303a207472616e736665722066726f6d20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff83166107585760405162461bcd60e51b815260206004820152602360248201527f554e4932303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106c6565b60065460ff166107ef5761076d335b836114f2565b6107df5760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f76656400000000000000000000000000000000000060648201526084016106c6565b6107ea8484846115b2565b610805565b6107fa8433846116a5565b61080584848461175c565b5060019392505050565b60065460ff16156108625760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420737570706f72742045524337323120616e79206d6f72652e0000000060448201526064016106c6565b61063a83838360405180602001604052806000815250610f47565b7f4405fa39914deeeafde02ddac197ed047091f2990a31e54cb1ef6d3ab7aa157f82826040516108ae9291906126a2565b6040518091039020146109035760405162461bcd60e51b815260206004820152601760248201527f496e73637269626520646174612069732077726f6e672e00000000000000000060448201526064016106c6565b3233146109525760405162461bcd60e51b815260206004820152601960248201527f436f6e74726163747320617265206e6f7420616c6c6f7765640000000000000060448201526064016106c6565b600554700100000000000000000000000000000000900467ffffffffffffffff164311156109d057600580546fffffffffffffffffffffffffffffffff167001000000000000000000000000000000004367ffffffffffffffff160277ffffffffffffffffffffffffffffffffffffffffffffffff16179055610ae9565b600554600a780100000000000000000000000000000000000000000000000090910467ffffffffffffffff1610610a955760405162461bcd60e51b815260206004820152604160248201527f4f6e6c79203130207469636b732070657220626c6f636b2e205573696e67204660448201527f6c617368626f74732063616e2070726576656e74206661696c6564207478657360648201527f2e00000000000000000000000000000000000000000000000000000000000000608482015260a4016106c6565b60058054600167ffffffffffffffff7801000000000000000000000000000000000000000000000000808404821692909201160277ffffffffffffffffffffffffffffffffffffffffffffffff9091161790555b6005546103e89068010000000000000000900467ffffffffffffffff16811115610b555760405162461bcd60e51b815260206004820152601360248201527f4578636565646564206d696e74206c696d69740000000000000000000000000060448201526064016106c6565b60055460075467ffffffffffffffff90911690610b859083906fffffffffffffffffffffffffffffffff16612b54565b10610bd25760405162461bcd60e51b815260206004820152601360248201527f4578636565646564206d617820737570706c790000000000000000000000000060448201526064016106c6565b600654610bf890339061010090046fffffffffffffffffffffffffffffffff1683611987565b60405133906000907f0e2c612cd3a6965782a48c7f571f155667c3c913eb3b6f0af0a004652b8fdc6d90610c3290879087906020016129f5565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815290829052610c6a91612b41565b60405180910390a3505050565b60008181526002602052604081205473ffffffffffffffffffffffffffffffffffffffff168061054a5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016106c6565b600073ffffffffffffffffffffffffffffffffffffffff8216610d745760405162461bcd60e51b815260206004820152602860248201527f45524332303a2061646472657373207a65726f206973206e6f7420612076616c60448201527f6964206f776e657200000000000000000000000000000000000000000000000060648201526084016106c6565b60065460ff16610da95773ffffffffffffffffffffffffffffffffffffffff82166000908152600a602052604090205461054a565b5073ffffffffffffffffffffffffffffffffffffffff1660009081526009602052604090205490565b6060600c805461055f90612c00565b60065460ff1661062a5761062a8282611afe565b60065460009060ff1615610e975773ffffffffffffffffffffffffffffffffffffffff8316610e8c5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201527f657373000000000000000000000000000000000000000000000000000000000060648201526084016106c6565b610e9733848461175c565b5060065460ff1692915050565b60065460ff16158015610ece575060085473ffffffffffffffffffffffffffffffffffffffff1633145b610f1a5760405162461bcd60e51b815260206004820152600860248201527f48617320646f6e6500000000000000000000000000000000000000000000000060448201526064016106c6565b600680547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b60065460ff1615610f9a5760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420737570706f72742045524337323120616e79206d6f72652e0000000060448201526064016106c6565b610fa333610767565b6110155760405162461bcd60e51b815260206004820152602e60248201527f4552433732313a2063616c6c6572206973206e6f7420746f6b656e206f776e6560448201527f72206e6f7220617070726f76656400000000000000000000000000000000000060648201526084016106c6565b6110208484846115b2565b61102c84848484611b09565b61109e5760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106c6565b50505050565b60065460609060ff16156110fa5760405162461bcd60e51b815260206004820152601c60248201527f4e6f7420737570706f72742045524337323120616e79206d6f72652e0000000060448201526064016106c6565b6000604051806101a001604052806101688152602001612d8d61016891399050606081600d600086815260200190815260200160002060000160405160200161114492919061272f565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529181526000868152600d6020522060010154909150819061118f90611cee565b6040516020016111a09291906126b2565b604051602081830303815290604052905060006111e36111bf83611e6e565b6040516020016111cf91906128ac565b604051602081830303815290604052611e6e565b9050806040516020016111f691906129b0565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe081840301815291905295945050505050565b60008181526002602052604090205473ffffffffffffffffffffffffffffffffffffffff1661129e5760405162461bcd60e51b815260206004820152601860248201527f4552433732313a20696e76616c696420746f6b656e204944000000000000000060448201526064016106c6565b50565b600081815260036020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff841690811790915581906112fb82610c77565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b73ffffffffffffffffffffffffffffffffffffffff83166113c95760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f2061646460448201527f726573730000000000000000000000000000000000000000000000000000000060648201526084016106c6565b73ffffffffffffffffffffffffffffffffffffffff82166114525760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f20616464726560448201527f737300000000000000000000000000000000000000000000000000000000000060648201526084016106c6565b73ffffffffffffffffffffffffffffffffffffffff8084166000908152600b6020908152604080832093861683529290522081905560065460ff161561063a57808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a4505050565b6000806114fe83610c77565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061156c575073ffffffffffffffffffffffffffffffffffffffff80821660009081526004602090815260408083209388168352929052205460ff165b806115aa57508373ffffffffffffffffffffffffffffffffffffffff16611592846105e2565b73ffffffffffffffffffffffffffffffffffffffff16145b949350505050565b6115bd83838361206e565b6000818152600d60205260409020600101546115dc908490849061175c565b73ffffffffffffffffffffffffffffffffffffffff83166000908152600a60205260408120805460019290611612908490612bbd565b909155505073ffffffffffffffffffffffffffffffffffffffff82166000908152600a6020526040812080546001929061164d908490612b54565b9091555050604051819073ffffffffffffffffffffffffffffffffffffffff80851691908616907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90600090a461063a6000826112a1565b73ffffffffffffffffffffffffffffffffffffffff8381166000908152600b60209081526040808320938616835292905220547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff811461109e578181101561174f5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016106c6565b61109e8484848403611341565b61176783838361216b565b73ffffffffffffffffffffffffffffffffffffffff8316600090815260096020526040902054818110156118035760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e742065786365656473206260448201527f616c616e6365000000000000000000000000000000000000000000000000000060648201526084016106c6565b73ffffffffffffffffffffffffffffffffffffffff808516600090815260096020526040808220858503905591851681529081208054849290611847908490612b54565b909155506000905061185883611cee565b6040516020016118689190612a66565b60405160208183030381529060405290508373ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff167f0e2c612cd3a6965782a48c7f571f155667c3c913eb3b6f0af0a004652b8fdc6d836040516020016118d99190612a2e565b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529082905261191191612b41565b60405180910390a360065460ff161561198057828473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45b5050505050565b6119936000848461216b565b600780546fffffffffffffffffffffffffffffffff8082168401167fffffffffffffffffffffffffffffffff0000000000000000000000000000000090911617905573ffffffffffffffffffffffffffffffffffffffff83166000818152600960209081526040808320805486019055338352600a8252808320805460010190558583526002825280832080547fffffffffffffffffffffffff000000000000000000000000000000000000000016909417909355825160808101845260048185019081527f6d696e740000000000000000000000000000000000000000000000000000000060608301528152808201859052858352600d825292909120825180519192611aa6928492909101906122f5565b5060209190910151600190910155604051829073ffffffffffffffffffffffffffffffffffffffff8516906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a4505050565b61062a3383836121e9565b600073ffffffffffffffffffffffffffffffffffffffff84163b15611ce3576040517f150b7a0200000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063150b7a0290611b80903390899088908890600401612af8565b602060405180830381600087803b158015611b9a57600080fd5b505af1925050508015611be8575060408051601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0168201909252611be5918101906125b7565b60015b611c98573d808015611c16576040519150601f19603f3d011682016040523d82523d6000602084013e611c1b565b606091505b508051611c905760405162461bcd60e51b815260206004820152603260248201527f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560448201527f63656976657220696d706c656d656e746572000000000000000000000000000060648201526084016106c6565b805181602001fd5b7fffffffff00000000000000000000000000000000000000000000000000000000167f150b7a02000000000000000000000000000000000000000000000000000000001490506115aa565b506001949350505050565b606081611d2e57505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b8115611d585780611d4281612c84565b9150611d519050600a83612b6c565b9150611d32565b60008167ffffffffffffffff811115611d9a577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611dc4576020820181803683370190505b5090505b84156115aa57611dd9600183612bbd565b9150611de6600a86612cbd565b611df1906030612b54565b60f81b818381518110611e2d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350611e67600a86612b6c565b9450611dc8565b805160609080611e8e575050604080516020810190915260008152919050565b60006003611e9d836002612b54565b611ea79190612b6c565b611eb2906004612b80565b90506000611ec1826020612b54565b67ffffffffffffffff811115611f00577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f191660200182016040528015611f2a576020820181803683370190505b5090506000604051806060016040528060408152602001612ef5604091399050600181016020830160005b86811015611fb6576003818a01810151603f601282901c8116860151600c83901c8216870151600684901c831688015192909316870151600891821b60ff94851601821b92841692909201901b91160160e01b835260049092019101611f55565b506003860660018114611fd0576002811461201a57612060565b7f3d3d0000000000000000000000000000000000000000000000000000000000007ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe830152612060565b7f3d000000000000000000000000000000000000000000000000000000000000007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8301525b505050918152949350505050565b8273ffffffffffffffffffffffffffffffffffffffff1661208e82610c77565b73ffffffffffffffffffffffffffffffffffffffff16146121175760405162461bcd60e51b815260206004820152602560248201527f4552433732313a207472616e736665722066726f6d20696e636f72726563742060448201527f6f776e657200000000000000000000000000000000000000000000000000000060648201526084016106c6565b600090815260026020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b73ffffffffffffffffffffffffffffffffffffffff831661063a576006805461010090046fffffffffffffffffffffffffffffffff169060016121ad83612c54565b91906101000a8154816fffffffffffffffffffffffffffffffff02191690836fffffffffffffffffffffffffffffffff16021790555050505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156122655760405162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c65720000000000000060448201526064016106c6565b73ffffffffffffffffffffffffffffffffffffffff83811660008181526004602090815260408083209487168084529482529182902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915591519182527f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319101610c6a565b82805461230190612c00565b90600052602060002090601f0160209004810192826123235760008555612369565b82601f1061233c57805160ff1916838001178555612369565b82800160010185558215612369579182015b8281111561236957825182559160200191906001019061234e565b50612375929150612379565b5090565b5b80821115612375576000815560010161237a565b803573ffffffffffffffffffffffffffffffffffffffff811681146123b257600080fd5b919050565b6000602082840312156123c8578081fd5b6123d18261238e565b9392505050565b600080604083850312156123ea578081fd5b6123f38361238e565b91506124016020840161238e565b90509250929050565b60008060006060848603121561241e578081fd5b6124278461238e565b92506124356020850161238e565b9150604084013590509250925092565b6000806000806080858703121561245a578081fd5b6124638561238e565b93506124716020860161238e565b925060408501359150606085013567ffffffffffffffff80821115612494578283fd5b818701915087601f8301126124a7578283fd5b8135818111156124b9576124b9612d2f565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f011681019083821181831017156124ff576124ff612d2f565b816040528281528a6020848701011115612517578586fd5b82602086016020830137918201602001949094529598949750929550505050565b6000806040838503121561254a578182fd5b6125538361238e565b915060208301358015158114612567578182fd5b809150509250929050565b60008060408385031215612584578182fd5b61258d8361238e565b946020939093013593505050565b6000602082840312156125ac578081fd5b81356123d181612d5e565b6000602082840312156125c8578081fd5b81516123d181612d5e565b600080602083850312156125e5578182fd5b823567ffffffffffffffff808211156125fc578384fd5b818501915085601f83011261260f578384fd5b81358181111561261d578485fd5b86602082850101111561262e578485fd5b60209290920196919550909350505050565b600060208284031215612651578081fd5b5035919050565b60008151808452612670816020860160208601612bd4565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b8183823760009101908152919050565b600083516126c4818460208801612bd4565b8351908301906126d8818360208801612bd4565b7f3c2f746578743e3c7465787420783d223130302220793d223235302220636c6191019081527f73733d2262617365223e7d3c2f746578743e3c2f7376673e00000000000000006020820152603801949350505050565b6000835160206127428285838901612bd4565b8454918401918390600181811c908083168061275f57607f831692505b858310811415612796577f4e487b710000000000000000000000000000000000000000000000000000000088526022600452602488fd5b8080156127aa57600181146127d957612805565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00851688528388019550612805565b60008b815260209020895b858110156127fd5781548a8201529084019088016127e4565b505083880195505b50507f222c3c2f746578743e3c7465787420783d223133302220793d22313930222063845250507f6c6173733d2262617365223e227469636b223a22756e6963222c3c2f746578746020830152507f3e3c7465787420783d223133302220793d223232302220636c6173733d22626160408201527f7365223e22616d74223a000000000000000000000000000000000000000000006060820152606a019695505050505050565b7f7b226465736372697074696f6e223a2022554e493230206973206120736f636981527f616c206578706572696d656e742c2074686520616c7465726e6174697665206960208201527f6e736372697074696f6e206578706572696d656e74206f6e2045564d2e222c2060408201527f22696d616765223a2022646174613a696d6167652f7376672b786d6c3b62617360608201527f6536342c0000000000000000000000000000000000000000000000000000000060808201526000825161297c816084850160208701612bd4565b7f227d0000000000000000000000000000000000000000000000000000000000006084939091019283015250608601919050565b7f646174613a6170706c69636174696f6e2f6a736f6e3b6261736536342c0000008152600082516129e881601d850160208701612bd4565b91909101601d0192915050565b7f646174613a746578742f706c61696e3b636861727365743d7574662d3800000081528183601d83013760009101601d01908152919050565b7f646174613a746578742f706c61696e3b636861727365743d7574662d380000008152600082516129e881601d850160208701612bd4565b7f7b2270223a22756e692d3230222c226f70223a227472616e73666572222c227481527f69636b223a22554e4943222c22616d74223a2200000000000000000000000000602082015260008251612ac4816033850160208701612bd4565b7f227d0000000000000000000000000000000000000000000000000000000000006033939091019283015250603501919050565b600073ffffffffffffffffffffffffffffffffffffffff808716835280861660208401525083604083015260806060830152612b376080830184612658565b9695505050505050565b6020815260006123d16020830184612658565b60008219821115612b6757612b67612cd1565b500190565b600082612b7b57612b7b612d00565b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615612bb857612bb8612cd1565b500290565b600082821015612bcf57612bcf612cd1565b500390565b60005b83811015612bef578181015183820152602001612bd7565b8381111561109e5750506000910152565b600181811c90821680612c1457607f821691505b60208210811415612c4e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b60006fffffffffffffffffffffffffffffffff80831681811415612c7a57612c7a612cd1565b6001019392505050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612cb657612cb6612cd1565b5060010190565b600082612ccc57612ccc612d00565b500690565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b7fffffffff000000000000000000000000000000000000000000000000000000008116811461129e57600080fdfe3c73766720786d6c6e733d22687474703a2f2f7777772e77332e6f72672f323030302f73766722207072657365727665417370656374526174696f3d22784d696e594d696e206d656574222076696577426f783d223020302033353020333530223e203c7374796c653e2e62617365207b2066696c6c3a2077686974653b20666f6e742d66616d696c793a2073657269663b20666f6e742d73697a653a20313470783b207d3c2f7374796c653e3c726563742077696474683d223130302522206865696768743d2231303025222066696c6c3d22626c61636b22202f3e3c7465787420783d223130302220793d223130302220636c6173733d2262617365223e7b3c2f746578743e3c7465787420783d223133302220793d223133302220636c6173733d2262617365223e2270223a22756e692d3230222c3c2f746578743e3c7465787420783d223133302220793d223136302220636c6173733d2262617365223e226f70223a224142434445464748494a4b4c4d4e4f505152535455565758595a6162636465666768696a6b6c6d6e6f707172737475767778797a303132333435363738392b2fa2646970667358221220629dfb623a1429fcae080aa7039dd53d5f90e79d1b71fa676232f3a8742ce29c64736f6c63430008040033

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

00000000000000000000000000000000000000000000000000000000000000800000000000000000000000000000000000000000000000000000000001406f4000000000000000000000000000000000000000000000000000000000000003e800000000000000000000000048159efc55e79cc6b3393b6fb26124bf55632fdc0000000000000000000000000000000000000000000000000000000000000004554e494300000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : tick (string): UNIC
Arg [1] : maxSupply_ (uint64): 21000000
Arg [2] : mintLimit_ (uint64): 1000
Arg [3] : proxy_ (address): 0x48159eFC55E79CC6B3393B6Fb26124bF55632FDc

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000080
Arg [1] : 0000000000000000000000000000000000000000000000000000000001406f40
Arg [2] : 00000000000000000000000000000000000000000000000000000000000003e8
Arg [3] : 00000000000000000000000048159efc55e79cc6b3393b6fb26124bf55632fdc
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [5] : 554e494300000000000000000000000000000000000000000000000000000000


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.