ETH Price: $2,677.73 (-2.18%)

Contract

0x65bC69260A8A90F6E8755CF710C4EBa015d1a0dd
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Nft Mint And Tra...126092322021-06-10 21:33:391173 days ago1623360819IN
TabuTokenV1: Token
0 ETH0.002540717
Grant Role125515442021-06-01 23:26:261182 days ago1622589986IN
TabuTokenV1: Token
0 ETH0.000579918.015
Grant Role125511792021-06-01 22:02:381182 days ago1622584958IN
TabuTokenV1: Token
0 ETH0.0007081822
Grant Role125509442021-06-01 21:09:251182 days ago1622581765IN
TabuTokenV1: Token
0 ETH0.0011588436
Set Global Marke...124622442021-05-19 2:43:591196 days ago1621392239IN
TabuTokenV1: Token
0 ETH0.00547388111.58450279
Nft Mint And Tra...124483922021-05-16 23:14:271198 days ago1621206867IN
TabuTokenV1: Token
0 ETH0.01317595102
Nft Mint And Tra...124400462021-05-15 16:22:541199 days ago1621095774IN
TabuTokenV1: Token
0 ETH0.0109091973.00000134
Grant Role124392602021-05-15 13:35:141199 days ago1621085714IN
TabuTokenV1: Token
0 ETH0.007339672
Grant Role124392402021-05-15 13:31:271199 days ago1621085487IN
TabuTokenV1: Token
0 ETH0.0077473676
Grant Role124392302021-05-15 13:28:361199 days ago1621085316IN
TabuTokenV1: Token
0 ETH0.007849377
Grant Role124271172021-05-13 16:29:511201 days ago1620923391IN
TabuTokenV1: Token
0 ETH0.0101939100
Grant Role124244522021-05-13 6:29:511202 days ago1620887391IN
TabuTokenV1: Token
0 ETH0.0101927100
Grant Role124033402021-05-10 0:17:201205 days ago1620605840IN
TabuTokenV1: Token
0 ETH0.0101939100
Grant Role124032602021-05-10 0:00:511205 days ago1620604851IN
TabuTokenV1: Token
0 ETH0.0101939100
Grant Role124032522021-05-09 23:58:211205 days ago1620604701IN
TabuTokenV1: Token
0 ETH0.0101939100
Nft Mint And Tra...123899012021-05-07 22:34:371207 days ago1620426877IN
TabuTokenV1: Token
0 ETH0.0078445965
Nft Mint And Tra...123898182021-05-07 22:17:491207 days ago1620425869IN
TabuTokenV1: Token
0 ETH0.007865
Nft Mint And Tra...123898052021-05-07 22:15:551207 days ago1620425755IN
TabuTokenV1: Token
0 ETH0.0065879751
Nft Mint And Tra...123897772021-05-07 22:09:311207 days ago1620425371IN
TabuTokenV1: Token
0 ETH0.0082199155
Grant Role123897462021-05-07 22:03:171207 days ago1620424997IN
TabuTokenV1: Token
0 ETH0.0066260365
Burn Batch123897112021-05-07 21:54:341207 days ago1620424474IN
TabuTokenV1: Token
0 ETH0.0026365965
Safe Transfer Fr...123896962021-05-07 21:50:481207 days ago1620424248IN
TabuTokenV1: Token
0 ETH0.0036105565
Set Approval For...123896792021-05-07 21:47:331207 days ago1620424053IN
TabuTokenV1: Token
0 ETH0.0030917366.2
Nft Mint And Tra...123776952021-05-06 1:14:351209 days ago1620263675IN
TabuTokenV1: Token
0 ETH0.0072581156.18778
Nft Mint And Tra...123772412021-05-05 23:28:351209 days ago1620257315IN
TabuTokenV1: Token
0 ETH0.0083822364.89
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TabuTokenV1

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
No with 200 runs

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

pragma solidity ^0.8.0;

import "./ERC1155.sol";
import "./ERC1155Burnable.sol";
import "../node_modules/@openzeppelin/contracts/access/AccessControlEnumerable.sol";
import "../node_modules/@openzeppelin/contracts/utils/Context.sol";

contract TabuTokenV1 is Context, AccessControlEnumerable, ERC1155Burnable {
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    uint256 public tokenCount;

    constructor(string memory uri) ERC1155(uri) {
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());

        _setupRole(MINTER_ROLE, _msgSender());
    }

    function mint(address to, uint256 id, uint256 amount, bytes memory data) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "need minter role");

        _mint(to, id, amount, data);
    }

    function mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "need minter role");

        _mintBatch(to, ids, amounts, data);
    }

    function nftMintAndTransferBatch(address collector, address[] memory creators, uint256 numTokens, bytes memory data) public virtual {
        require(hasRole(MINTER_ROLE, _msgSender()), "need minter role");
        require(creators.length == numTokens, "ids/length mismatch");

        for (uint256 i = 0; i < creators.length; ++i) {
          tokenCount += 1;
          _mint(creators[i], tokenCount, 1, data);
          _transferAfterMint(creators[i], collector, tokenCount, 1, data);
        }
    }

    function setGlobalMarketApprovalBatch(address[] memory operators, bool[] memory approved) public {
      require(hasRole(MINTER_ROLE, _msgSender()), "need minter role");

      require(operators.length == approved.length, "operators/approved mismatch length");

      for (uint256 i = 0; i < operators.length; ++i) {
        _globalCreatorApprovals[operators[i]] = approved[i];
      }
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(AccessControlEnumerable, ERC1155) returns (bool) {
        return super.supportsInterface(interfaceId);
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        internal virtual override(ERC1155)
    {
        super._beforeTokenTransfer(operator, from, to, ids, amounts, data);
    }
}

File 2 of 13 : ERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "../node_modules/@openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol";
import "../node_modules/@openzeppelin/contracts/token/ERC1155/extensions/IERC1155MetadataURI.sol";
import "../node_modules/@openzeppelin/contracts/utils/Address.sol";
import "../node_modules/@openzeppelin/contracts/utils/Context.sol";
import "../node_modules/@openzeppelin/contracts/utils/introspection/ERC165.sol";

contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    enum APPROVAL_MODE { NONE, APPROVE, DENY }

    mapping (uint256 => mapping(address => uint256)) private _balances;
    mapping (address => mapping(address => bool)) private _operatorApprovals;
    mapping (uint256 => address) internal _creators;
    mapping (uint256 => address) internal _owners;
    mapping (address => mapping(address => bool)) internal _marketApprovals;
    mapping (address => APPROVAL_MODE) internal _trustGlobalMarketApprovals;
    mapping (address => bool) internal _globalCreatorApprovals;
    string private _uri;
    uint256 internal NFT_MAX = 0x1000000000000;
    event ApprovalForMarket(address indexed creator, address indexed operator, bool approved);
    event BatchApprovalForMarket(address indexed creator, address[] operators, bool[] approved);

    constructor (string memory uri_) {
        _setURI(uri_);
    }

    function getCreator(uint256 _tokenId) public view returns (address) {
      return _creators[_tokenId];
    }

    function getOwner(uint256 _tokenId) public view returns (address) {
      return _owners[_tokenId];
    }

    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC1155).interfaceId
            || interfaceId == type(IERC1155MetadataURI).interfaceId
            || super.supportsInterface(interfaceId);
    }

    function _concatStringsUri(string memory _baseUri, string memory _tokenStr, string memory _fileType) internal pure returns (string memory) {
      return string(abi.encodePacked(_baseUri, _tokenStr, _fileType));
    }

    function uri(uint256 _tokenId) public view virtual override returns (string memory) {
      return _concatStringsUri(_uri, toString(_tokenId), ".json");
    }

    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "zero address");
        return _balances[id][account];
    }

    function balanceOfBatch(
        address[] memory accounts,
        uint256[] memory ids
    )
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
      require(accounts.length == ids.length, "ids/length mismatch");

      uint256[] memory batchBalances = new uint256[](accounts.length);

      for (uint256 i = 0; i < accounts.length; ++i) {
          batchBalances[i] = balanceOf(accounts[i], ids[i]);
      }

      return batchBalances;
    }

    function _hasInitializedTrust(address creator) internal view returns (bool) {
      return APPROVAL_MODE.NONE == _trustGlobalMarketApprovals[creator];
    }

    function _trustTabuArt(address creator) internal {
      if (_hasInitializedTrust(creator)) {
        _trustGlobalMarketApprovals[creator] = APPROVAL_MODE.APPROVE;
      }
    }

    function doesTrustTabuArt(address creator) public view returns (bool) {
      return _trustGlobalMarketApprovals[creator] != APPROVAL_MODE.DENY;
    }

    function setTrustGlobalMarkets(bool approved) public {
      if (approved) {
        _trustGlobalMarketApprovals[_msgSender()] = APPROVAL_MODE.APPROVE;
      }
      else {
        _trustGlobalMarketApprovals[_msgSender()] = APPROVAL_MODE.DENY;
      }
    }

    function setApprovalForMarketBatch(address[] memory operators, bool[] memory approved) public {
      require(operators.length == approved.length, "operators/approved mismatch length");

      for (uint256 i = 0; i < operators.length; ++i) {
        _marketApprovals[_msgSender()][operators[i]] = approved[i];
      }

      emit BatchApprovalForMarket(_msgSender(), operators, approved);
    }

    function isApprovedForMarket(address creator, address operator) public view returns (bool) {
      if (doesTrustTabuArt(creator)) {
        return _globalCreatorApprovals[operator] ||
               _globalCreatorApprovals[address(0)];
      }

      return _marketApprovals[creator][operator] ||
             _marketApprovals[creator][address(0)];
    }

    function setApprovalForAll(address operator, bool approved) public virtual override {
      require(_msgSender() != operator, "self approve");

      _operatorApprovals[_msgSender()][operator] = approved;
      emit ApprovalForAll(_msgSender(), operator, approved);
    }

    function isApprovedForAll(address account, address operator) public view virtual override returns (bool) {
        return _operatorApprovals[account][operator];
    }

    function _transferAfterMint(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
        internal
    {
        require(to != address(0), "zero address");

        address operator = _msgSender();

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "insufficient balance");
        _balances[id][from] = fromBalance - amount;
        _balances[id][to] += amount;

        if (address(0) == from) {
          _creators[id] = to;
        }

        _owners[id] = to;

        _trustTabuArt(from);

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
        public
        virtual
        override
    {
        require(to != address(0), "zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "caller not approved"
        );
        require(
          isApprovedForMarket(getCreator(id), _msgSender()),
          "need creator approval"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, _asSingletonArray(id), _asSingletonArray(amount), data);

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "insufficient balance");
        _balances[id][from] = fromBalance - amount;
        _balances[id][to] += amount;

        if (address(0) == from) {
          _creators[id] = to;
        }

        _owners[id] = to;

        emit TransferSingle(operator, from, to, id, amount);

        _doSafeTransferAcceptanceCheck(operator, from, to, id, amount, data);
    }

    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        public
        virtual
        override
    {
        require(ids.length == amounts.length, "ids/length mismatch");
        require(to != address(0), "zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "caller not approved"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, from, to, ids, amounts, data);

        for (uint256 i = 0; i < ids.length; ++i) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];
            address _creator = getCreator(id);

            require(
              isApprovedForMarket(_creator, _msgSender()),
              "need creator approval"
            );

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "insufficient balance");
            _balances[id][from] = fromBalance - amount;
            _balances[id][to] += amount;

            if (address(0) == from) {
              _creators[id] = to;
            }

            _owners[id] = to;
        }

        emit TransferBatch(operator, from, to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, from, to, ids, amounts, data);
    }

    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual {
        require(account != address(0), "zero address");
        if (id < NFT_MAX) {
          require(
            address(0) == getCreator(id) && amount == 1,
            "duplicate nft"
          );
        }

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), account, _asSingletonArray(id), _asSingletonArray(amount), data);

        _balances[id][account] += amount;

        _creators[id] = account;
        _owners[id] = account;

        _trustTabuArt(account);

        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, id, amount, data);
    }

    function _mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) internal virtual {
        require(to != address(0), "zero address");
        require(ids.length == amounts.length, "ids/length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, address(0), to, ids, amounts, data);

        for (uint i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            _balances[id][to] += amount;

            if (id < NFT_MAX) {
              require(
                address(0) == getCreator(id) && amount == 1,
                "duplicate nft"
              );
            }

            _creators[id] = to;
            _owners[id] = to;
        }

        _trustTabuArt(to);

        emit TransferBatch(operator, address(0), to, ids, amounts);

        _doSafeBatchTransferAcceptanceCheck(operator, address(0), to, ids, amounts, data);
    }

    function _burn(address account, uint256 id, uint256 amount) internal virtual {
        require(account != address(0), "zero address");
        require(
          isApprovedForMarket(getCreator(id), _msgSender()),
          "need creator approval"
        );

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), _asSingletonArray(id), _asSingletonArray(amount), "");

        uint256 accountBalance = _balances[id][account];
        require(accountBalance >= amount, "insufficient balance");
        _balances[id][account] = accountBalance - amount;

        _owners[id] = address(0);

        emit TransferSingle(operator, account, address(0), id, amount);
    }

    function _burnBatch(address account, uint256[] memory ids, uint256[] memory amounts) internal virtual {
        require(account != address(0), "zero address");
        require(ids.length == amounts.length, "ids/length mismatch");

        address operator = _msgSender();

        _beforeTokenTransfer(operator, account, address(0), ids, amounts, "");

        for (uint i = 0; i < ids.length; i++) {
            uint256 id = ids[i];
            uint256 amount = amounts[i];

            require(
              isApprovedForMarket(getCreator(id), operator),
              "need creator approval"
            );

            uint256 accountBalance = _balances[id][account];
            require(accountBalance >= amount, "insufficient balance");

            _owners[id] = address(0);

            _balances[id][account] = accountBalance - amount;
        }

        emit TransferBatch(operator, account, address(0), ids, amounts);
    }

    function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        internal
        virtual
    {
    }

    function _doSafeTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    )
        private
    {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155Received(operator, from, id, amount, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _doSafeBatchTransferAcceptanceCheck(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    )
        private
    {
        if (to.isContract()) {
            try IERC1155Receiver(to).onERC1155BatchReceived(operator, from, ids, amounts, data) returns (bytes4 response) {
                if (response != IERC1155Receiver(to).onERC1155BatchReceived.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

    function _asSingletonArray(uint256 element) private pure returns (uint256[] memory) {
        uint256[] memory array = new uint256[](1);
        array[0] = element;

        return array;
    }

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

File 3 of 13 : ERC1155Burnable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./ERC1155.sol";

/**
 * @dev Extension of {ERC1155} that allows token holders to destroy both their
 * own tokens and those that they have been approved to use.
 *
 * _Available since v3.1._
 */
abstract contract ERC1155Burnable is ERC1155 {
    function burn(address account, uint256 id, uint256 value) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "caller not approved"
        );

        _burn(account, id, value);
    }

    function burnBatch(address account, uint256[] memory ids, uint256[] memory values) public virtual {
        require(
            account == _msgSender() || isApprovedForAll(account, _msgSender()),
            "caller not approved"
        );

        _burnBatch(account, ids, values);
    }
}

File 4 of 13 : AccessControl.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    function hasRole(bytes32 role, address account) external view returns (bool);
    function getRoleAdmin(bytes32 role) external view returns (bytes32);
    function grantRole(bytes32 role, address account) external;
    function revokeRole(bytes32 role, address account) external;
    function renounceRole(bytes32 role, address account) external;
}

/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms. This is a lightweight version that doesn't allow enumerating role
 * members except through off-chain means by accessing the contract event logs. Some
 * applications may benefit from on-chain enumerability, for those cases see
 * {AccessControlEnumerable}.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context, IAccessControl, ERC165 {
    struct RoleData {
        mapping (address => bool) members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

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

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view override returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        require(hasRole(getRoleAdmin(role), _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, getRoleAdmin(role), adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 5 of 13 : AccessControlEnumerable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./AccessControl.sol";
import "../utils/structs/EnumerableSet.sol";

/**
 * @dev External interface of AccessControlEnumerable declared to support ERC165 detection.
 */
interface IAccessControlEnumerable {
    function getRoleMember(bytes32 role, uint256 index) external view returns (address);
    function getRoleMemberCount(bytes32 role) external view returns (uint256);
}

/**
 * @dev Extension of {AccessControl} that allows enumerating the members of each role.
 */
abstract contract AccessControlEnumerable is IAccessControlEnumerable, AccessControl {
    using EnumerableSet for EnumerableSet.AddressSet;

    mapping (bytes32 => EnumerableSet.AddressSet) private _roleMembers;

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

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view override returns (address) {
        return _roleMembers[role].at(index);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view override returns (uint256) {
        return _roleMembers[role].length();
    }

    /**
     * @dev Overload {grantRole} to track enumerable memberships
     */
    function grantRole(bytes32 role, address account) public virtual override {
        super.grantRole(role, account);
        _roleMembers[role].add(account);
    }

    /**
     * @dev Overload {revokeRole} to track enumerable memberships
     */
    function revokeRole(bytes32 role, address account) public virtual override {
        super.revokeRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {renounceRole} to track enumerable memberships
     */
    function renounceRole(bytes32 role, address account) public virtual override {
        super.renounceRole(role, account);
        _roleMembers[role].remove(account);
    }

    /**
     * @dev Overload {_setupRole} to track enumerable memberships
     */
    function _setupRole(bytes32 role, address account) internal virtual override {
        super._setupRole(role, account);
        _roleMembers[role].add(account);
    }
}

File 6 of 13 : IERC1155.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(address indexed operator, address indexed from, address indexed to, uint256[] ids, uint256[] values);

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids) external view returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(address from, address to, uint256 id, uint256 amount, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(address from, address to, uint256[] calldata ids, uint256[] calldata amounts, bytes calldata data) external;
}

File 7 of 13 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

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

/**
 * _Available since v3.1._
 */
interface IERC1155Receiver is IERC165 {

    /**
        @dev Handles the receipt of a single ERC1155 token type. This function is
        called at the end of a `safeTransferFrom` after the balance has been updated.
        To accept the transfer, this must return
        `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
        (i.e. 0xf23a6e61, or its own function selector).
        @param operator The address which initiated the transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param id The ID of the token being transferred
        @param value The amount of tokens being transferred
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
    */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    )
        external
        returns(bytes4);

    /**
        @dev Handles the receipt of a multiple ERC1155 token types. This function
        is called at the end of a `safeBatchTransferFrom` after the balances have
        been updated. To accept the transfer(s), this must return
        `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
        (i.e. 0xbc197c81, or its own function selector).
        @param operator The address which initiated the batch transfer (i.e. msg.sender)
        @param from The address which previously owned the token
        @param ids An array containing ids of each token being transferred (order and length must match values array)
        @param values An array containing amounts of each token being transferred (order and length must match ids array)
        @param data Additional data with no specified format
        @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
    */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    )
        external
        returns(bytes4);
}

File 8 of 13 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC1155.sol";

/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}

File 9 of 13 : Address.sol
// SPDX-License-Identifier: MIT

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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

File 10 of 13 : Context.sol
// SPDX-License-Identifier: MIT

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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

File 11 of 13 : ERC165.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

File 12 of 13 : IERC165.sol
// SPDX-License-Identifier: MIT

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 13 of 13 : EnumerableSet.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}

Settings
{
  "remappings": [],
  "optimizer": {
    "enabled": false,
    "runs": 200
  },
  "evmVersion": "istanbul",
  "libraries": {},
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"uri","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","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":"creator","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForMarket","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"creator","type":"address"},{"indexed":false,"internalType":"address[]","name":"operators","type":"address[]"},{"indexed":false,"internalType":"bool[]","name":"approved","type":"bool[]"}],"name":"BatchApprovalForMarket","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"burnBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"creator","type":"address"}],"name":"doesTrustTabuArt","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getCreator","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"creator","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForMarket","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"collector","type":"address"},{"internalType":"address[]","name":"creators","type":"address[]"},{"internalType":"uint256","name":"numTokens","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"nftMintAndTransferBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","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":"address[]","name":"operators","type":"address[]"},{"internalType":"bool[]","name":"approved","type":"bool[]"}],"name":"setApprovalForMarketBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"operators","type":"address[]"},{"internalType":"bool[]","name":"approved","type":"bool[]"}],"name":"setGlobalMarketApprovalBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"approved","type":"bool"}],"name":"setTrustGlobalMarkets","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":"tokenCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040526601000000000000600a553480156200001c57600080fd5b50604051620065ce380380620065ce833981810160405281019062000042919062000495565b806200005481620000c160201b60201c565b50620000796000801b6200006d620000dd60201b60201c565b620000e560201b60201c565b620000ba7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6620000ae620000dd60201b60201c565b620000e560201b60201c565b506200064a565b8060099080519060200190620000d992919062000373565b5050565b600033905090565b620000fc82826200012d60201b6200227f1760201c565b6200012881600160008581526020019081526020016000206200014360201b6200228d1790919060201c565b505050565b6200013f82826200017b60201b60201c565b5050565b600062000173836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6200026c60201b60201c565b905092915050565b6200018d8282620002e660201b60201c565b6200026857600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200020d620000dd60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006200028083836200035060201b60201c565b620002db578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050620002e0565b600090505b92915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600080836001016000848152602001908152602001600020541415905092915050565b82805462000381906200056f565b90600052602060002090601f016020900481019282620003a55760008555620003f1565b82601f10620003c057805160ff1916838001178555620003f1565b82800160010185558215620003f1579182015b82811115620003f0578251825591602001919060010190620003d3565b5b50905062000400919062000404565b5090565b5b808211156200041f57600081600090555060010162000405565b5090565b60006200043a620004348462000503565b620004da565b9050828152602081018484840111156200045357600080fd5b6200046084828562000539565b509392505050565b600082601f8301126200047a57600080fd5b81516200048c84826020860162000423565b91505092915050565b600060208284031215620004a857600080fd5b600082015167ffffffffffffffff811115620004c357600080fd5b620004d18482850162000468565b91505092915050565b6000620004e6620004f9565b9050620004f48282620005a5565b919050565b6000604051905090565b600067ffffffffffffffff8211156200052157620005206200060a565b5b6200052c8262000639565b9050602081019050919050565b60005b83811015620005595780820151818401526020810190506200053c565b8381111562000569576000848401525b50505050565b600060028204905060018216806200058857607f821691505b602082108114156200059f576200059e620005db565b5b50919050565b620005b08262000639565b810181811067ffffffffffffffff82111715620005d257620005d16200060a565b5b80604052505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b615f74806200065a6000396000f3fe608060405234801561001057600080fd5b50600436106101d95760003560e01c806391d1485411610104578063cc8e0d14116100a2578063e985e9c511610071578063e985e9c5146105ac578063ed97b257146105dc578063f242432a146105f8578063f5298aca14610614576101d9565b8063cc8e0d1414610512578063d48e638a14610542578063d539139314610572578063d547741f14610590576101d9565b8063a22cb465116100de578063a22cb4651461047a578063b13ee94f14610496578063c41a360a146104b2578063ca15c873146104e2576101d9565b806391d148541461040e5780639f181b5e1461043e578063a217fddf1461045c576101d9565b80632eb2c2d61161017c5780636482c9321161014b5780636482c9321461038a5780636b20c454146103a6578063731133e9146103c25780639010d07c146103de576101d9565b80632eb2c2d6146103065780632f2ff15d1461032257806336568abe1461033e5780634e1273f41461035a576101d9565b80631ae93af6116101b85780631ae93af61461026e5780631f7fdffa1461029e578063248a9ca3146102ba5780632d30a2da146102ea576101d9565b8062fdd58e146101de57806301ffc9a71461020e5780630e89341c1461023e575b600080fd5b6101f860048036038101906101f391906149f0565b610630565b6040516102059190615564565b60405180910390f35b61022860048036038101906102239190614c98565b6106fa565b604051610235919061532c565b60405180910390f35b61025860048036038101906102539190614cea565b61070c565b6040516102659190615362565b60405180910390f35b61028860048036038101906102839190614644565b6107e7565b604051610295919061532c565b60405180910390f35b6102b860048036038101906102b39190614909565b6108b0565b005b6102d460048036038101906102cf9190614bf7565b610932565b6040516102e19190615347565b60405180910390f35b61030460048036038101906102ff9190614af6565b610951565b005b610320600480360381019061031b91906146a9565b610afe565b005b61033c60048036038101906103379190614c20565b61102f565b005b61035860048036038101906103539190614c20565b611063565b005b610374600480360381019061036f9190614b62565b611097565b60405161038191906152d3565b60405180910390f35b6103a4600480360381019061039f91906147f7565b611248565b005b6103c060048036038101906103bb919061488a565b6113d8565b005b6103dc60048036038101906103d79190614a7b565b611475565b005b6103f860048036038101906103f39190614c5c565b6114f7565b60405161040591906151bf565b60405180910390f35b61042860048036038101906104239190614c20565b611526565b604051610435919061532c565b60405180910390f35b610446611590565b6040516104539190615564565b60405180910390f35b610464611596565b6040516104719190615347565b60405180910390f35b610494600480360381019061048f91906149b4565b61159d565b005b6104b060048036038101906104ab9190614bce565b61171e565b005b6104cc60048036038101906104c79190614cea565b611857565b6040516104d991906151bf565b60405180910390f35b6104fc60048036038101906104f79190614bf7565b611894565b6040516105099190615564565b60405180910390f35b61052c6004803603810190610527919061466d565b6118b8565b604051610539919061532c565b60405180910390f35b61055c60048036038101906105579190614cea565b611a94565b60405161056991906151bf565b60405180910390f35b61057a611ad1565b6040516105879190615347565b60405180910390f35b6105aa60048036038101906105a59190614c20565b611af5565b005b6105c660048036038101906105c1919061466d565b611b29565b6040516105d3919061532c565b60405180910390f35b6105f660048036038101906105f19190614af6565b611bbd565b005b610612600480360381019061060d9190614768565b611d95565b005b61062e60048036038101906106299190614a2c565b6121e2565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610698906154e4565b60405180910390fd5b6002600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000610705826122bd565b9050919050565b60606107e06009805461071e906158eb565b80601f016020809104026020016040519081016040528092919081815260200182805461074a906158eb565b80156107975780601f1061076c57610100808354040283529160200191610797565b820191906000526020600020905b81548152906001019060200180831161077a57829003601f168201915b50505050506107a58461239f565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525061254c565b9050919050565b6000600280811115610822577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660028111156108a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14159050919050565b6108e17f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66108dc61257b565b611526565b610920576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610917906154a4565b60405180910390fd5b61092c84848484612583565b50505050565b6000806000838152602001908152602001600020600101549050919050565b6109827f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661097d61257b565b611526565b6109c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b8906154a4565b60405180910390fd5b8051825114610a05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fc90615424565b60405180910390fd5b60005b8251811015610af957818181518110610a4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160086000858481518110610a8f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080610af29061594e565b9050610a08565b505050565b8151835114610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3990615524565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba9906154e4565b60405180910390fd5b610bba61257b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c005750610bff85610bfa61257b565b611b29565b5b610c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3690615464565b60405180910390fd5b6000610c4961257b565b9050610c59818787878787612935565b60005b8451811015610f9a576000858281518110610ca0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110610ce5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000610cfa83611a94565b9050610d0d81610d0861257b565b6118b8565b610d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4390615444565b60405180910390fd5b60006002600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddb90615504565b60405180910390fd5b8281610df091906157f7565b6002600086815260200190815260200160002060008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550826002600086815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ea49190615770565b925050819055508a73ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff161415610f3357896004600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b896005600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505080610f939061594e565b9050610c5c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516110119291906152f5565b60405180910390a461102781878787878761294b565b505050505050565b6110398282612b32565b61105e816001600085815260200190815260200160002061228d90919063ffffffff16565b505050565b61106d8282612b98565b6110928160016000858152602001908152602001600020612c1b90919063ffffffff16565b505050565b606081518351146110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d490615524565b60405180910390fd5b6000835167ffffffffffffffff811115611120577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561114e5781602001602082028036833780820191505090505b50905060005b845181101561123d576111e7858281518110611199577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518583815181106111da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610630565b828281518110611220577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050806112369061594e565b9050611154565b508091505092915050565b6112797f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661127461257b565b611526565b6112b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112af906154a4565b60405180910390fd5b818351146112fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f290615524565b60405180910390fd5b60005b83518110156113d1576001600b600082825461131a9190615770565b9250508190555061137084828151811061135d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600b54600185612c4b565b6113c08482815181106113ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015186600b54600186612f1d565b806113ca9061594e565b90506112fe565b5050505050565b6113e061257b565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061142657506114258361142061257b565b611b29565b5b611465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145c90615464565b60405180910390fd5b611470838383613270565b505050565b6114a67f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66114a161257b565b611526565b6114e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dc906154a4565b60405180910390fd5b6114f184848484612c4b565b50505050565b600061151e826001600086815260200190815260200160002061361c90919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b5481565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff166115bc61257b565b73ffffffffffffffffffffffffffffffffffffffff161415611613576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160a906153e4565b60405180910390fd5b806003600061162061257b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116cd61257b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611712919061532c565b60405180910390a35050565b80156117be5760016007600061173261257b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360028111156117b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550611854565b6002600760006117cc61257b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083600281111561184e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055505b50565b60006005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006118b160016000848152602001908152602001600020613636565b9050919050565b60006118c3836107e7565b1561197057600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806119695750600860008073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b9050611a8e565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611a8b5750600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b90505b92915050565b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611aff828261364b565b611b248160016000858152602001908152602001600020612c1b90919063ffffffff16565b505050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8051825114611c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf890615424565b60405180910390fd5b60005b8251811015611d3957818181518110611c46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160066000611c5a61257b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858481518110611ccf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080611d329061594e565b9050611c04565b50611d4261257b565b73ffffffffffffffffffffffffffffffffffffffff167f7ff776c59c3c064d6b133d823e3f165c60e69179a98cdc91bc6da0dce3c20bac8383604051611d8992919061529c565b60405180910390a25050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfc906154e4565b60405180910390fd5b611e0d61257b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611e535750611e5285611e4d61257b565b611b29565b5b611e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8990615464565b60405180910390fd5b611eab611e9e84611a94565b611ea661257b565b6118b8565b611eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee190615444565b60405180910390fd5b6000611ef461257b565b9050611f14818787611f05886136b1565b611f0e886136b1565b87612935565b60006002600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa390615504565b60405180910390fd5b8381611fb891906157f7565b6002600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836002600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461206c9190615770565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff1614156120fb57856004600087815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b856005600087815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516121c392919061557f565b60405180910390a46121d9828888888888613777565b50505050505050565b6121ea61257b565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480612230575061222f8361222a61257b565b611b29565b5b61226f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226690615464565b60405180910390fd5b61227a83838361395e565b505050565b6122898282613c31565b5050565b60006122b5836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613d11565b905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061238857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612398575061239782613d81565b5b9050919050565b606060008214156123e7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612547565b600082905060005b600082146124195780806124029061594e565b915050600a8261241291906157c6565b91506123ef565b60008167ffffffffffffffff81111561245b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561248d5781602001600182028036833780820191505090505b5090505b60008514612540576001826124a691906157f7565b9150600a856124b59190615997565b60306124c19190615770565b60f81b8183815181106124fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561253991906157c6565b9450612491565b8093505050505b919050565b60608383836040516020016125639392919061518e565b60405160208183030381529060405290509392505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ea906154e4565b60405180910390fd5b8151835114612637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262e90615524565b60405180910390fd5b600061264161257b565b905061265281600087878787612935565b60005b8451811015612896576000858281518110612699577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008583815181106126de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050806002600084815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127489190615770565b92505081905550600a548210156127dd5761276282611a94565b73ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff1614801561279d5750600181145b6127dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d390615484565b60405180910390fd5b5b876004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550876005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050808061288e9061594e565b915050612655565b506128a085613dfb565b8473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516129179291906152f5565b60405180910390a461292e8160008787878761294b565b5050505050565b612943868686868686613e9b565b505050505050565b61296a8473ffffffffffffffffffffffffffffffffffffffff16613ea3565b15612b2a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016129b09594939291906151da565b602060405180830381600087803b1580156129ca57600080fd5b505af19250505080156129fb57506040513d601f19601f820116820180604052508101906129f89190614cc1565b60015b612aa157612a07615a84565b806308c379a01415612a645750612a1c615e35565b80612a275750612a66565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5b9190615362565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9890615384565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1f906153c4565b60405180910390fd5b505b505050505050565b612b4b612b3e83610932565b612b4661257b565b611526565b612b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8190615404565b60405180910390fd5b612b948282613c31565b5050565b612ba061257b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0490615544565b60405180910390fd5b612c178282613eb6565b5050565b6000612c43836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613f97565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb2906154e4565b60405180910390fd5b600a54831015612d4957612cce83611a94565b73ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16148015612d095750600182145b612d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3f90615484565b60405180910390fd5b5b6000612d5361257b565b9050612d7481600087612d65886136b1565b612d6e886136b1565b87612935565b826002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dd49190615770565b92505081905550846004600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550846005600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612e8885613dfb565b8473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612eff92919061557f565b60405180910390a4612f1681600087878787613777565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f84906154e4565b60405180910390fd5b6000612f9761257b565b905060006002600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015613031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302890615504565b60405180910390fd5b838161303d91906157f7565b6002600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836002600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130f19190615770565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16141561318057856004600087815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b856005600087815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506131db87613dfb565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161325192919061557f565b60405180910390a4613267828888888888613777565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d7906154e4565b60405180910390fd5b8051825114613324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331b90615524565b60405180910390fd5b600061332e61257b565b905061334e81856000868660405180602001604052806000815250612935565b60005b8351811015613596576000848281518110613395577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008483815181106133da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506133f66133f083611a94565b856118b8565b613435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161342c90615444565b60405180910390fd5b60006002600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156134cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c490615504565b60405180910390fd5b60006005600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818161352c91906157f7565b6002600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050808061358e9061594e565b915050613351565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161360e9291906152f5565b60405180910390a450505050565b600061362b8360000183614121565b60001c905092915050565b6000613644826000016141bb565b9050919050565b61366461365783610932565b61365f61257b565b611526565b6136a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369a906154c4565b60405180910390fd5b6136ad8282613eb6565b5050565b60606000600167ffffffffffffffff8111156136f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156137245781602001602082028036833780820191505090505b5090508281600081518110613762577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b6137968473ffffffffffffffffffffffffffffffffffffffff16613ea3565b15613956578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016137dc959493929190615242565b602060405180830381600087803b1580156137f657600080fd5b505af192505050801561382757506040513d601f19601f820116820180604052508101906138249190614cc1565b60015b6138cd57613833615a84565b806308c379a014156138905750613848615e35565b806138535750613892565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138879190615362565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138c490615384565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394b906153c4565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139c5906154e4565b60405180910390fd5b6139e76139da83611a94565b6139e261257b565b6118b8565b613a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a1d90615444565b60405180910390fd5b6000613a3061257b565b9050613a6081856000613a42876136b1565b613a4b876136b1565b60405180602001604052806000815250612935565b60006002600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015613af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aef90615504565b60405180910390fd5b8281613b0491906157f7565b6002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006005600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051613c2292919061557f565b60405180910390a45050505050565b613c3b8282611526565b613d0d57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613cb261257b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000613d1d83836141cc565b613d76578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613d7b565b600090505b92915050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613df45750613df3826141ef565b5b9050919050565b613e0481614269565b15613e98576001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836002811115613e92577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055505b50565b505050505050565b600080823b905060008111915050919050565b613ec08282611526565b15613f9357600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613f3861257b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008083600101600084815260200190815260200160002054905060008114614115576000600182613fc991906157f7565b9050600060018660000180549050613fe191906157f7565b90506000866000018281548110614021577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508087600001848154811061406b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055506001836140869190615770565b87600101600083815260200190815260200160002081905550866000018054806140d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061411b565b60009150505b92915050565b60008183600001805490501161416c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614163906153a4565b60405180910390fd5b8260000182815481106141a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480614262575061426182614332565b5b9050919050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660028111156142f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000600281111561432a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b149050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006143af6143aa846155cd565b6155a8565b905080838252602082019050828560208602820111156143ce57600080fd5b60005b858110156143fe57816143e4888261451e565b8452602084019350602083019250506001810190506143d1565b5050509392505050565b600061441b614416846155f9565b6155a8565b9050808382526020820190508285602086028201111561443a57600080fd5b60005b8581101561446a578161445088826145b1565b84526020840193506020830192505060018101905061443d565b5050509392505050565b600061448761448284615625565b6155a8565b905080838252602082019050828560208602820111156144a657600080fd5b60005b858110156144d657816144bc888261462f565b8452602084019350602083019250506001810190506144a9565b5050509392505050565b60006144f36144ee84615651565b6155a8565b90508281526020810184848401111561450b57600080fd5b6145168482856158a9565b509392505050565b60008135905061452d81615ecb565b92915050565b600082601f83011261454457600080fd5b813561455484826020860161439c565b91505092915050565b600082601f83011261456e57600080fd5b813561457e848260208601614408565b91505092915050565b600082601f83011261459857600080fd5b81356145a8848260208601614474565b91505092915050565b6000813590506145c081615ee2565b92915050565b6000813590506145d581615ef9565b92915050565b6000813590506145ea81615f10565b92915050565b6000815190506145ff81615f10565b92915050565b600082601f83011261461657600080fd5b81356146268482602086016144e0565b91505092915050565b60008135905061463e81615f27565b92915050565b60006020828403121561465657600080fd5b60006146648482850161451e565b91505092915050565b6000806040838503121561468057600080fd5b600061468e8582860161451e565b925050602061469f8582860161451e565b9150509250929050565b600080600080600060a086880312156146c157600080fd5b60006146cf8882890161451e565b95505060206146e08882890161451e565b945050604086013567ffffffffffffffff8111156146fd57600080fd5b61470988828901614587565b935050606086013567ffffffffffffffff81111561472657600080fd5b61473288828901614587565b925050608086013567ffffffffffffffff81111561474f57600080fd5b61475b88828901614605565b9150509295509295909350565b600080600080600060a0868803121561478057600080fd5b600061478e8882890161451e565b955050602061479f8882890161451e565b94505060406147b08882890161462f565b93505060606147c18882890161462f565b925050608086013567ffffffffffffffff8111156147de57600080fd5b6147ea88828901614605565b9150509295509295909350565b6000806000806080858703121561480d57600080fd5b600061481b8782880161451e565b945050602085013567ffffffffffffffff81111561483857600080fd5b61484487828801614533565b93505060406148558782880161462f565b925050606085013567ffffffffffffffff81111561487257600080fd5b61487e87828801614605565b91505092959194509250565b60008060006060848603121561489f57600080fd5b60006148ad8682870161451e565b935050602084013567ffffffffffffffff8111156148ca57600080fd5b6148d686828701614587565b925050604084013567ffffffffffffffff8111156148f357600080fd5b6148ff86828701614587565b9150509250925092565b6000806000806080858703121561491f57600080fd5b600061492d8782880161451e565b945050602085013567ffffffffffffffff81111561494a57600080fd5b61495687828801614587565b935050604085013567ffffffffffffffff81111561497357600080fd5b61497f87828801614587565b925050606085013567ffffffffffffffff81111561499c57600080fd5b6149a887828801614605565b91505092959194509250565b600080604083850312156149c757600080fd5b60006149d58582860161451e565b92505060206149e6858286016145b1565b9150509250929050565b60008060408385031215614a0357600080fd5b6000614a118582860161451e565b9250506020614a228582860161462f565b9150509250929050565b600080600060608486031215614a4157600080fd5b6000614a4f8682870161451e565b9350506020614a608682870161462f565b9250506040614a718682870161462f565b9150509250925092565b60008060008060808587031215614a9157600080fd5b6000614a9f8782880161451e565b9450506020614ab08782880161462f565b9350506040614ac18782880161462f565b925050606085013567ffffffffffffffff811115614ade57600080fd5b614aea87828801614605565b91505092959194509250565b60008060408385031215614b0957600080fd5b600083013567ffffffffffffffff811115614b2357600080fd5b614b2f85828601614533565b925050602083013567ffffffffffffffff811115614b4c57600080fd5b614b588582860161455d565b9150509250929050565b60008060408385031215614b7557600080fd5b600083013567ffffffffffffffff811115614b8f57600080fd5b614b9b85828601614533565b925050602083013567ffffffffffffffff811115614bb857600080fd5b614bc485828601614587565b9150509250929050565b600060208284031215614be057600080fd5b6000614bee848285016145b1565b91505092915050565b600060208284031215614c0957600080fd5b6000614c17848285016145c6565b91505092915050565b60008060408385031215614c3357600080fd5b6000614c41858286016145c6565b9250506020614c528582860161451e565b9150509250929050565b60008060408385031215614c6f57600080fd5b6000614c7d858286016145c6565b9250506020614c8e8582860161462f565b9150509250929050565b600060208284031215614caa57600080fd5b6000614cb8848285016145db565b91505092915050565b600060208284031215614cd357600080fd5b6000614ce1848285016145f0565b91505092915050565b600060208284031215614cfc57600080fd5b6000614d0a8482850161462f565b91505092915050565b6000614d1f8383614d5b565b60208301905092915050565b6000614d378383614e93565b60208301905092915050565b6000614d4f8383615170565b60208301905092915050565b614d648161582b565b82525050565b614d738161582b565b82525050565b6000614d84826156b2565b614d8e8185615710565b9350614d9983615682565b8060005b83811015614dca578151614db18882614d13565b9750614dbc836156e9565b925050600181019050614d9d565b5085935050505092915050565b6000614de2826156bd565b614dec8185615721565b9350614df783615692565b8060005b83811015614e28578151614e0f8882614d2b565b9750614e1a836156f6565b925050600181019050614dfb565b5085935050505092915050565b6000614e40826156c8565b614e4a8185615732565b9350614e55836156a2565b8060005b83811015614e86578151614e6d8882614d43565b9750614e7883615703565b925050600181019050614e59565b5085935050505092915050565b614e9c8161583d565b82525050565b614eab8161583d565b82525050565b614eba81615849565b82525050565b6000614ecb826156d3565b614ed58185615743565b9350614ee58185602086016158b8565b614eee81615aa6565b840191505092915050565b6000614f04826156de565b614f0e8185615754565b9350614f1e8185602086016158b8565b614f2781615aa6565b840191505092915050565b6000614f3d826156de565b614f478185615765565b9350614f578185602086016158b8565b80840191505092915050565b6000614f70603483615754565b9150614f7b82615ac4565b604082019050919050565b6000614f93602283615754565b9150614f9e82615b13565b604082019050919050565b6000614fb6602883615754565b9150614fc182615b62565b604082019050919050565b6000614fd9600c83615754565b9150614fe482615bb1565b602082019050919050565b6000614ffc602f83615754565b915061500782615bda565b604082019050919050565b600061501f602283615754565b915061502a82615c29565b604082019050919050565b6000615042601583615754565b915061504d82615c78565b602082019050919050565b6000615065601383615754565b915061507082615ca1565b602082019050919050565b6000615088600d83615754565b915061509382615cca565b602082019050919050565b60006150ab601083615754565b91506150b682615cf3565b602082019050919050565b60006150ce603083615754565b91506150d982615d1c565b604082019050919050565b60006150f1600c83615754565b91506150fc82615d6b565b602082019050919050565b6000615114601483615754565b915061511f82615d94565b602082019050919050565b6000615137601383615754565b915061514282615dbd565b602082019050919050565b600061515a602f83615754565b915061516582615de6565b604082019050919050565b6151798161589f565b82525050565b6151888161589f565b82525050565b600061519a8286614f32565b91506151a68285614f32565b91506151b28284614f32565b9150819050949350505050565b60006020820190506151d46000830184614d6a565b92915050565b600060a0820190506151ef6000830188614d6a565b6151fc6020830187614d6a565b818103604083015261520e8186614e35565b905081810360608301526152228185614e35565b905081810360808301526152368184614ec0565b90509695505050505050565b600060a0820190506152576000830188614d6a565b6152646020830187614d6a565b615271604083018661517f565b61527e606083018561517f565b81810360808301526152908184614ec0565b90509695505050505050565b600060408201905081810360008301526152b68185614d79565b905081810360208301526152ca8184614dd7565b90509392505050565b600060208201905081810360008301526152ed8184614e35565b905092915050565b6000604082019050818103600083015261530f8185614e35565b905081810360208301526153238184614e35565b90509392505050565b60006020820190506153416000830184614ea2565b92915050565b600060208201905061535c6000830184614eb1565b92915050565b6000602082019050818103600083015261537c8184614ef9565b905092915050565b6000602082019050818103600083015261539d81614f63565b9050919050565b600060208201905081810360008301526153bd81614f86565b9050919050565b600060208201905081810360008301526153dd81614fa9565b9050919050565b600060208201905081810360008301526153fd81614fcc565b9050919050565b6000602082019050818103600083015261541d81614fef565b9050919050565b6000602082019050818103600083015261543d81615012565b9050919050565b6000602082019050818103600083015261545d81615035565b9050919050565b6000602082019050818103600083015261547d81615058565b9050919050565b6000602082019050818103600083015261549d8161507b565b9050919050565b600060208201905081810360008301526154bd8161509e565b9050919050565b600060208201905081810360008301526154dd816150c1565b9050919050565b600060208201905081810360008301526154fd816150e4565b9050919050565b6000602082019050818103600083015261551d81615107565b9050919050565b6000602082019050818103600083015261553d8161512a565b9050919050565b6000602082019050818103600083015261555d8161514d565b9050919050565b6000602082019050615579600083018461517f565b92915050565b6000604082019050615594600083018561517f565b6155a1602083018461517f565b9392505050565b60006155b26155c3565b90506155be828261591d565b919050565b6000604051905090565b600067ffffffffffffffff8211156155e8576155e7615a55565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561561457615613615a55565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156156405761563f615a55565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561566c5761566b615a55565b5b61567582615aa6565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061577b8261589f565b91506157868361589f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156157bb576157ba6159c8565b5b828201905092915050565b60006157d18261589f565b91506157dc8361589f565b9250826157ec576157eb6159f7565b5b828204905092915050565b60006158028261589f565b915061580d8361589f565b9250828210156158205761581f6159c8565b5b828203905092915050565b60006158368261587f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156158d65780820151818401526020810190506158bb565b838111156158e5576000848401525b50505050565b6000600282049050600182168061590357607f821691505b6020821081141561591757615916615a26565b5b50919050565b61592682615aa6565b810181811067ffffffffffffffff8211171561594557615944615a55565b5b80604052505050565b60006159598261589f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561598c5761598b6159c8565b5b600182019050919050565b60006159a28261589f565b91506159ad8361589f565b9250826159bd576159bc6159f7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115615aa35760046000803e615aa0600051615ab7565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f73656c6620617070726f76650000000000000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008201527f2061646d696e20746f206772616e740000000000000000000000000000000000602082015250565b7f6f70657261746f72732f617070726f766564206d69736d61746368206c656e6760008201527f7468000000000000000000000000000000000000000000000000000000000000602082015250565b7f6e6565642063726561746f7220617070726f76616c0000000000000000000000600082015250565b7f63616c6c6572206e6f7420617070726f76656400000000000000000000000000600082015250565b7f6475706c6963617465206e667400000000000000000000000000000000000000600082015250565b7f6e656564206d696e74657220726f6c6500000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008201527f2061646d696e20746f207265766f6b6500000000000000000000000000000000602082015250565b7f7a65726f20616464726573730000000000000000000000000000000000000000600082015250565b7f696e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f6964732f6c656e677468206d69736d6174636800000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600060443d1015615e4557615ec8565b615e4d6155c3565b60043d036004823e80513d602482011167ffffffffffffffff82111715615e75575050615ec8565b808201805167ffffffffffffffff811115615e935750505050615ec8565b80602083010160043d038501811115615eb0575050505050615ec8565b615ebf8260200185018661591d565b82955050505050505b90565b615ed48161582b565b8114615edf57600080fd5b50565b615eeb8161583d565b8114615ef657600080fd5b50565b615f0281615849565b8114615f0d57600080fd5b50565b615f1981615853565b8114615f2457600080fd5b50565b615f308161589f565b8114615f3b57600080fd5b5056fea26469706673582212201fe1a82711ca93de26b45f3a1c2dcc4cc50a3f81180c078f60114191d1282a6364736f6c634300080300330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001d68747470733a2f2f746162756172742e636f6d2f6d657461646174612f000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101d95760003560e01c806391d1485411610104578063cc8e0d14116100a2578063e985e9c511610071578063e985e9c5146105ac578063ed97b257146105dc578063f242432a146105f8578063f5298aca14610614576101d9565b8063cc8e0d1414610512578063d48e638a14610542578063d539139314610572578063d547741f14610590576101d9565b8063a22cb465116100de578063a22cb4651461047a578063b13ee94f14610496578063c41a360a146104b2578063ca15c873146104e2576101d9565b806391d148541461040e5780639f181b5e1461043e578063a217fddf1461045c576101d9565b80632eb2c2d61161017c5780636482c9321161014b5780636482c9321461038a5780636b20c454146103a6578063731133e9146103c25780639010d07c146103de576101d9565b80632eb2c2d6146103065780632f2ff15d1461032257806336568abe1461033e5780634e1273f41461035a576101d9565b80631ae93af6116101b85780631ae93af61461026e5780631f7fdffa1461029e578063248a9ca3146102ba5780632d30a2da146102ea576101d9565b8062fdd58e146101de57806301ffc9a71461020e5780630e89341c1461023e575b600080fd5b6101f860048036038101906101f391906149f0565b610630565b6040516102059190615564565b60405180910390f35b61022860048036038101906102239190614c98565b6106fa565b604051610235919061532c565b60405180910390f35b61025860048036038101906102539190614cea565b61070c565b6040516102659190615362565b60405180910390f35b61028860048036038101906102839190614644565b6107e7565b604051610295919061532c565b60405180910390f35b6102b860048036038101906102b39190614909565b6108b0565b005b6102d460048036038101906102cf9190614bf7565b610932565b6040516102e19190615347565b60405180910390f35b61030460048036038101906102ff9190614af6565b610951565b005b610320600480360381019061031b91906146a9565b610afe565b005b61033c60048036038101906103379190614c20565b61102f565b005b61035860048036038101906103539190614c20565b611063565b005b610374600480360381019061036f9190614b62565b611097565b60405161038191906152d3565b60405180910390f35b6103a4600480360381019061039f91906147f7565b611248565b005b6103c060048036038101906103bb919061488a565b6113d8565b005b6103dc60048036038101906103d79190614a7b565b611475565b005b6103f860048036038101906103f39190614c5c565b6114f7565b60405161040591906151bf565b60405180910390f35b61042860048036038101906104239190614c20565b611526565b604051610435919061532c565b60405180910390f35b610446611590565b6040516104539190615564565b60405180910390f35b610464611596565b6040516104719190615347565b60405180910390f35b610494600480360381019061048f91906149b4565b61159d565b005b6104b060048036038101906104ab9190614bce565b61171e565b005b6104cc60048036038101906104c79190614cea565b611857565b6040516104d991906151bf565b60405180910390f35b6104fc60048036038101906104f79190614bf7565b611894565b6040516105099190615564565b60405180910390f35b61052c6004803603810190610527919061466d565b6118b8565b604051610539919061532c565b60405180910390f35b61055c60048036038101906105579190614cea565b611a94565b60405161056991906151bf565b60405180910390f35b61057a611ad1565b6040516105879190615347565b60405180910390f35b6105aa60048036038101906105a59190614c20565b611af5565b005b6105c660048036038101906105c1919061466d565b611b29565b6040516105d3919061532c565b60405180910390f35b6105f660048036038101906105f19190614af6565b611bbd565b005b610612600480360381019061060d9190614768565b611d95565b005b61062e60048036038101906106299190614a2c565b6121e2565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156106a1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610698906154e4565b60405180910390fd5b6002600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000610705826122bd565b9050919050565b60606107e06009805461071e906158eb565b80601f016020809104026020016040519081016040528092919081815260200182805461074a906158eb565b80156107975780601f1061076c57610100808354040283529160200191610797565b820191906000526020600020905b81548152906001019060200180831161077a57829003601f168201915b50505050506107a58461239f565b6040518060400160405280600581526020017f2e6a736f6e00000000000000000000000000000000000000000000000000000081525061254c565b9050919050565b6000600280811115610822577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b600760008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660028111156108a7577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b14159050919050565b6108e17f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66108dc61257b565b611526565b610920576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610917906154a4565b60405180910390fd5b61092c84848484612583565b50505050565b6000806000838152602001908152602001600020600101549050919050565b6109827f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661097d61257b565b611526565b6109c1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109b8906154a4565b60405180910390fd5b8051825114610a05576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016109fc90615424565b60405180910390fd5b60005b8251811015610af957818181518110610a4a577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160086000858481518110610a8f577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080610af29061594e565b9050610a08565b505050565b8151835114610b42576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610b3990615524565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415610bb2576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ba9906154e4565b60405180910390fd5b610bba61257b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610c005750610bff85610bfa61257b565b611b29565b5b610c3f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610c3690615464565b60405180910390fd5b6000610c4961257b565b9050610c59818787878787612935565b60005b8451811015610f9a576000858281518110610ca0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110610ce5577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000610cfa83611a94565b9050610d0d81610d0861257b565b6118b8565b610d4c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610d4390615444565b60405180910390fd5b60006002600085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015610de4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610ddb90615504565b60405180910390fd5b8281610df091906157f7565b6002600086815260200190815260200160002060008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550826002600086815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254610ea49190615770565b925050819055508a73ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff161415610f3357896004600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b896005600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050505080610f939061594e565b9050610c5c565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516110119291906152f5565b60405180910390a461102781878787878761294b565b505050505050565b6110398282612b32565b61105e816001600085815260200190815260200160002061228d90919063ffffffff16565b505050565b61106d8282612b98565b6110928160016000858152602001908152602001600020612c1b90919063ffffffff16565b505050565b606081518351146110dd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016110d490615524565b60405180910390fd5b6000835167ffffffffffffffff811115611120577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561114e5781602001602082028036833780820191505090505b50905060005b845181101561123d576111e7858281518110611199577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101518583815181106111da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151610630565b828281518110611220577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001018181525050806112369061594e565b9050611154565b508091505092915050565b6112797f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a661127461257b565b611526565b6112b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112af906154a4565b60405180910390fd5b818351146112fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112f290615524565b60405180910390fd5b60005b83518110156113d1576001600b600082825461131a9190615770565b9250508190555061137084828151811061135d577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151600b54600185612c4b565b6113c08482815181106113ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015186600b54600186612f1d565b806113ca9061594e565b90506112fe565b5050505050565b6113e061257b565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff16148061142657506114258361142061257b565b611b29565b5b611465576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161145c90615464565b60405180910390fd5b611470838383613270565b505050565b6114a67f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a66114a161257b565b611526565b6114e5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016114dc906154a4565b60405180910390fd5b6114f184848484612c4b565b50505050565b600061151e826001600086815260200190815260200160002061361c90919063ffffffff16565b905092915050565b600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600b5481565b6000801b81565b8173ffffffffffffffffffffffffffffffffffffffff166115bc61257b565b73ffffffffffffffffffffffffffffffffffffffff161415611613576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161160a906153e4565b60405180910390fd5b806003600061162061257b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166116cd61257b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611712919061532c565b60405180910390a35050565b80156117be5760016007600061173261257b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908360028111156117b4577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b0217905550611854565b6002600760006117cc61257b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083600281111561184e577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055505b50565b60006005600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006118b160016000848152602001908152602001600020613636565b9050919050565b60006118c3836107e7565b1561197057600860008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16806119695750600860008073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b9050611a8e565b600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1680611a8b5750600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008073ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff165b90505b92915050565b60006004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611aff828261364b565b611b248160016000858152602001908152602001600020612c1b90919063ffffffff16565b505050565b6000600360008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8051825114611c01576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611bf890615424565b60405180910390fd5b60005b8251811015611d3957818181518110611c46577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015160066000611c5a61257b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000858481518110611ccf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015173ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690831515021790555080611d329061594e565b9050611c04565b50611d4261257b565b73ffffffffffffffffffffffffffffffffffffffff167f7ff776c59c3c064d6b133d823e3f165c60e69179a98cdc91bc6da0dce3c20bac8383604051611d8992919061529c565b60405180910390a25050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611e05576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611dfc906154e4565b60405180910390fd5b611e0d61257b565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480611e535750611e5285611e4d61257b565b611b29565b5b611e92576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611e8990615464565b60405180910390fd5b611eab611e9e84611a94565b611ea661257b565b6118b8565b611eea576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611ee190615444565b60405180910390fd5b6000611ef461257b565b9050611f14818787611f05886136b1565b611f0e886136b1565b87612935565b60006002600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611fac576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611fa390615504565b60405180910390fd5b8381611fb891906157f7565b6002600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836002600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461206c9190615770565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff1614156120fb57856004600087815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b856005600087815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6288886040516121c392919061557f565b60405180910390a46121d9828888888888613777565b50505050505050565b6121ea61257b565b73ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161480612230575061222f8361222a61257b565b611b29565b5b61226f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161226690615464565b60405180910390fd5b61227a83838361395e565b505050565b6122898282613c31565b5050565b60006122b5836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613d11565b905092915050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916148061238857507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80612398575061239782613d81565b5b9050919050565b606060008214156123e7576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612547565b600082905060005b600082146124195780806124029061594e565b915050600a8261241291906157c6565b91506123ef565b60008167ffffffffffffffff81111561245b577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561248d5781602001600182028036833780820191505090505b5090505b60008514612540576001826124a691906157f7565b9150600a856124b59190615997565b60306124c19190615770565b60f81b8183815181106124fd577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a8561253991906157c6565b9450612491565b8093505050505b919050565b60608383836040516020016125639392919061518e565b60405160208183030381529060405290509392505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156125f3576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125ea906154e4565b60405180910390fd5b8151835114612637576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161262e90615524565b60405180910390fd5b600061264161257b565b905061265281600087878787612935565b60005b8451811015612896576000858281518110612699577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008583815181106126de577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050806002600084815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546127489190615770565b92505081905550600a548210156127dd5761276282611a94565b73ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff1614801561279d5750600181145b6127dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016127d390615484565b60405180910390fd5b5b876004600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550876005600084815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505050808061288e9061594e565b915050612655565b506128a085613dfb565b8473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb87876040516129179291906152f5565b60405180910390a461292e8160008787878761294b565b5050505050565b612943868686868686613e9b565b505050505050565b61296a8473ffffffffffffffffffffffffffffffffffffffff16613ea3565b15612b2a578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016129b09594939291906151da565b602060405180830381600087803b1580156129ca57600080fd5b505af19250505080156129fb57506040513d601f19601f820116820180604052508101906129f89190614cc1565b60015b612aa157612a07615a84565b806308c379a01415612a645750612a1c615e35565b80612a275750612a66565b806040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a5b9190615362565b60405180910390fd5b505b6040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612a9890615384565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612b28576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b1f906153c4565b60405180910390fd5b505b505050505050565b612b4b612b3e83610932565b612b4661257b565b611526565b612b8a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612b8190615404565b60405180910390fd5b612b948282613c31565b5050565b612ba061257b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614612c0d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c0490615544565b60405180910390fd5b612c178282613eb6565b5050565b6000612c43836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613f97565b905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612cbb576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612cb2906154e4565b60405180910390fd5b600a54831015612d4957612cce83611a94565b73ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16148015612d095750600182145b612d48576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d3f90615484565b60405180910390fd5b5b6000612d5361257b565b9050612d7481600087612d65886136b1565b612d6e886136b1565b87612935565b826002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254612dd49190615770565b92505081905550846004600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550846005600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550612e8885613dfb565b8473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051612eff92919061557f565b60405180910390a4612f1681600087878787613777565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612f84906154e4565b60405180910390fd5b6000612f9761257b565b905060006002600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015613031576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161302890615504565b60405180910390fd5b838161303d91906157f7565b6002600087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550836002600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546130f19190615770565b925050819055508673ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff16141561318057856004600087815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055505b856005600087815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506131db87613dfb565b8573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62888860405161325192919061557f565b60405180910390a4613267828888888888613777565b50505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156132e0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016132d7906154e4565b60405180910390fd5b8051825114613324576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161331b90615524565b60405180910390fd5b600061332e61257b565b905061334e81856000868660405180602001604052806000815250612935565b60005b8351811015613596576000848281518110613395577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151905060008483815181106133da577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506133f66133f083611a94565b856118b8565b613435576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161342c90615444565b60405180910390fd5b60006002600084815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156134cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016134c490615504565b60405180910390fd5b60006005600085815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550818161352c91906157f7565b6002600085815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505050808061358e9061594e565b915050613351565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb868660405161360e9291906152f5565b60405180910390a450505050565b600061362b8360000183614121565b60001c905092915050565b6000613644826000016141bb565b9050919050565b61366461365783610932565b61365f61257b565b611526565b6136a3576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161369a906154c4565b60405180910390fd5b6136ad8282613eb6565b5050565b60606000600167ffffffffffffffff8111156136f6577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156137245781602001602082028036833780820191505090505b5090508281600081518110613762577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b6137968473ffffffffffffffffffffffffffffffffffffffff16613ea3565b15613956578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016137dc959493929190615242565b602060405180830381600087803b1580156137f657600080fd5b505af192505050801561382757506040513d601f19601f820116820180604052508101906138249190614cc1565b60015b6138cd57613833615a84565b806308c379a014156138905750613848615e35565b806138535750613892565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138879190615362565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016138c490615384565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613954576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161394b906153c4565b60405180910390fd5b505b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156139ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016139c5906154e4565b60405180910390fd5b6139e76139da83611a94565b6139e261257b565b6118b8565b613a26576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613a1d90615444565b60405180910390fd5b6000613a3061257b565b9050613a6081856000613a42876136b1565b613a4b876136b1565b60405180602001604052806000815250612935565b60006002600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905082811015613af8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401613aef90615504565b60405180910390fd5b8281613b0491906157f7565b6002600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555060006005600086815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051613c2292919061557f565b60405180910390a45050505050565b613c3b8282611526565b613d0d57600160008084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613cb261257b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b6000613d1d83836141cc565b613d76578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050613d7b565b600090505b92915050565b60007f5a05180f000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480613df45750613df3826141ef565b5b9050919050565b613e0481614269565b15613e98576001600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff02191690836002811115613e92577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b02179055505b50565b505050505050565b600080823b905060008111915050919050565b613ec08282611526565b15613f9357600080600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550613f3861257b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b60008083600101600084815260200190815260200160002054905060008114614115576000600182613fc991906157f7565b9050600060018660000180549050613fe191906157f7565b90506000866000018281548110614021577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b906000526020600020015490508087600001848154811061406b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90600052602060002001819055506001836140869190615770565b87600101600083815260200190815260200160002081905550866000018054806140d9577f4e487b7100000000000000000000000000000000000000000000000000000000600052603160045260246000fd5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061411b565b60009150505b92915050565b60008183600001805490501161416c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401614163906153a4565b60405180910390fd5b8260000182815481106141a8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9060005260206000200154905092915050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480614262575061426182614332565b5b9050919050565b6000600760008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff1660028111156142f0577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b6000600281111561432a577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b149050919050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b60006143af6143aa846155cd565b6155a8565b905080838252602082019050828560208602820111156143ce57600080fd5b60005b858110156143fe57816143e4888261451e565b8452602084019350602083019250506001810190506143d1565b5050509392505050565b600061441b614416846155f9565b6155a8565b9050808382526020820190508285602086028201111561443a57600080fd5b60005b8581101561446a578161445088826145b1565b84526020840193506020830192505060018101905061443d565b5050509392505050565b600061448761448284615625565b6155a8565b905080838252602082019050828560208602820111156144a657600080fd5b60005b858110156144d657816144bc888261462f565b8452602084019350602083019250506001810190506144a9565b5050509392505050565b60006144f36144ee84615651565b6155a8565b90508281526020810184848401111561450b57600080fd5b6145168482856158a9565b509392505050565b60008135905061452d81615ecb565b92915050565b600082601f83011261454457600080fd5b813561455484826020860161439c565b91505092915050565b600082601f83011261456e57600080fd5b813561457e848260208601614408565b91505092915050565b600082601f83011261459857600080fd5b81356145a8848260208601614474565b91505092915050565b6000813590506145c081615ee2565b92915050565b6000813590506145d581615ef9565b92915050565b6000813590506145ea81615f10565b92915050565b6000815190506145ff81615f10565b92915050565b600082601f83011261461657600080fd5b81356146268482602086016144e0565b91505092915050565b60008135905061463e81615f27565b92915050565b60006020828403121561465657600080fd5b60006146648482850161451e565b91505092915050565b6000806040838503121561468057600080fd5b600061468e8582860161451e565b925050602061469f8582860161451e565b9150509250929050565b600080600080600060a086880312156146c157600080fd5b60006146cf8882890161451e565b95505060206146e08882890161451e565b945050604086013567ffffffffffffffff8111156146fd57600080fd5b61470988828901614587565b935050606086013567ffffffffffffffff81111561472657600080fd5b61473288828901614587565b925050608086013567ffffffffffffffff81111561474f57600080fd5b61475b88828901614605565b9150509295509295909350565b600080600080600060a0868803121561478057600080fd5b600061478e8882890161451e565b955050602061479f8882890161451e565b94505060406147b08882890161462f565b93505060606147c18882890161462f565b925050608086013567ffffffffffffffff8111156147de57600080fd5b6147ea88828901614605565b9150509295509295909350565b6000806000806080858703121561480d57600080fd5b600061481b8782880161451e565b945050602085013567ffffffffffffffff81111561483857600080fd5b61484487828801614533565b93505060406148558782880161462f565b925050606085013567ffffffffffffffff81111561487257600080fd5b61487e87828801614605565b91505092959194509250565b60008060006060848603121561489f57600080fd5b60006148ad8682870161451e565b935050602084013567ffffffffffffffff8111156148ca57600080fd5b6148d686828701614587565b925050604084013567ffffffffffffffff8111156148f357600080fd5b6148ff86828701614587565b9150509250925092565b6000806000806080858703121561491f57600080fd5b600061492d8782880161451e565b945050602085013567ffffffffffffffff81111561494a57600080fd5b61495687828801614587565b935050604085013567ffffffffffffffff81111561497357600080fd5b61497f87828801614587565b925050606085013567ffffffffffffffff81111561499c57600080fd5b6149a887828801614605565b91505092959194509250565b600080604083850312156149c757600080fd5b60006149d58582860161451e565b92505060206149e6858286016145b1565b9150509250929050565b60008060408385031215614a0357600080fd5b6000614a118582860161451e565b9250506020614a228582860161462f565b9150509250929050565b600080600060608486031215614a4157600080fd5b6000614a4f8682870161451e565b9350506020614a608682870161462f565b9250506040614a718682870161462f565b9150509250925092565b60008060008060808587031215614a9157600080fd5b6000614a9f8782880161451e565b9450506020614ab08782880161462f565b9350506040614ac18782880161462f565b925050606085013567ffffffffffffffff811115614ade57600080fd5b614aea87828801614605565b91505092959194509250565b60008060408385031215614b0957600080fd5b600083013567ffffffffffffffff811115614b2357600080fd5b614b2f85828601614533565b925050602083013567ffffffffffffffff811115614b4c57600080fd5b614b588582860161455d565b9150509250929050565b60008060408385031215614b7557600080fd5b600083013567ffffffffffffffff811115614b8f57600080fd5b614b9b85828601614533565b925050602083013567ffffffffffffffff811115614bb857600080fd5b614bc485828601614587565b9150509250929050565b600060208284031215614be057600080fd5b6000614bee848285016145b1565b91505092915050565b600060208284031215614c0957600080fd5b6000614c17848285016145c6565b91505092915050565b60008060408385031215614c3357600080fd5b6000614c41858286016145c6565b9250506020614c528582860161451e565b9150509250929050565b60008060408385031215614c6f57600080fd5b6000614c7d858286016145c6565b9250506020614c8e8582860161462f565b9150509250929050565b600060208284031215614caa57600080fd5b6000614cb8848285016145db565b91505092915050565b600060208284031215614cd357600080fd5b6000614ce1848285016145f0565b91505092915050565b600060208284031215614cfc57600080fd5b6000614d0a8482850161462f565b91505092915050565b6000614d1f8383614d5b565b60208301905092915050565b6000614d378383614e93565b60208301905092915050565b6000614d4f8383615170565b60208301905092915050565b614d648161582b565b82525050565b614d738161582b565b82525050565b6000614d84826156b2565b614d8e8185615710565b9350614d9983615682565b8060005b83811015614dca578151614db18882614d13565b9750614dbc836156e9565b925050600181019050614d9d565b5085935050505092915050565b6000614de2826156bd565b614dec8185615721565b9350614df783615692565b8060005b83811015614e28578151614e0f8882614d2b565b9750614e1a836156f6565b925050600181019050614dfb565b5085935050505092915050565b6000614e40826156c8565b614e4a8185615732565b9350614e55836156a2565b8060005b83811015614e86578151614e6d8882614d43565b9750614e7883615703565b925050600181019050614e59565b5085935050505092915050565b614e9c8161583d565b82525050565b614eab8161583d565b82525050565b614eba81615849565b82525050565b6000614ecb826156d3565b614ed58185615743565b9350614ee58185602086016158b8565b614eee81615aa6565b840191505092915050565b6000614f04826156de565b614f0e8185615754565b9350614f1e8185602086016158b8565b614f2781615aa6565b840191505092915050565b6000614f3d826156de565b614f478185615765565b9350614f578185602086016158b8565b80840191505092915050565b6000614f70603483615754565b9150614f7b82615ac4565b604082019050919050565b6000614f93602283615754565b9150614f9e82615b13565b604082019050919050565b6000614fb6602883615754565b9150614fc182615b62565b604082019050919050565b6000614fd9600c83615754565b9150614fe482615bb1565b602082019050919050565b6000614ffc602f83615754565b915061500782615bda565b604082019050919050565b600061501f602283615754565b915061502a82615c29565b604082019050919050565b6000615042601583615754565b915061504d82615c78565b602082019050919050565b6000615065601383615754565b915061507082615ca1565b602082019050919050565b6000615088600d83615754565b915061509382615cca565b602082019050919050565b60006150ab601083615754565b91506150b682615cf3565b602082019050919050565b60006150ce603083615754565b91506150d982615d1c565b604082019050919050565b60006150f1600c83615754565b91506150fc82615d6b565b602082019050919050565b6000615114601483615754565b915061511f82615d94565b602082019050919050565b6000615137601383615754565b915061514282615dbd565b602082019050919050565b600061515a602f83615754565b915061516582615de6565b604082019050919050565b6151798161589f565b82525050565b6151888161589f565b82525050565b600061519a8286614f32565b91506151a68285614f32565b91506151b28284614f32565b9150819050949350505050565b60006020820190506151d46000830184614d6a565b92915050565b600060a0820190506151ef6000830188614d6a565b6151fc6020830187614d6a565b818103604083015261520e8186614e35565b905081810360608301526152228185614e35565b905081810360808301526152368184614ec0565b90509695505050505050565b600060a0820190506152576000830188614d6a565b6152646020830187614d6a565b615271604083018661517f565b61527e606083018561517f565b81810360808301526152908184614ec0565b90509695505050505050565b600060408201905081810360008301526152b68185614d79565b905081810360208301526152ca8184614dd7565b90509392505050565b600060208201905081810360008301526152ed8184614e35565b905092915050565b6000604082019050818103600083015261530f8185614e35565b905081810360208301526153238184614e35565b90509392505050565b60006020820190506153416000830184614ea2565b92915050565b600060208201905061535c6000830184614eb1565b92915050565b6000602082019050818103600083015261537c8184614ef9565b905092915050565b6000602082019050818103600083015261539d81614f63565b9050919050565b600060208201905081810360008301526153bd81614f86565b9050919050565b600060208201905081810360008301526153dd81614fa9565b9050919050565b600060208201905081810360008301526153fd81614fcc565b9050919050565b6000602082019050818103600083015261541d81614fef565b9050919050565b6000602082019050818103600083015261543d81615012565b9050919050565b6000602082019050818103600083015261545d81615035565b9050919050565b6000602082019050818103600083015261547d81615058565b9050919050565b6000602082019050818103600083015261549d8161507b565b9050919050565b600060208201905081810360008301526154bd8161509e565b9050919050565b600060208201905081810360008301526154dd816150c1565b9050919050565b600060208201905081810360008301526154fd816150e4565b9050919050565b6000602082019050818103600083015261551d81615107565b9050919050565b6000602082019050818103600083015261553d8161512a565b9050919050565b6000602082019050818103600083015261555d8161514d565b9050919050565b6000602082019050615579600083018461517f565b92915050565b6000604082019050615594600083018561517f565b6155a1602083018461517f565b9392505050565b60006155b26155c3565b90506155be828261591d565b919050565b6000604051905090565b600067ffffffffffffffff8211156155e8576155e7615a55565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561561457615613615a55565b5b602082029050602081019050919050565b600067ffffffffffffffff8211156156405761563f615a55565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561566c5761566b615a55565b5b61567582615aa6565b9050602081019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b6000819050602082019050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b6000602082019050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b600061577b8261589f565b91506157868361589f565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff038211156157bb576157ba6159c8565b5b828201905092915050565b60006157d18261589f565b91506157dc8361589f565b9250826157ec576157eb6159f7565b5b828204905092915050565b60006158028261589f565b915061580d8361589f565b9250828210156158205761581f6159c8565b5b828203905092915050565b60006158368261587f565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b838110156158d65780820151818401526020810190506158bb565b838111156158e5576000848401525b50505050565b6000600282049050600182168061590357607f821691505b6020821081141561591757615916615a26565b5b50919050565b61592682615aa6565b810181811067ffffffffffffffff8211171561594557615944615a55565b5b80604052505050565b60006159598261589f565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561598c5761598b6159c8565b5b600182019050919050565b60006159a28261589f565b91506159ad8361589f565b9250826159bd576159bc6159f7565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115615aa35760046000803e615aa0600051615ab7565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008201527f6473000000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f73656c6620617070726f76650000000000000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008201527f2061646d696e20746f206772616e740000000000000000000000000000000000602082015250565b7f6f70657261746f72732f617070726f766564206d69736d61746368206c656e6760008201527f7468000000000000000000000000000000000000000000000000000000000000602082015250565b7f6e6565642063726561746f7220617070726f76616c0000000000000000000000600082015250565b7f63616c6c6572206e6f7420617070726f76656400000000000000000000000000600082015250565b7f6475706c6963617465206e667400000000000000000000000000000000000000600082015250565b7f6e656564206d696e74657220726f6c6500000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e60008201527f2061646d696e20746f207265766f6b6500000000000000000000000000000000602082015250565b7f7a65726f20616464726573730000000000000000000000000000000000000000600082015250565b7f696e73756666696369656e742062616c616e6365000000000000000000000000600082015250565b7f6964732f6c656e677468206d69736d6174636800000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600060443d1015615e4557615ec8565b615e4d6155c3565b60043d036004823e80513d602482011167ffffffffffffffff82111715615e75575050615ec8565b808201805167ffffffffffffffff811115615e935750505050615ec8565b80602083010160043d038501811115615eb0575050505050615ec8565b615ebf8260200185018661591d565b82955050505050505b90565b615ed48161582b565b8114615edf57600080fd5b50565b615eeb8161583d565b8114615ef657600080fd5b50565b615f0281615849565b8114615f0d57600080fd5b50565b615f1981615853565b8114615f2457600080fd5b50565b615f308161589f565b8114615f3b57600080fd5b5056fea26469706673582212201fe1a82711ca93de26b45f3a1c2dcc4cc50a3f81180c078f60114191d1282a6364736f6c63430008030033

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000001d68747470733a2f2f746162756172742e636f6d2f6d657461646174612f000000

-----Decoded View---------------
Arg [0] : uri (string): https://tabuart.com/metadata/

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000001d
Arg [2] : 68747470733a2f2f746162756172742e636f6d2f6d657461646174612f000000


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.