Goerli Testnet

Token

Request Network Transferable Receivable (tREC)
ERC-721

Overview

Max Total Supply

55,154 tREC

Holders

11,925

Market

Fully Diluted Market Cap

$0.00

Circulating Supply Market Cap

-
Balance
2 tREC
0x4d217dc1cda85f4c044a0314cf1beb0b0cbc3189
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:
ERC20TransferableReceivable

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 14 : ERC20TransferableReceivable.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.0;

import '@openzeppelin/contracts/utils/Counters.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721URIStorage.sol';
import '@openzeppelin/contracts/token/ERC721/extensions/ERC721Enumerable.sol';

contract ERC20TransferableReceivable is ERC721, ERC721Enumerable, ERC721URIStorage {
  using Counters for Counters.Counter;

  // Counter for uniquely identifying payments
  Counters.Counter private _paymentId;

  // Counter for uniquely identifying receivable tokens
  Counters.Counter private _receivableTokenId;

  struct ReceivableInfo {
    address tokenAddress;
    uint256 amount;
    uint256 balance;
  }
  mapping(uint256 => ReceivableInfo) public receivableInfoMapping;

  // Mapping for looking up receivable token given a paymentReference
  // and minter address
  mapping(bytes32 => uint256) public receivableTokenIdMapping;

  address public paymentProxy;

  // Event to declare payments to a receivableTokenId
  event TransferableReceivablePayment(
    address sender,
    address recipient,
    uint256 amount,
    address paymentProxy,
    uint256 receivableTokenId,
    address tokenAddress,
    uint256 paymentId,
    bytes indexed paymentReference
  );

  // Event to declare a transfer with a reference
  // This event is emitted from a delegatecall to an ERC20FeeProxy contract
  event TransferWithReferenceAndFee(
    address tokenAddress,
    address to,
    uint256 amount,
    bytes indexed paymentReference,
    uint256 feeAmount,
    address feeAddress
  );

  constructor(
    string memory name,
    string memory symbol,
    address _paymentProxyAddress
  ) ERC721(name, symbol) {
    paymentProxy = _paymentProxyAddress;
  }

  function payOwner(
    uint256 receivableTokenId,
    uint256 amount,
    bytes calldata paymentReference,
    uint256 feeAmount,
    address feeAddress
  ) external {
    require(amount != 0, 'Zero amount provided');
    address owner = ownerOf(receivableTokenId);
    _paymentId.increment();

    ReceivableInfo storage receivableInfo = receivableInfoMapping[receivableTokenId];
    address tokenAddress = receivableInfo.tokenAddress;
    receivableInfo.balance += amount;

    (bool status, ) = paymentProxy.delegatecall(
      abi.encodeWithSignature(
        'transferFromWithReferenceAndFee(address,address,uint256,bytes,uint256,address)',
        tokenAddress,
        owner,
        amount,
        paymentReference,
        feeAmount,
        feeAddress
      )
    );
    require(status, 'transferFromWithReferenceAndFee failed');

    emit TransferableReceivablePayment(
      msg.sender,
      owner,
      amount,
      paymentProxy,
      receivableTokenId,
      tokenAddress,
      _paymentId.current(),
      paymentReference
    );
  }

  function mint(
    bytes calldata paymentReference,
    uint256 amount,
    address erc20Addr,
    string memory newTokenURI
  ) external {
    require(paymentReference.length > 0, 'Zero paymentReference provided');
    require(amount > 0, 'Zero amount provided');
    require(erc20Addr != address(0), 'Zero address provided');
    bytes32 idKey = keccak256(abi.encodePacked(msg.sender, paymentReference));
    require(
      receivableTokenIdMapping[idKey] == 0,
      'Receivable has already been minted for this user and request'
    );
    _receivableTokenId.increment();
    uint256 currentReceivableTokenId = _receivableTokenId.current();
    receivableTokenIdMapping[idKey] = currentReceivableTokenId;
    receivableInfoMapping[currentReceivableTokenId] = ReceivableInfo({
      tokenAddress: erc20Addr,
      amount: amount,
      balance: 0
    });

    _mint(msg.sender, currentReceivableTokenId);
    _setTokenURI(currentReceivableTokenId, newTokenURI);
  }

  function getTokenIds(address _owner) public view returns (uint256[] memory) {
    uint256[] memory _tokensOfOwner = new uint256[](ERC721.balanceOf(_owner));
    uint256 i;

    for (i = 0; i < ERC721.balanceOf(_owner); i++) {
      _tokensOfOwner[i] = ERC721Enumerable.tokenOfOwnerByIndex(_owner, i);
    }
    return (_tokensOfOwner);
  }

  // The following functions are overrides required by Solidity.
  function _beforeTokenTransfer(
    address from,
    address to,
    uint256 tokenId
  ) internal override(ERC721, ERC721Enumerable) {
    super._beforeTokenTransfer(from, to, tokenId);
  }

  function _burn(uint256 tokenId) internal override(ERC721, ERC721URIStorage) {
    super._burn(tokenId);
  }

  function tokenURI(uint256 tokenId)
    public
    view
    override(ERC721, ERC721URIStorage)
    returns (string memory)
  {
    return super.tokenURI(tokenId);
  }

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

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

pragma solidity ^0.8.0;

/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented, decremented or reset. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 */
library Counters {
    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

    function current(Counter storage counter) internal view returns (uint256) {
        return counter._value;
    }

    function increment(Counter storage counter) internal {
        unchecked {
            counter._value += 1;
        }
    }

    function decrement(Counter storage counter) internal {
        uint256 value = counter._value;
        require(value > 0, "Counter: decrement overflow");
        unchecked {
            counter._value = value - 1;
        }
    }

    function reset(Counter storage counter) internal {
        counter._value = 0;
    }
}

File 3 of 14 : ERC721URIStorage.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/ERC721URIStorage.sol)

pragma solidity ^0.8.0;

import "../ERC721.sol";

/**
 * @dev ERC721 token with storage based token URI management.
 */
abstract contract ERC721URIStorage is ERC721 {
    using Strings for uint256;

    // Optional mapping for token URIs
    mapping(uint256 => string) private _tokenURIs;

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

        string memory _tokenURI = _tokenURIs[tokenId];
        string memory base = _baseURI();

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }

        return super.tokenURI(tokenId);
    }

    /**
     * @dev Sets `_tokenURI` as the tokenURI of `tokenId`.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function _setTokenURI(uint256 tokenId, string memory _tokenURI) internal virtual {
        require(_exists(tokenId), "ERC721URIStorage: URI set of nonexistent token");
        _tokenURIs[tokenId] = _tokenURI;
    }

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

        if (bytes(_tokenURIs[tokenId]).length != 0) {
            delete _tokenURIs[tokenId];
        }
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

File 8 of 14 : 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 9 of 14 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/Address.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 12 of 14 : 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 13 of 14 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

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

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

Contract ABI

[{"inputs":[{"internalType":"string","name":"name","type":"string"},{"internalType":"string","name":"symbol","type":"string"},{"internalType":"address","name":"_paymentProxyAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":true,"internalType":"bytes","name":"paymentReference","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"feeAmount","type":"uint256"},{"indexed":false,"internalType":"address","name":"feeAddress","type":"address"}],"name":"TransferWithReferenceAndFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"paymentProxy","type":"address"},{"indexed":false,"internalType":"uint256","name":"receivableTokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"tokenAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"paymentId","type":"uint256"},{"indexed":true,"internalType":"bytes","name":"paymentReference","type":"bytes"}],"name":"TransferableReceivablePayment","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"getTokenIds","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"paymentReference","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"erc20Addr","type":"address"},{"internalType":"string","name":"newTokenURI","type":"string"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"receivableTokenId","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"paymentReference","type":"bytes"},{"internalType":"uint256","name":"feeAmount","type":"uint256"},{"internalType":"address","name":"feeAddress","type":"address"}],"name":"payOwner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paymentProxy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"receivableInfoMapping","outputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"name":"receivableTokenIdMapping","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"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":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200463238038062004632833981810160405281019062000037919062000369565b8282816000908051906020019062000051929190620000b7565b5080600190805190602001906200006a929190620000b7565b50505080600f60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050505062000468565b828054620000c59062000432565b90600052602060002090601f016020900481019282620000e9576000855562000135565b82601f106200010457805160ff191683800117855562000135565b8280016001018555821562000135579182015b828111156200013457825182559160200191906001019062000117565b5b50905062000144919062000148565b5090565b5b808211156200016357600081600090555060010162000149565b5090565b6000604051905090565b600080fd5b600080fd5b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b620001d08262000185565b810181811067ffffffffffffffff82111715620001f257620001f162000196565b5b80604052505050565b60006200020762000167565b9050620002158282620001c5565b919050565b600067ffffffffffffffff82111562000238576200023762000196565b5b620002438262000185565b9050602081019050919050565b60005b838110156200027057808201518184015260208101905062000253565b8381111562000280576000848401525b50505050565b60006200029d62000297846200021a565b620001fb565b905082815260208101848484011115620002bc57620002bb62000180565b5b620002c984828562000250565b509392505050565b600082601f830112620002e957620002e86200017b565b5b8151620002fb84826020860162000286565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000620003318262000304565b9050919050565b620003438162000324565b81146200034f57600080fd5b50565b600081519050620003638162000338565b92915050565b60008060006060848603121562000385576200038462000171565b5b600084015167ffffffffffffffff811115620003a657620003a562000176565b5b620003b486828701620002d1565b935050602084015167ffffffffffffffff811115620003d857620003d762000176565b5b620003e686828701620002d1565b9250506040620003f98682870162000352565b9150509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b600060028204905060018216806200044b57607f821691505b6020821081141562000462576200046162000403565b5b50919050565b6141ba80620004786000396000f3fe608060405234801561001057600080fd5b50600436106101425760003560e01c80636352211e116100b8578063a22cb4651161007c578063a22cb4651461039b578063b5818004146103b7578063b88d4fde146103e9578063c87b56dd14610405578063d004b03614610435578063e985e9c51461046557610142565b80636352211e146102d157806370a08231146103015780637db187c7146103315780638c9bbde61461034d57806395d89b411461037d57610142565b806323b872dd1161010a57806323b872dd146101ff5780632f745c591461021b578063314ee2d91461024b5780633cd3efef1461026757806342842e0e146102855780634f6ccce7146102a157610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063095ea7b3146101c557806318160ddd146101e1575b600080fd5b610161600480360381019061015c919061269c565b610495565b60405161016e91906126e4565b60405180910390f35b61017f6104a7565b60405161018c9190612798565b60405180910390f35b6101af60048036038101906101aa91906127f0565b610539565b6040516101bc919061285e565b60405180910390f35b6101df60048036038101906101da91906128a5565b6105be565b005b6101e96106d6565b6040516101f691906128f4565b60405180910390f35b6102196004803603810190610214919061290f565b6106e3565b005b610235600480360381019061023091906128a5565b610743565b60405161024291906128f4565b60405180910390f35b610265600480360381019061026091906129c7565b6107e8565b005b61026f610a96565b60405161027c919061285e565b60405180910390f35b61029f600480360381019061029a919061290f565b610abc565b005b6102bb60048036038101906102b691906127f0565b610adc565b6040516102c891906128f4565b60405180910390f35b6102eb60048036038101906102e691906127f0565b610b4d565b6040516102f8919061285e565b60405180910390f35b61031b60048036038101906103169190612a61565b610bff565b60405161032891906128f4565b60405180910390f35b61034b60048036038101906103469190612bbe565b610cb7565b005b61036760048036038101906103629190612c98565b610f25565b60405161037491906128f4565b60405180910390f35b610385610f3d565b6040516103929190612798565b60405180910390f35b6103b560048036038101906103b09190612cf1565b610fcf565b005b6103d160048036038101906103cc91906127f0565b610fe5565b6040516103e093929190612d31565b60405180910390f35b61040360048036038101906103fe9190612e09565b61102f565b005b61041f600480360381019061041a91906127f0565b611091565b60405161042c9190612798565b60405180910390f35b61044f600480360381019061044a9190612a61565b6110a3565b60405161045c9190612f4a565b60405180910390f35b61047f600480360381019061047a9190612f6c565b611153565b60405161048c91906126e4565b60405180910390f35b60006104a0826111e7565b9050919050565b6060600080546104b690612fdb565b80601f01602080910402602001604051908101604052809291908181526020018280546104e290612fdb565b801561052f5780601f106105045761010080835404028352916020019161052f565b820191906000526020600020905b81548152906001019060200180831161051257829003601f168201915b5050505050905090565b600061054482611261565b610583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057a9061307f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105c982610b4d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561063a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063190613111565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106596112cd565b73ffffffffffffffffffffffffffffffffffffffff1614806106885750610687816106826112cd565b611153565b5b6106c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106be906131a3565b60405180910390fd5b6106d183836112d5565b505050565b6000600880549050905090565b6106f46106ee6112cd565b8261138e565b610733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072a90613235565b60405180910390fd5b61073e83838361146c565b505050565b600061074e83610bff565b821061078f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610786906132c7565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600085141561082c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082390613333565b60405180910390fd5b600061083787610b4d565b9050610843600b6116c8565b6000600d6000898152602001908152602001600020905060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050878260020160008282546108979190613382565b925050819055506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682858b8b8b8b8b6040516024016108f69796959493929190613416565b6040516020818303038152906040527fc219a14d000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161098091906134c7565b600060405180830381855af49150503d80600081146109bb576040519150601f19603f3d011682016040523d82523d6000602084013e6109c0565b606091505b5050905080610a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fb90613550565b60405180910390fd5b8787604051610a14929190613595565b60405180910390207fd8ea20f4bb795eb436b407ba8741af5c592dd982df76e7b3e3d40c10cf7564b533868c600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168f88610a6f600b6116de565b604051610a8297969594939291906135ae565b60405180910390a250505050505050505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610ad78383836040518060200160405280600081525061102f565b505050565b6000610ae66106d6565b8210610b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1e9061368f565b60405180910390fd5b60088281548110610b3b57610b3a6136af565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90613750565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c67906137e2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008585905011610cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf49061384e565b60405180910390fd5b60008311610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3790613333565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da7906138ba565b60405180910390fd5b6000338686604051602001610dc793929190613922565b6040516020818303038152906040528051906020012090506000600e60008381526020019081526020016000205414610e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2c906139be565b60405180910390fd5b610e3f600c6116c8565b6000610e4b600c6116de565b905080600e60008481526020019081526020016000208190555060405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020016000815250600d600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155905050610f1233826116ec565b610f1c81846118ba565b50505050505050565b600e6020528060005260406000206000915090505481565b606060018054610f4c90612fdb565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7890612fdb565b8015610fc55780601f10610f9a57610100808354040283529160200191610fc5565b820191906000526020600020905b815481529060010190602001808311610fa857829003601f168201915b5050505050905090565b610fe1610fda6112cd565b838361192e565b5050565b600d6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154905083565b61104061103a6112cd565b8361138e565b61107f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107690613235565b60405180910390fd5b61108b84848484611a9b565b50505050565b606061109c82611af7565b9050919050565b606060006110b083610bff565b67ffffffffffffffff8111156110c9576110c8612a93565b5b6040519080825280602002602001820160405280156110f75781602001602082028036833780820191505090505b50905060005b61110684610bff565b811015611149576111178482610743565b82828151811061112a576111296136af565b5b6020026020010181815250508080611141906139de565b9150506110fd565b8192505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061125a575061125982611c49565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661134883610b4d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061139982611261565b6113d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cf90613a99565b60405180910390fd5b60006113e383610b4d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061145257508373ffffffffffffffffffffffffffffffffffffffff1661143a84610539565b73ffffffffffffffffffffffffffffffffffffffff16145b8061146357506114628185611153565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661148c82610b4d565b73ffffffffffffffffffffffffffffffffffffffff16146114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990613b2b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154990613bbd565b60405180910390fd5b61155d838383611d2b565b6115686000826112d5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115b89190613bdd565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461160f9190613382565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175390613c5d565b60405180910390fd5b61176581611261565b156117a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179c90613cc9565b60405180910390fd5b6117b160008383611d2b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118019190613382565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6118c382611261565b611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f990613d5b565b60405180910390fd5b80600a6000848152602001908152602001600020908051906020019061192992919061258d565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561199d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199490613dc7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a8e91906126e4565b60405180910390a3505050565b611aa684848461146c565b611ab284848484611d3b565b611af1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae890613e59565b60405180910390fd5b50505050565b6060611b0282611261565b611b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3890613eeb565b60405180910390fd5b6000600a60008481526020019081526020016000208054611b6190612fdb565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8d90612fdb565b8015611bda5780601f10611baf57610100808354040283529160200191611bda565b820191906000526020600020905b815481529060010190602001808311611bbd57829003601f168201915b505050505090506000611beb611ed2565b9050600081511415611c01578192505050611c44565b600082511115611c36578082604051602001611c1e929190613f47565b60405160208183030381529060405292505050611c44565b611c3f84611ee9565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d1457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d245750611d2382611f90565b5b9050919050565b611d36838383611ffa565b505050565b6000611d5c8473ffffffffffffffffffffffffffffffffffffffff1661210e565b15611ec5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611d856112cd565b8786866040518563ffffffff1660e01b8152600401611da79493929190613fa4565b602060405180830381600087803b158015611dc157600080fd5b505af1925050508015611df257506040513d601f19601f82011682018060405250810190611def9190614005565b60015b611e75573d8060008114611e22576040519150601f19603f3d011682016040523d82523d6000602084013e611e27565b606091505b50600081511415611e6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6490613e59565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611eca565b600190505b949350505050565b606060405180602001604052806000815250905090565b6060611ef482611261565b611f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2a906140a4565b60405180910390fd5b6000611f3d611ed2565b90506000815111611f5d5760405180602001604052806000815250611f88565b80611f6784612121565b604051602001611f78929190613f47565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612005838383612282565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120485761204381612287565b612087565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146120865761208583826122d0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120ca576120c58161243d565b612109565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461210857612107828261250e565b5b5b505050565b600080823b905060008111915050919050565b60606000821415612169576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061227d565b600082905060005b6000821461219b578080612184906139de565b915050600a8261219491906140f3565b9150612171565b60008167ffffffffffffffff8111156121b7576121b6612a93565b5b6040519080825280601f01601f1916602001820160405280156121e95781602001600182028036833780820191505090505b5090505b60008514612276576001826122029190613bdd565b9150600a856122119190614124565b603061221d9190613382565b60f81b818381518110612233576122326136af565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561226f91906140f3565b94506121ed565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016122dd84610bff565b6122e79190613bdd565b90506000600760008481526020019081526020016000205490508181146123cc576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506124519190613bdd565b9050600060096000848152602001908152602001600020549050600060088381548110612481576124806136af565b5b9060005260206000200154905080600883815481106124a3576124a26136af565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806124f2576124f1614155565b5b6001900381819060005260206000200160009055905550505050565b600061251983610bff565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461259990612fdb565b90600052602060002090601f0160209004810192826125bb5760008555612602565b82601f106125d457805160ff1916838001178555612602565b82800160010185558215612602579182015b828111156126015782518255916020019190600101906125e6565b5b50905061260f9190612613565b5090565b5b8082111561262c576000816000905550600101612614565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61267981612644565b811461268457600080fd5b50565b60008135905061269681612670565b92915050565b6000602082840312156126b2576126b161263a565b5b60006126c084828501612687565b91505092915050565b60008115159050919050565b6126de816126c9565b82525050565b60006020820190506126f960008301846126d5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561273957808201518184015260208101905061271e565b83811115612748576000848401525b50505050565b6000601f19601f8301169050919050565b600061276a826126ff565b612774818561270a565b935061278481856020860161271b565b61278d8161274e565b840191505092915050565b600060208201905081810360008301526127b2818461275f565b905092915050565b6000819050919050565b6127cd816127ba565b81146127d857600080fd5b50565b6000813590506127ea816127c4565b92915050565b6000602082840312156128065761280561263a565b5b6000612814848285016127db565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006128488261281d565b9050919050565b6128588161283d565b82525050565b6000602082019050612873600083018461284f565b92915050565b6128828161283d565b811461288d57600080fd5b50565b60008135905061289f81612879565b92915050565b600080604083850312156128bc576128bb61263a565b5b60006128ca85828601612890565b92505060206128db858286016127db565b9150509250929050565b6128ee816127ba565b82525050565b600060208201905061290960008301846128e5565b92915050565b6000806000606084860312156129285761292761263a565b5b600061293686828701612890565b935050602061294786828701612890565b9250506040612958868287016127db565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f84011261298757612986612962565b5b8235905067ffffffffffffffff8111156129a4576129a3612967565b5b6020830191508360018202830111156129c0576129bf61296c565b5b9250929050565b60008060008060008060a087890312156129e4576129e361263a565b5b60006129f289828a016127db565b9650506020612a0389828a016127db565b955050604087013567ffffffffffffffff811115612a2457612a2361263f565b5b612a3089828a01612971565b94509450506060612a4389828a016127db565b9250506080612a5489828a01612890565b9150509295509295509295565b600060208284031215612a7757612a7661263a565b5b6000612a8584828501612890565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612acb8261274e565b810181811067ffffffffffffffff82111715612aea57612ae9612a93565b5b80604052505050565b6000612afd612630565b9050612b098282612ac2565b919050565b600067ffffffffffffffff821115612b2957612b28612a93565b5b612b328261274e565b9050602081019050919050565b82818337600083830152505050565b6000612b61612b5c84612b0e565b612af3565b905082815260208101848484011115612b7d57612b7c612a8e565b5b612b88848285612b3f565b509392505050565b600082601f830112612ba557612ba4612962565b5b8135612bb5848260208601612b4e565b91505092915050565b600080600080600060808688031215612bda57612bd961263a565b5b600086013567ffffffffffffffff811115612bf857612bf761263f565b5b612c0488828901612971565b95509550506020612c17888289016127db565b9350506040612c2888828901612890565b925050606086013567ffffffffffffffff811115612c4957612c4861263f565b5b612c5588828901612b90565b9150509295509295909350565b6000819050919050565b612c7581612c62565b8114612c8057600080fd5b50565b600081359050612c9281612c6c565b92915050565b600060208284031215612cae57612cad61263a565b5b6000612cbc84828501612c83565b91505092915050565b612cce816126c9565b8114612cd957600080fd5b50565b600081359050612ceb81612cc5565b92915050565b60008060408385031215612d0857612d0761263a565b5b6000612d1685828601612890565b9250506020612d2785828601612cdc565b9150509250929050565b6000606082019050612d46600083018661284f565b612d5360208301856128e5565b612d6060408301846128e5565b949350505050565b600067ffffffffffffffff821115612d8357612d82612a93565b5b612d8c8261274e565b9050602081019050919050565b6000612dac612da784612d68565b612af3565b905082815260208101848484011115612dc857612dc7612a8e565b5b612dd3848285612b3f565b509392505050565b600082601f830112612df057612def612962565b5b8135612e00848260208601612d99565b91505092915050565b60008060008060808587031215612e2357612e2261263a565b5b6000612e3187828801612890565b9450506020612e4287828801612890565b9350506040612e53878288016127db565b925050606085013567ffffffffffffffff811115612e7457612e7361263f565b5b612e8087828801612ddb565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612ec1816127ba565b82525050565b6000612ed38383612eb8565b60208301905092915050565b6000602082019050919050565b6000612ef782612e8c565b612f018185612e97565b9350612f0c83612ea8565b8060005b83811015612f3d578151612f248882612ec7565b9750612f2f83612edf565b925050600181019050612f10565b5085935050505092915050565b60006020820190508181036000830152612f648184612eec565b905092915050565b60008060408385031215612f8357612f8261263a565b5b6000612f9185828601612890565b9250506020612fa285828601612890565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612ff357607f821691505b6020821081141561300757613006612fac565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613069602c8361270a565b91506130748261300d565b604082019050919050565b600060208201905081810360008301526130988161305c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006130fb60218361270a565b91506131068261309f565b604082019050919050565b6000602082019050818103600083015261312a816130ee565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061318d60388361270a565b915061319882613131565b604082019050919050565b600060208201905081810360008301526131bc81613180565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061321f60318361270a565b915061322a826131c3565b604082019050919050565b6000602082019050818103600083015261324e81613212565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006132b1602b8361270a565b91506132bc82613255565b604082019050919050565b600060208201905081810360008301526132e0816132a4565b9050919050565b7f5a65726f20616d6f756e742070726f7669646564000000000000000000000000600082015250565b600061331d60148361270a565b9150613328826132e7565b602082019050919050565b6000602082019050818103600083015261334c81613310565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061338d826127ba565b9150613398836127ba565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156133cd576133cc613353565b5b828201905092915050565b600082825260208201905092915050565b60006133f583856133d8565b9350613402838584612b3f565b61340b8361274e565b840190509392505050565b600060c08201905061342b600083018a61284f565b613438602083018961284f565b61344560408301886128e5565b81810360608301526134588186886133e9565b905061346760808301856128e5565b61347460a083018461284f565b98975050505050505050565b600081519050919050565b600081905092915050565b60006134a182613480565b6134ab818561348b565b93506134bb81856020860161271b565b80840191505092915050565b60006134d38284613496565b915081905092915050565b7f7472616e7366657246726f6d576974685265666572656e6365416e644665652060008201527f6661696c65640000000000000000000000000000000000000000000000000000602082015250565b600061353a60268361270a565b9150613545826134de565b604082019050919050565b600060208201905081810360008301526135698161352d565b9050919050565b600061357c838561348b565b9350613589838584612b3f565b82840190509392505050565b60006135a2828486613570565b91508190509392505050565b600060e0820190506135c3600083018a61284f565b6135d0602083018961284f565b6135dd60408301886128e5565b6135ea606083018761284f565b6135f760808301866128e5565b61360460a083018561284f565b61361160c08301846128e5565b98975050505050505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613679602c8361270a565b91506136848261361d565b604082019050919050565b600060208201905081810360008301526136a88161366c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061373a60298361270a565b9150613745826136de565b604082019050919050565b600060208201905081810360008301526137698161372d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006137cc602a8361270a565b91506137d782613770565b604082019050919050565b600060208201905081810360008301526137fb816137bf565b9050919050565b7f5a65726f207061796d656e745265666572656e63652070726f76696465640000600082015250565b6000613838601e8361270a565b915061384382613802565b602082019050919050565b600060208201905081810360008301526138678161382b565b9050919050565b7f5a65726f20616464726573732070726f76696465640000000000000000000000600082015250565b60006138a460158361270a565b91506138af8261386e565b602082019050919050565b600060208201905081810360008301526138d381613897565b9050919050565b60008160601b9050919050565b60006138f2826138da565b9050919050565b6000613904826138e7565b9050919050565b61391c6139178261283d565b6138f9565b82525050565b600061392e828661390b565b60148201915061393f828486613570565b9150819050949350505050565b7f52656365697661626c652068617320616c7265616479206265656e206d696e7460008201527f656420666f722074686973207573657220616e64207265717565737400000000602082015250565b60006139a8603c8361270a565b91506139b38261394c565b604082019050919050565b600060208201905081810360008301526139d78161399b565b9050919050565b60006139e9826127ba565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a1c57613a1b613353565b5b600182019050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613a83602c8361270a565b9150613a8e82613a27565b604082019050919050565b60006020820190508181036000830152613ab281613a76565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613b1560298361270a565b9150613b2082613ab9565b604082019050919050565b60006020820190508181036000830152613b4481613b08565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613ba760248361270a565b9150613bb282613b4b565b604082019050919050565b60006020820190508181036000830152613bd681613b9a565b9050919050565b6000613be8826127ba565b9150613bf3836127ba565b925082821015613c0657613c05613353565b5b828203905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613c4760208361270a565b9150613c5282613c11565b602082019050919050565b60006020820190508181036000830152613c7681613c3a565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613cb3601c8361270a565b9150613cbe82613c7d565b602082019050919050565b60006020820190508181036000830152613ce281613ca6565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000613d45602e8361270a565b9150613d5082613ce9565b604082019050919050565b60006020820190508181036000830152613d7481613d38565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613db160198361270a565b9150613dbc82613d7b565b602082019050919050565b60006020820190508181036000830152613de081613da4565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613e4360328361270a565b9150613e4e82613de7565b604082019050919050565b60006020820190508181036000830152613e7281613e36565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000613ed560318361270a565b9150613ee082613e79565b604082019050919050565b60006020820190508181036000830152613f0481613ec8565b9050919050565b600081905092915050565b6000613f21826126ff565b613f2b8185613f0b565b9350613f3b81856020860161271b565b80840191505092915050565b6000613f538285613f16565b9150613f5f8284613f16565b91508190509392505050565b6000613f7682613480565b613f8081856133d8565b9350613f9081856020860161271b565b613f998161274e565b840191505092915050565b6000608082019050613fb9600083018761284f565b613fc6602083018661284f565b613fd360408301856128e5565b8181036060830152613fe58184613f6b565b905095945050505050565b600081519050613fff81612670565b92915050565b60006020828403121561401b5761401a61263a565b5b600061402984828501613ff0565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061408e602f8361270a565b915061409982614032565b604082019050919050565b600060208201905081810360008301526140bd81614081565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140fe826127ba565b9150614109836127ba565b925082614119576141186140c4565b5b828204905092915050565b600061412f826127ba565b915061413a836127ba565b92508261414a576141496140c4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220e2091dbd50707d601e4fb897aa951ea3cecd6a845b6b818e1a60f46416bc752d64736f6c63430008090033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000399f5ee127ce7432e4921a61b8cf52b0af52cbfe000000000000000000000000000000000000000000000000000000000000002752657175657374204e6574776f726b205472616e7366657261626c652052656365697661626c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000047452454300000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101425760003560e01c80636352211e116100b8578063a22cb4651161007c578063a22cb4651461039b578063b5818004146103b7578063b88d4fde146103e9578063c87b56dd14610405578063d004b03614610435578063e985e9c51461046557610142565b80636352211e146102d157806370a08231146103015780637db187c7146103315780638c9bbde61461034d57806395d89b411461037d57610142565b806323b872dd1161010a57806323b872dd146101ff5780632f745c591461021b578063314ee2d91461024b5780633cd3efef1461026757806342842e0e146102855780634f6ccce7146102a157610142565b806301ffc9a71461014757806306fdde0314610177578063081812fc14610195578063095ea7b3146101c557806318160ddd146101e1575b600080fd5b610161600480360381019061015c919061269c565b610495565b60405161016e91906126e4565b60405180910390f35b61017f6104a7565b60405161018c9190612798565b60405180910390f35b6101af60048036038101906101aa91906127f0565b610539565b6040516101bc919061285e565b60405180910390f35b6101df60048036038101906101da91906128a5565b6105be565b005b6101e96106d6565b6040516101f691906128f4565b60405180910390f35b6102196004803603810190610214919061290f565b6106e3565b005b610235600480360381019061023091906128a5565b610743565b60405161024291906128f4565b60405180910390f35b610265600480360381019061026091906129c7565b6107e8565b005b61026f610a96565b60405161027c919061285e565b60405180910390f35b61029f600480360381019061029a919061290f565b610abc565b005b6102bb60048036038101906102b691906127f0565b610adc565b6040516102c891906128f4565b60405180910390f35b6102eb60048036038101906102e691906127f0565b610b4d565b6040516102f8919061285e565b60405180910390f35b61031b60048036038101906103169190612a61565b610bff565b60405161032891906128f4565b60405180910390f35b61034b60048036038101906103469190612bbe565b610cb7565b005b61036760048036038101906103629190612c98565b610f25565b60405161037491906128f4565b60405180910390f35b610385610f3d565b6040516103929190612798565b60405180910390f35b6103b560048036038101906103b09190612cf1565b610fcf565b005b6103d160048036038101906103cc91906127f0565b610fe5565b6040516103e093929190612d31565b60405180910390f35b61040360048036038101906103fe9190612e09565b61102f565b005b61041f600480360381019061041a91906127f0565b611091565b60405161042c9190612798565b60405180910390f35b61044f600480360381019061044a9190612a61565b6110a3565b60405161045c9190612f4a565b60405180910390f35b61047f600480360381019061047a9190612f6c565b611153565b60405161048c91906126e4565b60405180910390f35b60006104a0826111e7565b9050919050565b6060600080546104b690612fdb565b80601f01602080910402602001604051908101604052809291908181526020018280546104e290612fdb565b801561052f5780601f106105045761010080835404028352916020019161052f565b820191906000526020600020905b81548152906001019060200180831161051257829003601f168201915b5050505050905090565b600061054482611261565b610583576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161057a9061307f565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006105c982610b4d565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561063a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161063190613111565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff166106596112cd565b73ffffffffffffffffffffffffffffffffffffffff1614806106885750610687816106826112cd565b611153565b5b6106c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106be906131a3565b60405180910390fd5b6106d183836112d5565b505050565b6000600880549050905090565b6106f46106ee6112cd565b8261138e565b610733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072a90613235565b60405180910390fd5b61073e83838361146c565b505050565b600061074e83610bff565b821061078f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610786906132c7565b60405180910390fd5b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002054905092915050565b600085141561082c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161082390613333565b60405180910390fd5b600061083787610b4d565b9050610843600b6116c8565b6000600d6000898152602001908152602001600020905060008160000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050878260020160008282546108979190613382565b925050819055506000600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1682858b8b8b8b8b6040516024016108f69796959493929190613416565b6040516020818303038152906040527fc219a14d000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff838183161783525050505060405161098091906134c7565b600060405180830381855af49150503d80600081146109bb576040519150601f19603f3d011682016040523d82523d6000602084013e6109c0565b606091505b5050905080610a04576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fb90613550565b60405180910390fd5b8787604051610a14929190613595565b60405180910390207fd8ea20f4bb795eb436b407ba8741af5c592dd982df76e7b3e3d40c10cf7564b533868c600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff168f88610a6f600b6116de565b604051610a8297969594939291906135ae565b60405180910390a250505050505050505050565b600f60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b610ad78383836040518060200160405280600081525061102f565b505050565b6000610ae66106d6565b8210610b27576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b1e9061368f565b60405180910390fd5b60088281548110610b3b57610b3a6136af565b5b90600052602060002001549050919050565b6000806002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610bf6576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610bed90613750565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610c70576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c67906137e2565b60405180910390fd5b600360008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60008585905011610cfd576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cf49061384e565b60405180910390fd5b60008311610d40576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d3790613333565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610db0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610da7906138ba565b60405180910390fd5b6000338686604051602001610dc793929190613922565b6040516020818303038152906040528051906020012090506000600e60008381526020019081526020016000205414610e35576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610e2c906139be565b60405180910390fd5b610e3f600c6116c8565b6000610e4b600c6116de565b905080600e60008481526020019081526020016000208190555060405180606001604052808573ffffffffffffffffffffffffffffffffffffffff1681526020018681526020016000815250600d600083815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506020820151816001015560408201518160020155905050610f1233826116ec565b610f1c81846118ba565b50505050505050565b600e6020528060005260406000206000915090505481565b606060018054610f4c90612fdb565b80601f0160208091040260200160405190810160405280929190818152602001828054610f7890612fdb565b8015610fc55780601f10610f9a57610100808354040283529160200191610fc5565b820191906000526020600020905b815481529060010190602001808311610fa857829003601f168201915b5050505050905090565b610fe1610fda6112cd565b838361192e565b5050565b600d6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010154908060020154905083565b61104061103a6112cd565b8361138e565b61107f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161107690613235565b60405180910390fd5b61108b84848484611a9b565b50505050565b606061109c82611af7565b9050919050565b606060006110b083610bff565b67ffffffffffffffff8111156110c9576110c8612a93565b5b6040519080825280602002602001820160405280156110f75781602001602082028036833780820191505090505b50905060005b61110684610bff565b811015611149576111178482610743565b82828151811061112a576111296136af565b5b6020026020010181815250508080611141906139de565b9150506110fd565b8192505050919050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b60007f780e9d63000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061125a575061125982611c49565b5b9050919050565b60008073ffffffffffffffffffffffffffffffffffffffff166002600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661134883610b4d565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b600061139982611261565b6113d8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016113cf90613a99565b60405180910390fd5b60006113e383610b4d565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16148061145257508373ffffffffffffffffffffffffffffffffffffffff1661143a84610539565b73ffffffffffffffffffffffffffffffffffffffff16145b8061146357506114628185611153565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff1661148c82610b4d565b73ffffffffffffffffffffffffffffffffffffffff16146114e2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114d990613b2b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611552576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161154990613bbd565b60405180910390fd5b61155d838383611d2b565b6115686000826112d5565b6001600360008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115b89190613bdd565b925050819055506001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461160f9190613382565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff16141561175c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161175390613c5d565b60405180910390fd5b61176581611261565b156117a5576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161179c90613cc9565b60405180910390fd5b6117b160008383611d2b565b6001600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546118019190613382565b92505081905550816002600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6118c382611261565b611902576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016118f990613d5b565b60405180910390fd5b80600a6000848152602001908152602001600020908051906020019061192992919061258d565b505050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16141561199d576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161199490613dc7565b60405180910390fd5b80600560008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611a8e91906126e4565b60405180910390a3505050565b611aa684848461146c565b611ab284848484611d3b565b611af1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ae890613e59565b60405180910390fd5b50505050565b6060611b0282611261565b611b41576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b3890613eeb565b60405180910390fd5b6000600a60008481526020019081526020016000208054611b6190612fdb565b80601f0160208091040260200160405190810160405280929190818152602001828054611b8d90612fdb565b8015611bda5780601f10611baf57610100808354040283529160200191611bda565b820191906000526020600020905b815481529060010190602001808311611bbd57829003601f168201915b505050505090506000611beb611ed2565b9050600081511415611c01578192505050611c44565b600082511115611c36578082604051602001611c1e929190613f47565b60405160208183030381529060405292505050611c44565b611c3f84611ee9565b925050505b919050565b60007f80ac58cd000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611d1457507f5b5e139f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611d245750611d2382611f90565b5b9050919050565b611d36838383611ffa565b505050565b6000611d5c8473ffffffffffffffffffffffffffffffffffffffff1661210e565b15611ec5578373ffffffffffffffffffffffffffffffffffffffff1663150b7a02611d856112cd565b8786866040518563ffffffff1660e01b8152600401611da79493929190613fa4565b602060405180830381600087803b158015611dc157600080fd5b505af1925050508015611df257506040513d601f19601f82011682018060405250810190611def9190614005565b60015b611e75573d8060008114611e22576040519150601f19603f3d011682016040523d82523d6000602084013e611e27565b606091505b50600081511415611e6d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e6490613e59565b60405180910390fd5b805181602001fd5b63150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614915050611eca565b600190505b949350505050565b606060405180602001604052806000815250905090565b6060611ef482611261565b611f33576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f2a906140a4565b60405180910390fd5b6000611f3d611ed2565b90506000815111611f5d5760405180602001604052806000815250611f88565b80611f6784612121565b604051602001611f78929190613f47565b6040516020818303038152906040525b915050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b612005838383612282565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156120485761204381612287565b612087565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16146120865761208583826122d0565b5b5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156120ca576120c58161243d565b612109565b8273ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161461210857612107828261250e565b5b5b505050565b600080823b905060008111915050919050565b60606000821415612169576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061227d565b600082905060005b6000821461219b578080612184906139de565b915050600a8261219491906140f3565b9150612171565b60008167ffffffffffffffff8111156121b7576121b6612a93565b5b6040519080825280601f01601f1916602001820160405280156121e95781602001600182028036833780820191505090505b5090505b60008514612276576001826122029190613bdd565b9150600a856122119190614124565b603061221d9190613382565b60f81b818381518110612233576122326136af565b5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561226f91906140f3565b94506121ed565b8093505050505b919050565b505050565b6008805490506009600083815260200190815260200160002081905550600881908060018154018082558091505060019003906000526020600020016000909190919091505550565b600060016122dd84610bff565b6122e79190613bdd565b90506000600760008481526020019081526020016000205490508181146123cc576000600660008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002054905080600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600084815260200190815260200160002081905550816007600083815260200190815260200160002081905550505b6007600084815260200190815260200160002060009055600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008381526020019081526020016000206000905550505050565b600060016008805490506124519190613bdd565b9050600060096000848152602001908152602001600020549050600060088381548110612481576124806136af565b5b9060005260206000200154905080600883815481106124a3576124a26136af565b5b9060005260206000200181905550816009600083815260200190815260200160002081905550600960008581526020019081526020016000206000905560088054806124f2576124f1614155565b5b6001900381819060005260206000200160009055905550505050565b600061251983610bff565b905081600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600083815260200190815260200160002081905550806007600084815260200190815260200160002081905550505050565b82805461259990612fdb565b90600052602060002090601f0160209004810192826125bb5760008555612602565b82601f106125d457805160ff1916838001178555612602565b82800160010185558215612602579182015b828111156126015782518255916020019190600101906125e6565b5b50905061260f9190612613565b5090565b5b8082111561262c576000816000905550600101612614565b5090565b6000604051905090565b600080fd5b600080fd5b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b61267981612644565b811461268457600080fd5b50565b60008135905061269681612670565b92915050565b6000602082840312156126b2576126b161263a565b5b60006126c084828501612687565b91505092915050565b60008115159050919050565b6126de816126c9565b82525050565b60006020820190506126f960008301846126d5565b92915050565b600081519050919050565b600082825260208201905092915050565b60005b8381101561273957808201518184015260208101905061271e565b83811115612748576000848401525b50505050565b6000601f19601f8301169050919050565b600061276a826126ff565b612774818561270a565b935061278481856020860161271b565b61278d8161274e565b840191505092915050565b600060208201905081810360008301526127b2818461275f565b905092915050565b6000819050919050565b6127cd816127ba565b81146127d857600080fd5b50565b6000813590506127ea816127c4565b92915050565b6000602082840312156128065761280561263a565b5b6000612814848285016127db565b91505092915050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b60006128488261281d565b9050919050565b6128588161283d565b82525050565b6000602082019050612873600083018461284f565b92915050565b6128828161283d565b811461288d57600080fd5b50565b60008135905061289f81612879565b92915050565b600080604083850312156128bc576128bb61263a565b5b60006128ca85828601612890565b92505060206128db858286016127db565b9150509250929050565b6128ee816127ba565b82525050565b600060208201905061290960008301846128e5565b92915050565b6000806000606084860312156129285761292761263a565b5b600061293686828701612890565b935050602061294786828701612890565b9250506040612958868287016127db565b9150509250925092565b600080fd5b600080fd5b600080fd5b60008083601f84011261298757612986612962565b5b8235905067ffffffffffffffff8111156129a4576129a3612967565b5b6020830191508360018202830111156129c0576129bf61296c565b5b9250929050565b60008060008060008060a087890312156129e4576129e361263a565b5b60006129f289828a016127db565b9650506020612a0389828a016127db565b955050604087013567ffffffffffffffff811115612a2457612a2361263f565b5b612a3089828a01612971565b94509450506060612a4389828a016127db565b9250506080612a5489828a01612890565b9150509295509295509295565b600060208284031215612a7757612a7661263a565b5b6000612a8584828501612890565b91505092915050565b600080fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b612acb8261274e565b810181811067ffffffffffffffff82111715612aea57612ae9612a93565b5b80604052505050565b6000612afd612630565b9050612b098282612ac2565b919050565b600067ffffffffffffffff821115612b2957612b28612a93565b5b612b328261274e565b9050602081019050919050565b82818337600083830152505050565b6000612b61612b5c84612b0e565b612af3565b905082815260208101848484011115612b7d57612b7c612a8e565b5b612b88848285612b3f565b509392505050565b600082601f830112612ba557612ba4612962565b5b8135612bb5848260208601612b4e565b91505092915050565b600080600080600060808688031215612bda57612bd961263a565b5b600086013567ffffffffffffffff811115612bf857612bf761263f565b5b612c0488828901612971565b95509550506020612c17888289016127db565b9350506040612c2888828901612890565b925050606086013567ffffffffffffffff811115612c4957612c4861263f565b5b612c5588828901612b90565b9150509295509295909350565b6000819050919050565b612c7581612c62565b8114612c8057600080fd5b50565b600081359050612c9281612c6c565b92915050565b600060208284031215612cae57612cad61263a565b5b6000612cbc84828501612c83565b91505092915050565b612cce816126c9565b8114612cd957600080fd5b50565b600081359050612ceb81612cc5565b92915050565b60008060408385031215612d0857612d0761263a565b5b6000612d1685828601612890565b9250506020612d2785828601612cdc565b9150509250929050565b6000606082019050612d46600083018661284f565b612d5360208301856128e5565b612d6060408301846128e5565b949350505050565b600067ffffffffffffffff821115612d8357612d82612a93565b5b612d8c8261274e565b9050602081019050919050565b6000612dac612da784612d68565b612af3565b905082815260208101848484011115612dc857612dc7612a8e565b5b612dd3848285612b3f565b509392505050565b600082601f830112612df057612def612962565b5b8135612e00848260208601612d99565b91505092915050565b60008060008060808587031215612e2357612e2261263a565b5b6000612e3187828801612890565b9450506020612e4287828801612890565b9350506040612e53878288016127db565b925050606085013567ffffffffffffffff811115612e7457612e7361263f565b5b612e8087828801612ddb565b91505092959194509250565b600081519050919050565b600082825260208201905092915050565b6000819050602082019050919050565b612ec1816127ba565b82525050565b6000612ed38383612eb8565b60208301905092915050565b6000602082019050919050565b6000612ef782612e8c565b612f018185612e97565b9350612f0c83612ea8565b8060005b83811015612f3d578151612f248882612ec7565b9750612f2f83612edf565b925050600181019050612f10565b5085935050505092915050565b60006020820190508181036000830152612f648184612eec565b905092915050565b60008060408385031215612f8357612f8261263a565b5b6000612f9185828601612890565b9250506020612fa285828601612890565b9150509250929050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b60006002820490506001821680612ff357607f821691505b6020821081141561300757613006612fac565b5b50919050565b7f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613069602c8361270a565b91506130748261300d565b604082019050919050565b600060208201905081810360008301526130988161305c565b9050919050565b7f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008201527f7200000000000000000000000000000000000000000000000000000000000000602082015250565b60006130fb60218361270a565b91506131068261309f565b604082019050919050565b6000602082019050818103600083015261312a816130ee565b9050919050565b7f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008201527f6e6572206e6f7220617070726f76656420666f7220616c6c0000000000000000602082015250565b600061318d60388361270a565b915061319882613131565b604082019050919050565b600060208201905081810360008301526131bc81613180565b9050919050565b7f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008201527f776e6572206e6f7220617070726f766564000000000000000000000000000000602082015250565b600061321f60318361270a565b915061322a826131c3565b604082019050919050565b6000602082019050818103600083015261324e81613212565b9050919050565b7f455243373231456e756d657261626c653a206f776e657220696e646578206f7560008201527f74206f6620626f756e6473000000000000000000000000000000000000000000602082015250565b60006132b1602b8361270a565b91506132bc82613255565b604082019050919050565b600060208201905081810360008301526132e0816132a4565b9050919050565b7f5a65726f20616d6f756e742070726f7669646564000000000000000000000000600082015250565b600061331d60148361270a565b9150613328826132e7565b602082019050919050565b6000602082019050818103600083015261334c81613310565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b600061338d826127ba565b9150613398836127ba565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156133cd576133cc613353565b5b828201905092915050565b600082825260208201905092915050565b60006133f583856133d8565b9350613402838584612b3f565b61340b8361274e565b840190509392505050565b600060c08201905061342b600083018a61284f565b613438602083018961284f565b61344560408301886128e5565b81810360608301526134588186886133e9565b905061346760808301856128e5565b61347460a083018461284f565b98975050505050505050565b600081519050919050565b600081905092915050565b60006134a182613480565b6134ab818561348b565b93506134bb81856020860161271b565b80840191505092915050565b60006134d38284613496565b915081905092915050565b7f7472616e7366657246726f6d576974685265666572656e6365416e644665652060008201527f6661696c65640000000000000000000000000000000000000000000000000000602082015250565b600061353a60268361270a565b9150613545826134de565b604082019050919050565b600060208201905081810360008301526135698161352d565b9050919050565b600061357c838561348b565b9350613589838584612b3f565b82840190509392505050565b60006135a2828486613570565b91508190509392505050565b600060e0820190506135c3600083018a61284f565b6135d0602083018961284f565b6135dd60408301886128e5565b6135ea606083018761284f565b6135f760808301866128e5565b61360460a083018561284f565b61361160c08301846128e5565b98975050505050505050565b7f455243373231456e756d657261626c653a20676c6f62616c20696e646578206f60008201527f7574206f6620626f756e64730000000000000000000000000000000000000000602082015250565b6000613679602c8361270a565b91506136848261361d565b604082019050919050565b600060208201905081810360008301526136a88161366c565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4552433732313a206f776e657220717565727920666f72206e6f6e657869737460008201527f656e7420746f6b656e0000000000000000000000000000000000000000000000602082015250565b600061373a60298361270a565b9150613745826136de565b604082019050919050565b600060208201905081810360008301526137698161372d565b9050919050565b7f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008201527f726f206164647265737300000000000000000000000000000000000000000000602082015250565b60006137cc602a8361270a565b91506137d782613770565b604082019050919050565b600060208201905081810360008301526137fb816137bf565b9050919050565b7f5a65726f207061796d656e745265666572656e63652070726f76696465640000600082015250565b6000613838601e8361270a565b915061384382613802565b602082019050919050565b600060208201905081810360008301526138678161382b565b9050919050565b7f5a65726f20616464726573732070726f76696465640000000000000000000000600082015250565b60006138a460158361270a565b91506138af8261386e565b602082019050919050565b600060208201905081810360008301526138d381613897565b9050919050565b60008160601b9050919050565b60006138f2826138da565b9050919050565b6000613904826138e7565b9050919050565b61391c6139178261283d565b6138f9565b82525050565b600061392e828661390b565b60148201915061393f828486613570565b9150819050949350505050565b7f52656365697661626c652068617320616c7265616479206265656e206d696e7460008201527f656420666f722074686973207573657220616e64207265717565737400000000602082015250565b60006139a8603c8361270a565b91506139b38261394c565b604082019050919050565b600060208201905081810360008301526139d78161399b565b9050919050565b60006139e9826127ba565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613a1c57613a1b613353565b5b600182019050919050565b7f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008201527f697374656e7420746f6b656e0000000000000000000000000000000000000000602082015250565b6000613a83602c8361270a565b9150613a8e82613a27565b604082019050919050565b60006020820190508181036000830152613ab281613a76565b9050919050565b7f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008201527f73206e6f74206f776e0000000000000000000000000000000000000000000000602082015250565b6000613b1560298361270a565b9150613b2082613ab9565b604082019050919050565b60006020820190508181036000830152613b4481613b08565b9050919050565b7f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008201527f7265737300000000000000000000000000000000000000000000000000000000602082015250565b6000613ba760248361270a565b9150613bb282613b4b565b604082019050919050565b60006020820190508181036000830152613bd681613b9a565b9050919050565b6000613be8826127ba565b9150613bf3836127ba565b925082821015613c0657613c05613353565b5b828203905092915050565b7f4552433732313a206d696e7420746f20746865207a65726f2061646472657373600082015250565b6000613c4760208361270a565b9150613c5282613c11565b602082019050919050565b60006020820190508181036000830152613c7681613c3a565b9050919050565b7f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000600082015250565b6000613cb3601c8361270a565b9150613cbe82613c7d565b602082019050919050565b60006020820190508181036000830152613ce281613ca6565b9050919050565b7f45524337323155524953746f726167653a2055524920736574206f66206e6f6e60008201527f6578697374656e7420746f6b656e000000000000000000000000000000000000602082015250565b6000613d45602e8361270a565b9150613d5082613ce9565b604082019050919050565b60006020820190508181036000830152613d7481613d38565b9050919050565b7f4552433732313a20617070726f766520746f2063616c6c657200000000000000600082015250565b6000613db160198361270a565b9150613dbc82613d7b565b602082019050919050565b60006020820190508181036000830152613de081613da4565b9050919050565b7f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008201527f63656976657220696d706c656d656e7465720000000000000000000000000000602082015250565b6000613e4360328361270a565b9150613e4e82613de7565b604082019050919050565b60006020820190508181036000830152613e7281613e36565b9050919050565b7f45524337323155524953746f726167653a2055524920717565727920666f722060008201527f6e6f6e6578697374656e7420746f6b656e000000000000000000000000000000602082015250565b6000613ed560318361270a565b9150613ee082613e79565b604082019050919050565b60006020820190508181036000830152613f0481613ec8565b9050919050565b600081905092915050565b6000613f21826126ff565b613f2b8185613f0b565b9350613f3b81856020860161271b565b80840191505092915050565b6000613f538285613f16565b9150613f5f8284613f16565b91508190509392505050565b6000613f7682613480565b613f8081856133d8565b9350613f9081856020860161271b565b613f998161274e565b840191505092915050565b6000608082019050613fb9600083018761284f565b613fc6602083018661284f565b613fd360408301856128e5565b8181036060830152613fe58184613f6b565b905095945050505050565b600081519050613fff81612670565b92915050565b60006020828403121561401b5761401a61263a565b5b600061402984828501613ff0565b91505092915050565b7f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008201527f6e6578697374656e7420746f6b656e0000000000000000000000000000000000602082015250565b600061408e602f8361270a565b915061409982614032565b604082019050919050565b600060208201905081810360008301526140bd81614081565b9050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b60006140fe826127ba565b9150614109836127ba565b925082614119576141186140c4565b5b828204905092915050565b600061412f826127ba565b915061413a836127ba565b92508261414a576141496140c4565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fdfea2646970667358221220e2091dbd50707d601e4fb897aa951ea3cecd6a845b6b818e1a60f46416bc752d64736f6c63430008090033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000c0000000000000000000000000399f5ee127ce7432e4921a61b8cf52b0af52cbfe000000000000000000000000000000000000000000000000000000000000002752657175657374204e6574776f726b205472616e7366657261626c652052656365697661626c650000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000047452454300000000000000000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name (string): Request Network Transferable Receivable
Arg [1] : symbol (string): tREC
Arg [2] : _paymentProxyAddress (address): 0x399F5EE127ce7432E4921a61b8CF52b0af52cbfE

-----Encoded View---------------
8 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000c0
Arg [2] : 000000000000000000000000399f5ee127ce7432e4921a61b8cf52b0af52cbfe
Arg [3] : 0000000000000000000000000000000000000000000000000000000000000027
Arg [4] : 52657175657374204e6574776f726b205472616e7366657261626c6520526563
Arg [5] : 65697661626c6500000000000000000000000000000000000000000000000000
Arg [6] : 0000000000000000000000000000000000000000000000000000000000000004
Arg [7] : 7452454300000000000000000000000000000000000000000000000000000000


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