ETH Price: $3,365.56 (+0.10%)
Gas: 5.6 Gwei

Contract

0x605757A5cCEB44Ced7A5Be421735E0151333c338
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...201950472024-06-29 4:46:23183 days ago1719636383IN
0x605757A5...51333c338
0 ETH0.000070391.50746312
Set Approval For...201448972024-06-22 4:35:23190 days ago1719030923IN
0x605757A5...51333c338
0 ETH0.000093222
Set Approval For...201269522024-06-19 16:22:59192 days ago1718814179IN
0x605757A5...51333c338
0 ETH0.0006198813.29910087
Set Approval For...198215272024-05-07 23:40:35235 days ago1715125235IN
0x605757A5...51333c338
0 ETH0.000199294.26920041
Set Approval For...197353252024-04-25 22:19:59247 days ago1714083599IN
0x605757A5...51333c338
0 ETH0.000291466.24340321
Set Approval For...196404412024-04-12 15:31:59260 days ago1712935919IN
0x605757A5...51333c338
0 ETH0.0011621724.93353214
Set Approval For...196225862024-04-10 3:35:59263 days ago1712720159IN
0x605757A5...51333c338
0 ETH0.0003883715.72420098
Set Approval For...194990772024-03-23 18:26:47280 days ago1711218407IN
0x605757A5...51333c338
0 ETH0.0004291817.37653381
Set Approval For...192629112024-02-19 16:17:23313 days ago1708359443IN
0x605757A5...51333c338
0 ETH0.0019621842.09707462
Set Approval For...190740802024-01-24 4:19:59340 days ago1706069999IN
0x605757A5...51333c338
0 ETH0.000208058.42380399
Set Approval For...190162342024-01-16 1:42:35348 days ago1705369355IN
0x605757A5...51333c338
0 ETH0.0006413425.96659165
Safe Transfer Fr...189927622024-01-12 18:59:59351 days ago1705085999IN
0x605757A5...51333c338
0 ETH0.0010419819.40495563
Set Approval For...189103742024-01-01 5:00:23363 days ago1704085223IN
0x605757A5...51333c338
0 ETH0.000460339.86091798
Set Approval For...188899612023-12-29 8:09:59366 days ago1703837399IN
0x605757A5...51333c338
0 ETH0.0011106944.96938384
Set Approval For...188606662023-12-25 5:26:23370 days ago1703481983IN
0x605757A5...51333c338
0 ETH0.0006585514.12881618
Set Approval For...188261732023-12-20 9:17:23375 days ago1703063843IN
0x605757A5...51333c338
0 ETH0.0013710555.51038976
Set Approval For...188232512023-12-19 23:26:47375 days ago1703028407IN
0x605757A5...51333c338
0 ETH0.0009713339.32676324
Set Approval For...188074402023-12-17 18:12:11377 days ago1702836731IN
0x605757A5...51333c338
0 ETH0.0010404142.12361729
Set Approval For...188073752023-12-17 17:58:47377 days ago1702835927IN
0x605757A5...51333c338
0 ETH0.0019128441.03847674
Set Approval For...187329332023-12-07 7:29:23388 days ago1701934163IN
0x605757A5...51333c338
0 ETH0.0008083932.72974511
Set Approval For...187187332023-12-05 7:43:59390 days ago1701762239IN
0x605757A5...51333c338
0 ETH0.0012718451.49382422
Set Approval For...181618662023-09-18 9:12:35468 days ago1695028355IN
0x605757A5...51333c338
0 ETH0.0002563810.38049989
Set Approval For...181581872023-09-17 20:44:11468 days ago1694983451IN
0x605757A5...51333c338
0 ETH0.000247410.01688801
Set Approval For...179710952023-08-22 15:18:11494 days ago1692717491IN
0x605757A5...51333c338
0 ETH0.0032849870.34975741
Set Approval For...176772532023-07-12 11:42:23536 days ago1689162143IN
0x605757A5...51333c338
0 ETH0.0009849221.0980626
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:
WNS_Passes

Compiler Version
v0.8.2+commit.661d1103

Optimization Enabled:
No with 200 runs

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

import "@openzeppelin/contracts/access/AccessControl.sol";
import "@openzeppelin/contracts/token/ERC1155/ERC1155.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

import "./IWNS_Passes.sol";

contract WNS_Passes is ERC1155, AccessControl {
  using Strings for uint256;

  string public baseURI;
  mapping(uint256 => bool) public validTypeIds;

  bytes32 private constant AUTHORITY_CONTRACT_ROLE = keccak256("AUTHORITY_CONTRACT_ROLE");
  bytes32 private constant OWNER_ROLE = keccak256("OWNER_ROLE");

  constructor() ERC1155("") {
    _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
    _setupRole(OWNER_ROLE, _msgSender());
  }

  /**
   * Owner Only
   */

  function mint(uint256 _typeId, uint256 _quantity) external onlyRole(OWNER_ROLE) {
    _mint(_msgSender(), _typeId, _quantity, "");
    validTypeIds[_typeId] = true;
  }

  function burnTypeBulk(uint256 _typeId, address[] calldata owners) external onlyRole(OWNER_ROLE) {
    for (uint256 i = 0; i < owners.length; i++) {
      uint256 amount = balanceOf(owners[i], _typeId);
      _burn(owners[i], _typeId, amount);
    }
  }

  function updateBaseURI(string memory _baseURI) external onlyRole(OWNER_ROLE) {
    baseURI = _baseURI;
  }

  /**
   * Linked Authority Contracts
   */

  function burnTypeForOwnerAddress(uint256 _typeId, uint256 _quantity, address _typeOwnerAddress) external onlyRole(AUTHORITY_CONTRACT_ROLE) returns (bool) {
    _burn(_typeOwnerAddress, _typeId, _quantity);

    return true;
  }

  function mintTypeToAddress(uint256 _typeId, uint256 _quantity, address _toAddress) external onlyRole(AUTHORITY_CONTRACT_ROLE) returns (bool) {
    _mint(_toAddress, _typeId, _quantity, "");
    validTypeIds[_typeId] = true;

    return true;
  }

  /**
   * Public
   */

  function bulkSafeTransfer(uint256 _typeId, uint256 _quantityPerRecipient, address[] calldata recipients) external {
    for (uint256 i = 0; i < recipients.length; i++) {
      safeTransferFrom(_msgSender(), recipients[i], _typeId, _quantityPerRecipient, "");
    }
  }

  function uri(uint256 typeId) public view override returns (string memory) {
    require(validTypeIds[typeId], "URI request for invalid type");

    return string(abi.encodePacked(baseURI, typeId.toString()));
  }

  /**
   * Overrides
   */

  function supportsInterface(bytes4 interfaceId) public view virtual override(ERC1155, AccessControl) returns (bool) {
    return interfaceId == type(IWNS_Passes).interfaceId || super.supportsInterface(interfaceId);
  }
}

File 2 of 13 : AccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (access/AccessControl.sol)

pragma solidity ^0.8.0;

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

/**
 * @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 Modifier that checks that an account has a specific role. Reverts
     * with a standardized message including the required role.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     *
     * _Available since v4.1._
     */
    modifier onlyRole(bytes32 role) {
        _checkRole(role, _msgSender());
        _;
    }

    /**
     * @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 virtual override returns (bool) {
        return _roles[role].members[account];
    }

    /**
     * @dev Revert with a standard message if `account` is missing `role`.
     *
     * The format of the revert reason is given by the following regular expression:
     *
     *  /^AccessControl: account (0x[0-9a-f]{40}) is missing role (0x[0-9a-f]{64})$/
     */
    function _checkRole(bytes32 role, address account) internal view virtual {
        if (!hasRole(role, account)) {
            revert(
                string(
                    abi.encodePacked(
                        "AccessControl: account ",
                        Strings.toHexString(uint160(account), 20),
                        " is missing role ",
                        Strings.toHexString(uint256(role), 32)
                    )
                )
            );
        }
    }

    /**
     * @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 virtual 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 onlyRole(getRoleAdmin(role)) {
        _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 onlyRole(getRoleAdmin(role)) {
        _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 revoked `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}.
     * ====
     *
     * NOTE: This function is deprecated in favor of {_grantRole}.
     */
    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 {
        bytes32 previousAdminRole = getRoleAdmin(role);
        _roles[role].adminRole = adminRole;
        emit RoleAdminChanged(role, previousAdminRole, adminRole);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * Internal function without access restriction.
     */
    function _grantRole(bytes32 role, address account) internal virtual {
        if (!hasRole(role, account)) {
            _roles[role].members[account] = true;
            emit RoleGranted(role, account, _msgSender());
        }
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * Internal function without access restriction.
     */
    function _revokeRole(bytes32 role, address account) internal virtual {
        if (hasRole(role, account)) {
            _roles[role].members[account] = false;
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}

File 3 of 13 : ERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/ERC1155.sol)

pragma solidity ^0.8.0;

import "./IERC1155.sol";
import "./IERC1155Receiver.sol";
import "./extensions/IERC1155MetadataURI.sol";
import "../../utils/Address.sol";
import "../../utils/Context.sol";
import "../../utils/introspection/ERC165.sol";

/**
 * @dev Implementation of the basic standard multi-token.
 * See https://eips.ethereum.org/EIPS/eip-1155
 * Originally based on code by Enjin: https://github.com/enjin/erc-1155
 *
 * _Available since v3.1._
 */
contract ERC1155 is Context, ERC165, IERC1155, IERC1155MetadataURI {
    using Address for address;

    // Mapping from token ID to account balances
    mapping(uint256 => mapping(address => uint256)) private _balances;

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

    // Used as the URI for all token types by relying on ID substitution, e.g. https://token-cdn-domain/{id}.json
    string private _uri;

    /**
     * @dev See {_setURI}.
     */
    constructor(string memory uri_) {
        _setURI(uri_);
    }

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

    /**
     * @dev See {IERC1155MetadataURI-uri}.
     *
     * This implementation returns the same URI for *all* token types. It relies
     * on the token type ID substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * Clients calling this function must replace the `\{id\}` substring with the
     * actual token type ID.
     */
    function uri(uint256) public view virtual override returns (string memory) {
        return _uri;
    }

    /**
     * @dev See {IERC1155-balanceOf}.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) public view virtual override returns (uint256) {
        require(account != address(0), "ERC1155: balance query for the zero address");
        return _balances[id][account];
    }

    /**
     * @dev See {IERC1155-balanceOfBatch}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] memory accounts, uint256[] memory ids)
        public
        view
        virtual
        override
        returns (uint256[] memory)
    {
        require(accounts.length == ids.length, "ERC1155: accounts and 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;
    }

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

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

    /**
     * @dev See {IERC1155-safeTransferFrom}.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );
        _safeTransferFrom(from, to, id, amount, data);
    }

    /**
     * @dev See {IERC1155-safeBatchTransferFrom}.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public virtual override {
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );
        _safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - `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 memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

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

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }
        _balances[id][to] += amount;

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - 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[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        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];

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: insufficient balance for transfer");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
            _balances[id][to] += amount;
        }

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

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

    /**
     * @dev Sets a new URI for all token types, by relying on the token type ID
     * substitution mechanism
     * https://eips.ethereum.org/EIPS/eip-1155#metadata[defined in the EIP].
     *
     * By this mechanism, any occurrence of the `\{id\}` substring in either the
     * URI or any of the amounts in the JSON file at said URI will be replaced by
     * clients with the token type ID.
     *
     * For example, the `https://token-cdn-domain/\{id\}.json` URI would be
     * interpreted by clients as
     * `https://token-cdn-domain/000000000000000000000000000000000000000000000000000000000004cce0.json`
     * for token type ID 0x4cce0.
     *
     * See {uri}.
     *
     * Because these URIs cannot be meaningfully represented by the {URI} event,
     * this function emits no events.
     */
    function _setURI(string memory newuri) internal virtual {
        _uri = newuri;
    }

    /**
     * @dev Creates `amount` tokens of token type `id`, and assigns them to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

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

        _balances[id][to] += amount;
        emit TransferSingle(operator, address(0), to, id, amount);

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * 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 _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

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

        for (uint256 i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] += amounts[i];
        }

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

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

    /**
     * @dev Destroys `amount` tokens of token type `id` from `from`
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `from` must have at least `amount` tokens of token type `id`.
     */
    function _burn(
        address from,
        uint256 id,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

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

        uint256 fromBalance = _balances[id][from];
        require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
        unchecked {
            _balances[id][from] = fromBalance - amount;
        }

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_burn}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     */
    function _burnBatch(
        address from,
        uint256[] memory ids,
        uint256[] memory amounts
    ) internal virtual {
        require(from != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

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

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

            uint256 fromBalance = _balances[id][from];
            require(fromBalance >= amount, "ERC1155: burn amount exceeds balance");
            unchecked {
                _balances[id][from] = fromBalance - amount;
            }
        }

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

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

    /**
     * @dev Hook that is called before any token transfer. This includes minting
     * and burning, as well as batched variants.
     *
     * The same hook is called on both single and batched variants. For single
     * transfers, the length of the `id` and `amount` arrays will be 1.
     *
     * Calling conditions (for each `id` and `amount` pair):
     *
     * - When `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * of token type `id` will be  transferred to `to`.
     * - When `from` is zero, `amount` tokens of token type `id` will be minted
     * for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens of token type `id`
     * will be burned.
     * - `from` and `to` are never both zero.
     * - `ids` and `amounts` have the same, non-zero length.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    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.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.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;
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

File 5 of 13 : IWNS_Passes.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;

import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";

interface IWNS_Passes is IERC1155 {
  function burnTypeBulk(uint256 _typeId, address[] calldata owners) external;
  function burnTypeForOwnerAddress(uint256 _typeId, uint256 _quantity, address _typeOwnerAddress) external returns (bool);
  function mintTypeToAddress(uint256 _typeId, uint256 _quantity, address _toAddress) external returns (bool);
  function bulkSafeTransfer(uint256 _typeId, uint256 _quantityPerRecipient, address[] calldata recipients) external;
}

File 6 of 13 : IAccessControl.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/IAccessControl.sol)

pragma solidity ^0.8.0;

/**
 * @dev External interface of AccessControl declared to support ERC165 detection.
 */
interface IAccessControl {
    /**
     * @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 {AccessControl-_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 Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) external view returns (bool);

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {AccessControl-_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) external view returns (bytes32);

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

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

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

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

pragma solidity ^0.8.0;

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

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

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

pragma solidity ^0.8.0;

import "./IERC165.sol";

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

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

pragma solidity ^0.8.0;

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

File 10 of 13 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

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 11 of 13 : IERC1155Receiver.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev _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.
     *
     * NOTE: 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.
     *
     * NOTE: 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 12 of 13 : IERC1155MetadataURI.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/extensions/IERC1155MetadataURI.sol)

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 13 of 13 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"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":"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":[{"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":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_typeId","type":"uint256"},{"internalType":"uint256","name":"_quantityPerRecipient","type":"uint256"},{"internalType":"address[]","name":"recipients","type":"address[]"}],"name":"bulkSafeTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_typeId","type":"uint256"},{"internalType":"address[]","name":"owners","type":"address[]"}],"name":"burnTypeBulk","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_typeId","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_typeOwnerAddress","type":"address"}],"name":"burnTypeForOwnerAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","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":"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":"uint256","name":"_typeId","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_typeId","type":"uint256"},{"internalType":"uint256","name":"_quantity","type":"uint256"},{"internalType":"address","name":"_toAddress","type":"address"}],"name":"mintTypeToAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"name":"updateBaseURI","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"typeId","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"validTypeIds","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60806040523480156200001157600080fd5b506040518060200160405280600081525062000033816200009f60201b60201c565b50620000586000801b6200004c620000bb60201b60201c565b620000c360201b60201c565b620000997fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e6200008d620000bb60201b60201c565b620000c360201b60201c565b6200034b565b8060029080519060200190620000b792919062000236565b5050565b600033905090565b620000d58282620000d960201b60201c565b5050565b620000eb8282620001cb60201b60201c565b620001c75760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506200016c620000bb60201b60201c565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b8280546200024490620002e6565b90600052602060002090601f016020900481019282620002685760008555620002b4565b82601f106200028357805160ff1916838001178555620002b4565b82800160010185558215620002b4579182015b82811115620002b357825182559160200191906001019062000296565b5b509050620002c39190620002c7565b5090565b5b80821115620002e2576000816000905550600101620002c8565b5090565b60006002820490506001821680620002ff57607f821691505b602082108114156200031657620003156200031c565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61443c806200035b6000396000f3fe608060405234801561001057600080fd5b50600436106101415760003560e01c80636c0360eb116100b8578063931688cb1161007c578063931688cb146103bc578063a217fddf146103d8578063a22cb465146103f6578063d547741f14610412578063e985e9c51461042e578063f242432a1461045e57610141565b80636c0360eb146102f25780637df31f7b14610310578063806e1fc81461032c5780638c791c0f1461035c57806391d148541461038c57610141565b8063248a9ca31161010a578063248a9ca3146102225780632eb2c2d6146102525780632f2ff15d1461026e57806336568abe1461028a5780634a1e31e8146102a65780634e1273f4146102c257610141565b8062fdd58e1461014657806301ffc9a7146101765780630e89341c146101a657806314f329af146101d65780631b2ef1ca14610206575b600080fd5b610160600480360381019061015b9190612d39565b61047a565b60405161016d919061387b565b60405180910390f35b610190600480360381019061018b9190612e46565b610543565b60405161019d9190613623565b60405180910390f35b6101c060048036038101906101bb9190612ed9565b6105bd565b6040516101cd9190613659565b60405180910390f35b6101f060048036038101906101eb9190612f96565b610651565b6040516101fd9190613623565b60405180910390f35b610220600480360381019061021b9190612f5a565b61069c565b005b61023c60048036038101906102379190612de1565b610721565b604051610249919061363e565b60405180910390f35b61026c60048036038101906102679190612baf565b610741565b005b61028860048036038101906102839190612e0a565b6107e2565b005b6102a4600480360381019061029f9190612e0a565b61080b565b005b6102c060048036038101906102bb9190612fe5565b61088e565b005b6102dc60048036038101906102d79190612d75565b610926565b6040516102e991906135ca565b60405180910390f35b6102fa610ad7565b6040516103079190613659565b60405180910390f35b61032a60048036038101906103259190612f02565b610b65565b005b61034660048036038101906103419190612ed9565b610c73565b6040516103539190613623565b60405180910390f35b61037660048036038101906103719190612f96565b610c93565b6040516103839190613623565b60405180910390f35b6103a660048036038101906103a19190612e0a565b610d1a565b6040516103b39190613623565b60405180910390f35b6103d660048036038101906103d19190612e98565b610d85565b005b6103e0610dd2565b6040516103ed919061363e565b60405180910390f35b610410600480360381019061040b9190612cfd565b610dd9565b005b61042c60048036038101906104279190612e0a565b610def565b005b61044860048036038101906104439190612b73565b610e18565b6040516104559190613623565b60405180910390f35b61047860048036038101906104739190612c6e565b610eac565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e2906136db565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007faf671b33000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105b657506105b582610f4d565b5b9050919050565b60606005600083815260200190815260200160002060009054906101000a900460ff1661061f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106169061373b565b60405180910390fd5b600461062a83610fc7565b60405160200161063b9291906134aa565b6040516020818303038152906040529050919050565b60007f6a9720191e216fcceabcf977981e1960eca316ba25983a901c27600afc53f10861068581610680611174565b61117c565b610690838686611219565b60019150509392505050565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e6106ce816106c9611174565b61117c565b6106f06106d9611174565b848460405180602001604052806000815250611436565b60016005600085815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b600060036000838152602001908152602001600020600101549050919050565b610749611174565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061078f575061078e85610789611174565b610e18565b5b6107ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c59061377b565b60405180910390fd5b6107db85858585856115cc565b5050505050565b6107eb82610721565b6107fc816107f7611174565b61117c565b610806838361192c565b505050565b610813611174565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610880576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108779061385b565b60405180910390fd5b61088a8282611a0d565b5050565b60005b8282905081101561091f5761090c6108a7611174565b8484848181106108e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906108f59190612b4a565b878760405180602001604052806000815250610eac565b808061091790613c91565b915050610891565b5050505050565b6060815183511461096c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610963906137fb565b60405180910390fd5b6000835167ffffffffffffffff8111156109af577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156109dd5781602001602082028036833780820191505090505b50905060005b8451811015610acc57610a76858281518110610a28577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610a69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161047a565b828281518110610aaf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610ac590613c91565b90506109e3565b508091505092915050565b60048054610ae490613c2e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1090613c2e565b8015610b5d5780601f10610b3257610100808354040283529160200191610b5d565b820191906000526020600020905b815481529060010190602001808311610b4057829003601f168201915b505050505081565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e610b9781610b92611174565b61117c565b60005b83839050811015610c6c576000610bfe858584818110610be3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610bf89190612b4a565b8761047a565b9050610c58858584818110610c3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610c519190612b4a565b8783611219565b508080610c6490613c91565b915050610b9a565b5050505050565b60056020528060005260406000206000915054906101000a900460ff1681565b60007f6a9720191e216fcceabcf977981e1960eca316ba25983a901c27600afc53f108610cc781610cc2611174565b61117c565b610ce283868660405180602001604052806000815250611436565b60016005600087815260200190815260200160002060006101000a81548160ff02191690831515021790555060019150509392505050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e610db781610db2611174565b61117c565b8160049080519060200190610dcd9291906127e3565b505050565b6000801b81565b610deb610de4611174565b8383611aef565b5050565b610df882610721565b610e0981610e04611174565b61117c565b610e138383611a0d565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610eb4611174565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610efa5750610ef985610ef4611174565b610e18565b5b610f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f309061371b565b60405180910390fd5b610f468585858585611c5c565b5050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610fc05750610fbf82611ede565b5b9050919050565b6060600082141561100f576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061116f565b600082905060005b6000821461104157808061102a90613c91565b915050600a8261103a9190613a85565b9150611017565b60008167ffffffffffffffff811115611083577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156110b55781602001600182028036833780820191505090505b5090505b60008514611168576001826110ce9190613b10565b9150600a856110dd9190613cda565b60306110e99190613a2f565b60f81b818381518110611125577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856111619190613a85565b94506110b9565b8093505050505b919050565b600033905090565b6111868282610d1a565b611215576111ab8173ffffffffffffffffffffffffffffffffffffffff166014611fc0565b6111b98360001c6020611fc0565b6040516020016111ca9291906134ce565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120c9190613659565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611289576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112809061379b565b60405180910390fd5b6000611293611174565b90506112c3818560006112a5876122ba565b6112ae876122ba565b60405180602001604052806000815250612380565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561135a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611351906136fb565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611427929190613896565b60405180910390a45050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156114a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149d9061383b565b60405180910390fd5b60006114b0611174565b90506114d1816000876114c2886122ba565b6114cb886122ba565b87612380565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115309190613a2f565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516115ae929190613896565b60405180910390a46115c581600087878787612388565b5050505050565b8151835114611610576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116079061381b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611680576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116779061375b565b60405180910390fd5b600061168a611174565b905061169a818787878787612380565b60005b84518110156118975760008582815181106116e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611726577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156117c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117be906137bb565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461187c9190613a2f565b925050819055505050508061189090613c91565b905061169d565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161190e9291906135ec565b60405180910390a461192481878787878761256f565b505050505050565b6119368282610d1a565b611a095760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506119ae611174565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611a178282610d1a565b15611aeb5760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a90611174565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b55906137db565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c4f9190613623565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ccc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc39061375b565b60405180910390fd5b6000611cd6611174565b9050611cf6818787611ce7886122ba565b611cf0886122ba565b87612380565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d84906137bb565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e429190613a2f565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611ebf929190613896565b60405180910390a4611ed5828888888888612388565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fa957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fb95750611fb882612756565b5b9050919050565b606060006002836002611fd39190613ab6565b611fdd9190613a2f565b67ffffffffffffffff81111561201c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561204e5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106120ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612136577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026121769190613ab6565b6121809190613a2f565b90505b600181111561226c577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106121e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612225577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061226590613c04565b9050612183565b50600084146122b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a79061369b565b60405180910390fd5b8091505092915050565b60606000600167ffffffffffffffff8111156122ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561232d5781602001602082028036833780820191505090505b509050828160008151811061236b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b505050505050565b6123a78473ffffffffffffffffffffffffffffffffffffffff166127c0565b15612567578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016123ed959493929190613570565b602060405180830381600087803b15801561240757600080fd5b505af192505050801561243857506040513d601f19601f820116820180604052508101906124359190612e6f565b60015b6124de57612444613dc7565b806308c379a014156124a157506124596142fd565b8061246457506124a3565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124989190613659565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d59061367b565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255c906136bb565b60405180910390fd5b505b505050505050565b61258e8473ffffffffffffffffffffffffffffffffffffffff166127c0565b1561274e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016125d4959493929190613508565b602060405180830381600087803b1580156125ee57600080fd5b505af192505050801561261f57506040513d601f19601f8201168201806040525081019061261c9190612e6f565b60015b6126c55761262b613dc7565b806308c379a0141561268857506126406142fd565b8061264b575061268a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267f9190613659565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bc9061367b565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461274c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612743906136bb565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546127ef90613c2e565b90600052602060002090601f0160209004810192826128115760008555612858565b82601f1061282a57805160ff1916838001178555612858565b82800160010185558215612858579182015b8281111561285757825182559160200191906001019061283c565b5b5090506128659190612869565b5090565b5b8082111561288257600081600090555060010161286a565b5090565b6000612899612894846138e4565b6138bf565b905080838252602082019050828560208602820111156128b857600080fd5b60005b858110156128e857816128ce88826129da565b8452602084019350602083019250506001810190506128bb565b5050509392505050565b600061290561290084613910565b6138bf565b9050808382526020820190508285602086028201111561292457600080fd5b60005b85811015612954578161293a8882612b35565b845260208401935060208301925050600181019050612927565b5050509392505050565b600061297161296c8461393c565b6138bf565b90508281526020810184848401111561298957600080fd5b612994848285613bc2565b509392505050565b60006129af6129aa8461396d565b6138bf565b9050828152602081018484840111156129c757600080fd5b6129d2848285613bc2565b509392505050565b6000813590506129e981614393565b92915050565b60008083601f840112612a0157600080fd5b8235905067ffffffffffffffff811115612a1a57600080fd5b602083019150836020820283011115612a3257600080fd5b9250929050565b600082601f830112612a4a57600080fd5b8135612a5a848260208601612886565b91505092915050565b600082601f830112612a7457600080fd5b8135612a848482602086016128f2565b91505092915050565b600081359050612a9c816143aa565b92915050565b600081359050612ab1816143c1565b92915050565b600081359050612ac6816143d8565b92915050565b600081519050612adb816143d8565b92915050565b600082601f830112612af257600080fd5b8135612b0284826020860161295e565b91505092915050565b600082601f830112612b1c57600080fd5b8135612b2c84826020860161299c565b91505092915050565b600081359050612b44816143ef565b92915050565b600060208284031215612b5c57600080fd5b6000612b6a848285016129da565b91505092915050565b60008060408385031215612b8657600080fd5b6000612b94858286016129da565b9250506020612ba5858286016129da565b9150509250929050565b600080600080600060a08688031215612bc757600080fd5b6000612bd5888289016129da565b9550506020612be6888289016129da565b945050604086013567ffffffffffffffff811115612c0357600080fd5b612c0f88828901612a63565b935050606086013567ffffffffffffffff811115612c2c57600080fd5b612c3888828901612a63565b925050608086013567ffffffffffffffff811115612c5557600080fd5b612c6188828901612ae1565b9150509295509295909350565b600080600080600060a08688031215612c8657600080fd5b6000612c94888289016129da565b9550506020612ca5888289016129da565b9450506040612cb688828901612b35565b9350506060612cc788828901612b35565b925050608086013567ffffffffffffffff811115612ce457600080fd5b612cf088828901612ae1565b9150509295509295909350565b60008060408385031215612d1057600080fd5b6000612d1e858286016129da565b9250506020612d2f85828601612a8d565b9150509250929050565b60008060408385031215612d4c57600080fd5b6000612d5a858286016129da565b9250506020612d6b85828601612b35565b9150509250929050565b60008060408385031215612d8857600080fd5b600083013567ffffffffffffffff811115612da257600080fd5b612dae85828601612a39565b925050602083013567ffffffffffffffff811115612dcb57600080fd5b612dd785828601612a63565b9150509250929050565b600060208284031215612df357600080fd5b6000612e0184828501612aa2565b91505092915050565b60008060408385031215612e1d57600080fd5b6000612e2b85828601612aa2565b9250506020612e3c858286016129da565b9150509250929050565b600060208284031215612e5857600080fd5b6000612e6684828501612ab7565b91505092915050565b600060208284031215612e8157600080fd5b6000612e8f84828501612acc565b91505092915050565b600060208284031215612eaa57600080fd5b600082013567ffffffffffffffff811115612ec457600080fd5b612ed084828501612b0b565b91505092915050565b600060208284031215612eeb57600080fd5b6000612ef984828501612b35565b91505092915050565b600080600060408486031215612f1757600080fd5b6000612f2586828701612b35565b935050602084013567ffffffffffffffff811115612f4257600080fd5b612f4e868287016129ef565b92509250509250925092565b60008060408385031215612f6d57600080fd5b6000612f7b85828601612b35565b9250506020612f8c85828601612b35565b9150509250929050565b600080600060608486031215612fab57600080fd5b6000612fb986828701612b35565b9350506020612fca86828701612b35565b9250506040612fdb868287016129da565b9150509250925092565b60008060008060608587031215612ffb57600080fd5b600061300987828801612b35565b945050602061301a87828801612b35565b935050604085013567ffffffffffffffff81111561303757600080fd5b613043878288016129ef565b925092505092959194509250565b600061305d838361348c565b60208301905092915050565b61307281613b44565b82525050565b6000613083826139c3565b61308d81856139f1565b93506130988361399e565b8060005b838110156130c95781516130b08882613051565b97506130bb836139e4565b92505060018101905061309c565b5085935050505092915050565b6130df81613b56565b82525050565b6130ee81613b62565b82525050565b60006130ff826139ce565b6131098185613a02565b9350613119818560208601613bd1565b61312281613de9565b840191505092915050565b6000613138826139d9565b6131428185613a13565b9350613152818560208601613bd1565b61315b81613de9565b840191505092915050565b6000613171826139d9565b61317b8185613a24565b935061318b818560208601613bd1565b80840191505092915050565b600081546131a481613c2e565b6131ae8186613a24565b945060018216600081146131c957600181146131da5761320d565b60ff1983168652818601935061320d565b6131e3856139ae565b60005b83811015613205578154818901526001820191506020810190506131e6565b838801955050505b50505092915050565b6000613223603483613a13565b915061322e82613e07565b604082019050919050565b6000613246602083613a13565b915061325182613e56565b602082019050919050565b6000613269602883613a13565b915061327482613e7f565b604082019050919050565b600061328c602b83613a13565b915061329782613ece565b604082019050919050565b60006132af602483613a13565b91506132ba82613f1d565b604082019050919050565b60006132d2602983613a13565b91506132dd82613f6c565b604082019050919050565b60006132f5601c83613a13565b915061330082613fbb565b602082019050919050565b6000613318602583613a13565b915061332382613fe4565b604082019050919050565b600061333b603283613a13565b915061334682614033565b604082019050919050565b600061335e602383613a13565b915061336982614082565b604082019050919050565b6000613381602a83613a13565b915061338c826140d1565b604082019050919050565b60006133a4601783613a24565b91506133af82614120565b601782019050919050565b60006133c7602983613a13565b91506133d282614149565b604082019050919050565b60006133ea602983613a13565b91506133f582614198565b604082019050919050565b600061340d602883613a13565b9150613418826141e7565b604082019050919050565b6000613430602183613a13565b915061343b82614236565b604082019050919050565b6000613453601183613a24565b915061345e82614285565b601182019050919050565b6000613476602f83613a13565b9150613481826142ae565b604082019050919050565b61349581613bb8565b82525050565b6134a481613bb8565b82525050565b60006134b68285613197565b91506134c28284613166565b91508190509392505050565b60006134d982613397565b91506134e58285613166565b91506134f082613446565b91506134fc8284613166565b91508190509392505050565b600060a08201905061351d6000830188613069565b61352a6020830187613069565b818103604083015261353c8186613078565b905081810360608301526135508185613078565b9050818103608083015261356481846130f4565b90509695505050505050565b600060a0820190506135856000830188613069565b6135926020830187613069565b61359f604083018661349b565b6135ac606083018561349b565b81810360808301526135be81846130f4565b90509695505050505050565b600060208201905081810360008301526135e48184613078565b905092915050565b600060408201905081810360008301526136068185613078565b9050818103602083015261361a8184613078565b90509392505050565b600060208201905061363860008301846130d6565b92915050565b600060208201905061365360008301846130e5565b92915050565b60006020820190508181036000830152613673818461312d565b905092915050565b6000602082019050818103600083015261369481613216565b9050919050565b600060208201905081810360008301526136b481613239565b9050919050565b600060208201905081810360008301526136d48161325c565b9050919050565b600060208201905081810360008301526136f48161327f565b9050919050565b60006020820190508181036000830152613714816132a2565b9050919050565b60006020820190508181036000830152613734816132c5565b9050919050565b60006020820190508181036000830152613754816132e8565b9050919050565b600060208201905081810360008301526137748161330b565b9050919050565b600060208201905081810360008301526137948161332e565b9050919050565b600060208201905081810360008301526137b481613351565b9050919050565b600060208201905081810360008301526137d481613374565b9050919050565b600060208201905081810360008301526137f4816133ba565b9050919050565b60006020820190508181036000830152613814816133dd565b9050919050565b6000602082019050818103600083015261383481613400565b9050919050565b6000602082019050818103600083015261385481613423565b9050919050565b6000602082019050818103600083015261387481613469565b9050919050565b6000602082019050613890600083018461349b565b92915050565b60006040820190506138ab600083018561349b565b6138b8602083018461349b565b9392505050565b60006138c96138da565b90506138d58282613c60565b919050565b6000604051905090565b600067ffffffffffffffff8211156138ff576138fe613d98565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561392b5761392a613d98565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561395757613956613d98565b5b61396082613de9565b9050602081019050919050565b600067ffffffffffffffff82111561398857613987613d98565b5b61399182613de9565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613a3a82613bb8565b9150613a4583613bb8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a7a57613a79613d0b565b5b828201905092915050565b6000613a9082613bb8565b9150613a9b83613bb8565b925082613aab57613aaa613d3a565b5b828204905092915050565b6000613ac182613bb8565b9150613acc83613bb8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b0557613b04613d0b565b5b828202905092915050565b6000613b1b82613bb8565b9150613b2683613bb8565b925082821015613b3957613b38613d0b565b5b828203905092915050565b6000613b4f82613b98565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613bef578082015181840152602081019050613bd4565b83811115613bfe576000848401525b50505050565b6000613c0f82613bb8565b91506000821415613c2357613c22613d0b565b5b600182039050919050565b60006002820490506001821680613c4657607f821691505b60208210811415613c5a57613c59613d69565b5b50919050565b613c6982613de9565b810181811067ffffffffffffffff82111715613c8857613c87613d98565b5b80604052505050565b6000613c9c82613bb8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ccf57613cce613d0b565b5b600182019050919050565b6000613ce582613bb8565b9150613cf083613bb8565b925082613d0057613cff613d3a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613de65760046000803e613de3600051613dfa565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f555249207265717565737420666f7220696e76616c6964207479706500000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600060443d101561430d57614390565b6143156138da565b60043d036004823e80513d602482011167ffffffffffffffff8211171561433d575050614390565b808201805167ffffffffffffffff81111561435b5750505050614390565b80602083010160043d038501811115614378575050505050614390565b61438782602001850186613c60565b82955050505050505b90565b61439c81613b44565b81146143a757600080fd5b50565b6143b381613b56565b81146143be57600080fd5b50565b6143ca81613b62565b81146143d557600080fd5b50565b6143e181613b6c565b81146143ec57600080fd5b50565b6143f881613bb8565b811461440357600080fd5b5056fea26469706673582212204e08b3153b74f88ac29599b21b5c95b6a081fbfa7ae4c13b272c4ff72018dab764736f6c63430008020033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101415760003560e01c80636c0360eb116100b8578063931688cb1161007c578063931688cb146103bc578063a217fddf146103d8578063a22cb465146103f6578063d547741f14610412578063e985e9c51461042e578063f242432a1461045e57610141565b80636c0360eb146102f25780637df31f7b14610310578063806e1fc81461032c5780638c791c0f1461035c57806391d148541461038c57610141565b8063248a9ca31161010a578063248a9ca3146102225780632eb2c2d6146102525780632f2ff15d1461026e57806336568abe1461028a5780634a1e31e8146102a65780634e1273f4146102c257610141565b8062fdd58e1461014657806301ffc9a7146101765780630e89341c146101a657806314f329af146101d65780631b2ef1ca14610206575b600080fd5b610160600480360381019061015b9190612d39565b61047a565b60405161016d919061387b565b60405180910390f35b610190600480360381019061018b9190612e46565b610543565b60405161019d9190613623565b60405180910390f35b6101c060048036038101906101bb9190612ed9565b6105bd565b6040516101cd9190613659565b60405180910390f35b6101f060048036038101906101eb9190612f96565b610651565b6040516101fd9190613623565b60405180910390f35b610220600480360381019061021b9190612f5a565b61069c565b005b61023c60048036038101906102379190612de1565b610721565b604051610249919061363e565b60405180910390f35b61026c60048036038101906102679190612baf565b610741565b005b61028860048036038101906102839190612e0a565b6107e2565b005b6102a4600480360381019061029f9190612e0a565b61080b565b005b6102c060048036038101906102bb9190612fe5565b61088e565b005b6102dc60048036038101906102d79190612d75565b610926565b6040516102e991906135ca565b60405180910390f35b6102fa610ad7565b6040516103079190613659565b60405180910390f35b61032a60048036038101906103259190612f02565b610b65565b005b61034660048036038101906103419190612ed9565b610c73565b6040516103539190613623565b60405180910390f35b61037660048036038101906103719190612f96565b610c93565b6040516103839190613623565b60405180910390f35b6103a660048036038101906103a19190612e0a565b610d1a565b6040516103b39190613623565b60405180910390f35b6103d660048036038101906103d19190612e98565b610d85565b005b6103e0610dd2565b6040516103ed919061363e565b60405180910390f35b610410600480360381019061040b9190612cfd565b610dd9565b005b61042c60048036038101906104279190612e0a565b610def565b005b61044860048036038101906104439190612b73565b610e18565b6040516104559190613623565b60405180910390f35b61047860048036038101906104739190612c6e565b610eac565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156104eb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016104e2906136db565b60405180910390fd5b60008083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b60007faf671b33000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614806105b657506105b582610f4d565b5b9050919050565b60606005600083815260200190815260200160002060009054906101000a900460ff1661061f576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106169061373b565b60405180910390fd5b600461062a83610fc7565b60405160200161063b9291906134aa565b6040516020818303038152906040529050919050565b60007f6a9720191e216fcceabcf977981e1960eca316ba25983a901c27600afc53f10861068581610680611174565b61117c565b610690838686611219565b60019150509392505050565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e6106ce816106c9611174565b61117c565b6106f06106d9611174565b848460405180602001604052806000815250611436565b60016005600085815260200190815260200160002060006101000a81548160ff021916908315150217905550505050565b600060036000838152602001908152602001600020600101549050919050565b610749611174565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061078f575061078e85610789611174565b610e18565b5b6107ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107c59061377b565b60405180910390fd5b6107db85858585856115cc565b5050505050565b6107eb82610721565b6107fc816107f7611174565b61117c565b610806838361192c565b505050565b610813611174565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1614610880576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108779061385b565b60405180910390fd5b61088a8282611a0d565b5050565b60005b8282905081101561091f5761090c6108a7611174565b8484848181106108e0577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b90506020020160208101906108f59190612b4a565b878760405180602001604052806000815250610eac565b808061091790613c91565b915050610891565b5050505050565b6060815183511461096c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610963906137fb565b60405180910390fd5b6000835167ffffffffffffffff8111156109af577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280602002602001820160405280156109dd5781602001602082028036833780820191505090505b50905060005b8451811015610acc57610a76858281518110610a28577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b6020026020010151858381518110610a69577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015161047a565b828281518110610aaf577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080610ac590613c91565b90506109e3565b508091505092915050565b60048054610ae490613c2e565b80601f0160208091040260200160405190810160405280929190818152602001828054610b1090613c2e565b8015610b5d5780601f10610b3257610100808354040283529160200191610b5d565b820191906000526020600020905b815481529060010190602001808311610b4057829003601f168201915b505050505081565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e610b9781610b92611174565b61117c565b60005b83839050811015610c6c576000610bfe858584818110610be3577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610bf89190612b4a565b8761047a565b9050610c58858584818110610c3c577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b9050602002016020810190610c519190612b4a565b8783611219565b508080610c6490613c91565b915050610b9a565b5050505050565b60056020528060005260406000206000915054906101000a900460ff1681565b60007f6a9720191e216fcceabcf977981e1960eca316ba25983a901c27600afc53f108610cc781610cc2611174565b61117c565b610ce283868660405180602001604052806000815250611436565b60016005600087815260200190815260200160002060006101000a81548160ff02191690831515021790555060019150509392505050565b60006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b7fb19546dff01e856fb3f010c267a7b1c60363cf8a4664e21cc89c26224620214e610db781610db2611174565b61117c565b8160049080519060200190610dcd9291906127e3565b505050565b6000801b81565b610deb610de4611174565b8383611aef565b5050565b610df882610721565b610e0981610e04611174565b61117c565b610e138383611a0d565b505050565b6000600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b610eb4611174565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480610efa5750610ef985610ef4611174565b610e18565b5b610f39576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610f309061371b565b60405180910390fd5b610f468585858585611c5c565b5050505050565b60007f7965db0b000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480610fc05750610fbf82611ede565b5b9050919050565b6060600082141561100f576040518060400160405280600181526020017f3000000000000000000000000000000000000000000000000000000000000000815250905061116f565b600082905060005b6000821461104157808061102a90613c91565b915050600a8261103a9190613a85565b9150611017565b60008167ffffffffffffffff811115611083577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f1916602001820160405280156110b55781602001600182028036833780820191505090505b5090505b60008514611168576001826110ce9190613b10565b9150600a856110dd9190613cda565b60306110e99190613a2f565b60f81b818381518110611125577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a856111619190613a85565b94506110b9565b8093505050505b919050565b600033905090565b6111868282610d1a565b611215576111ab8173ffffffffffffffffffffffffffffffffffffffff166014611fc0565b6111b98360001c6020611fc0565b6040516020016111ca9291906134ce565b6040516020818303038152906040526040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161120c9190613659565b60405180910390fd5b5050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611289576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112809061379b565b60405180910390fd5b6000611293611174565b90506112c3818560006112a5876122ba565b6112ae876122ba565b60405180602001604052806000815250612380565b600080600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205490508281101561135a576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611351906136fb565b60405180910390fd5b82810360008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051611427929190613896565b60405180910390a45050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156114a6576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161149d9061383b565b60405180910390fd5b60006114b0611174565b90506114d1816000876114c2886122ba565b6114cb886122ba565b87612380565b8260008086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546115309190613a2f565b925050819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f6287876040516115ae929190613896565b60405180910390a46115c581600087878787612388565b5050505050565b8151835114611610576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116079061381b565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611680576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116779061375b565b60405180910390fd5b600061168a611174565b905061169a818787878787612380565b60005b84518110156118975760008582815181106116e1577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b602002602001015190506000858381518110611726577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101519050600080600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050818110156117c7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016117be906137bb565b60405180910390fd5b81810360008085815260200190815260200160002060008c73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508160008085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461187c9190613a2f565b925050819055505050508061189090613c91565b905061169d565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161190e9291906135ec565b60405180910390a461192481878787878761256f565b505050505050565b6119368282610d1a565b611a095760016003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055506119ae611174565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b611a178282610d1a565b15611aeb5760006003600084815260200190815260200160002060000160008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff021916908315150217905550611a90611174565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b8173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611b5e576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b55906137db565b60405180910390fd5b80600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c3183604051611c4f9190613623565b60405180910390a3505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415611ccc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611cc39061375b565b60405180910390fd5b6000611cd6611174565b9050611cf6818787611ce7886122ba565b611cf0886122ba565b87612380565b600080600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905083811015611d8d576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d84906137bb565b60405180910390fd5b83810360008087815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508360008087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206000828254611e429190613a2f565b925050819055508573ffffffffffffffffffffffffffffffffffffffff168773ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628888604051611ebf929190613896565b60405180910390a4611ed5828888888888612388565b50505050505050565b60007fd9b67a26000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161480611fa957507f0e89341c000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916145b80611fb95750611fb882612756565b5b9050919050565b606060006002836002611fd39190613ab6565b611fdd9190613a2f565b67ffffffffffffffff81111561201c577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6040519080825280601f01601f19166020018201604052801561204e5781602001600182028036833780820191505090505b5090507f3000000000000000000000000000000000000000000000000000000000000000816000815181106120ac577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a9053507f780000000000000000000000000000000000000000000000000000000000000081600181518110612136577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600060018460026121769190613ab6565b6121809190613a2f565b90505b600181111561226c577f3031323334353637383961626364656600000000000000000000000000000000600f8616601081106121e8577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b1a60f81b828281518110612225577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600485901c94508061226590613c04565b9050612183565b50600084146122b0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016122a79061369b565b60405180910390fd5b8091505092915050565b60606000600167ffffffffffffffff8111156122ff577f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b60405190808252806020026020018201604052801561232d5781602001602082028036833780820191505090505b509050828160008151811061236b577f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60200260200101818152505080915050919050565b505050505050565b6123a78473ffffffffffffffffffffffffffffffffffffffff166127c0565b15612567578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b81526004016123ed959493929190613570565b602060405180830381600087803b15801561240757600080fd5b505af192505050801561243857506040513d601f19601f820116820180604052508101906124359190612e6f565b60015b6124de57612444613dc7565b806308c379a014156124a157506124596142fd565b8061246457506124a3565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124989190613659565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d59061367b565b60405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614612565576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161255c906136bb565b60405180910390fd5b505b505050505050565b61258e8473ffffffffffffffffffffffffffffffffffffffff166127c0565b1561274e578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b81526004016125d4959493929190613508565b602060405180830381600087803b1580156125ee57600080fd5b505af192505050801561261f57506040513d601f19601f8201168201806040525081019061261c9190612e6f565b60015b6126c55761262b613dc7565b806308c379a0141561268857506126406142fd565b8061264b575061268a565b806040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161267f9190613659565b60405180910390fd5b505b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016126bc9061367b565b60405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461274c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612743906136bb565b60405180910390fd5b505b505050505050565b60007f01ffc9a7000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916827bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916149050919050565b6000808273ffffffffffffffffffffffffffffffffffffffff163b119050919050565b8280546127ef90613c2e565b90600052602060002090601f0160209004810192826128115760008555612858565b82601f1061282a57805160ff1916838001178555612858565b82800160010185558215612858579182015b8281111561285757825182559160200191906001019061283c565b5b5090506128659190612869565b5090565b5b8082111561288257600081600090555060010161286a565b5090565b6000612899612894846138e4565b6138bf565b905080838252602082019050828560208602820111156128b857600080fd5b60005b858110156128e857816128ce88826129da565b8452602084019350602083019250506001810190506128bb565b5050509392505050565b600061290561290084613910565b6138bf565b9050808382526020820190508285602086028201111561292457600080fd5b60005b85811015612954578161293a8882612b35565b845260208401935060208301925050600181019050612927565b5050509392505050565b600061297161296c8461393c565b6138bf565b90508281526020810184848401111561298957600080fd5b612994848285613bc2565b509392505050565b60006129af6129aa8461396d565b6138bf565b9050828152602081018484840111156129c757600080fd5b6129d2848285613bc2565b509392505050565b6000813590506129e981614393565b92915050565b60008083601f840112612a0157600080fd5b8235905067ffffffffffffffff811115612a1a57600080fd5b602083019150836020820283011115612a3257600080fd5b9250929050565b600082601f830112612a4a57600080fd5b8135612a5a848260208601612886565b91505092915050565b600082601f830112612a7457600080fd5b8135612a848482602086016128f2565b91505092915050565b600081359050612a9c816143aa565b92915050565b600081359050612ab1816143c1565b92915050565b600081359050612ac6816143d8565b92915050565b600081519050612adb816143d8565b92915050565b600082601f830112612af257600080fd5b8135612b0284826020860161295e565b91505092915050565b600082601f830112612b1c57600080fd5b8135612b2c84826020860161299c565b91505092915050565b600081359050612b44816143ef565b92915050565b600060208284031215612b5c57600080fd5b6000612b6a848285016129da565b91505092915050565b60008060408385031215612b8657600080fd5b6000612b94858286016129da565b9250506020612ba5858286016129da565b9150509250929050565b600080600080600060a08688031215612bc757600080fd5b6000612bd5888289016129da565b9550506020612be6888289016129da565b945050604086013567ffffffffffffffff811115612c0357600080fd5b612c0f88828901612a63565b935050606086013567ffffffffffffffff811115612c2c57600080fd5b612c3888828901612a63565b925050608086013567ffffffffffffffff811115612c5557600080fd5b612c6188828901612ae1565b9150509295509295909350565b600080600080600060a08688031215612c8657600080fd5b6000612c94888289016129da565b9550506020612ca5888289016129da565b9450506040612cb688828901612b35565b9350506060612cc788828901612b35565b925050608086013567ffffffffffffffff811115612ce457600080fd5b612cf088828901612ae1565b9150509295509295909350565b60008060408385031215612d1057600080fd5b6000612d1e858286016129da565b9250506020612d2f85828601612a8d565b9150509250929050565b60008060408385031215612d4c57600080fd5b6000612d5a858286016129da565b9250506020612d6b85828601612b35565b9150509250929050565b60008060408385031215612d8857600080fd5b600083013567ffffffffffffffff811115612da257600080fd5b612dae85828601612a39565b925050602083013567ffffffffffffffff811115612dcb57600080fd5b612dd785828601612a63565b9150509250929050565b600060208284031215612df357600080fd5b6000612e0184828501612aa2565b91505092915050565b60008060408385031215612e1d57600080fd5b6000612e2b85828601612aa2565b9250506020612e3c858286016129da565b9150509250929050565b600060208284031215612e5857600080fd5b6000612e6684828501612ab7565b91505092915050565b600060208284031215612e8157600080fd5b6000612e8f84828501612acc565b91505092915050565b600060208284031215612eaa57600080fd5b600082013567ffffffffffffffff811115612ec457600080fd5b612ed084828501612b0b565b91505092915050565b600060208284031215612eeb57600080fd5b6000612ef984828501612b35565b91505092915050565b600080600060408486031215612f1757600080fd5b6000612f2586828701612b35565b935050602084013567ffffffffffffffff811115612f4257600080fd5b612f4e868287016129ef565b92509250509250925092565b60008060408385031215612f6d57600080fd5b6000612f7b85828601612b35565b9250506020612f8c85828601612b35565b9150509250929050565b600080600060608486031215612fab57600080fd5b6000612fb986828701612b35565b9350506020612fca86828701612b35565b9250506040612fdb868287016129da565b9150509250925092565b60008060008060608587031215612ffb57600080fd5b600061300987828801612b35565b945050602061301a87828801612b35565b935050604085013567ffffffffffffffff81111561303757600080fd5b613043878288016129ef565b925092505092959194509250565b600061305d838361348c565b60208301905092915050565b61307281613b44565b82525050565b6000613083826139c3565b61308d81856139f1565b93506130988361399e565b8060005b838110156130c95781516130b08882613051565b97506130bb836139e4565b92505060018101905061309c565b5085935050505092915050565b6130df81613b56565b82525050565b6130ee81613b62565b82525050565b60006130ff826139ce565b6131098185613a02565b9350613119818560208601613bd1565b61312281613de9565b840191505092915050565b6000613138826139d9565b6131428185613a13565b9350613152818560208601613bd1565b61315b81613de9565b840191505092915050565b6000613171826139d9565b61317b8185613a24565b935061318b818560208601613bd1565b80840191505092915050565b600081546131a481613c2e565b6131ae8186613a24565b945060018216600081146131c957600181146131da5761320d565b60ff1983168652818601935061320d565b6131e3856139ae565b60005b83811015613205578154818901526001820191506020810190506131e6565b838801955050505b50505092915050565b6000613223603483613a13565b915061322e82613e07565b604082019050919050565b6000613246602083613a13565b915061325182613e56565b602082019050919050565b6000613269602883613a13565b915061327482613e7f565b604082019050919050565b600061328c602b83613a13565b915061329782613ece565b604082019050919050565b60006132af602483613a13565b91506132ba82613f1d565b604082019050919050565b60006132d2602983613a13565b91506132dd82613f6c565b604082019050919050565b60006132f5601c83613a13565b915061330082613fbb565b602082019050919050565b6000613318602583613a13565b915061332382613fe4565b604082019050919050565b600061333b603283613a13565b915061334682614033565b604082019050919050565b600061335e602383613a13565b915061336982614082565b604082019050919050565b6000613381602a83613a13565b915061338c826140d1565b604082019050919050565b60006133a4601783613a24565b91506133af82614120565b601782019050919050565b60006133c7602983613a13565b91506133d282614149565b604082019050919050565b60006133ea602983613a13565b91506133f582614198565b604082019050919050565b600061340d602883613a13565b9150613418826141e7565b604082019050919050565b6000613430602183613a13565b915061343b82614236565b604082019050919050565b6000613453601183613a24565b915061345e82614285565b601182019050919050565b6000613476602f83613a13565b9150613481826142ae565b604082019050919050565b61349581613bb8565b82525050565b6134a481613bb8565b82525050565b60006134b68285613197565b91506134c28284613166565b91508190509392505050565b60006134d982613397565b91506134e58285613166565b91506134f082613446565b91506134fc8284613166565b91508190509392505050565b600060a08201905061351d6000830188613069565b61352a6020830187613069565b818103604083015261353c8186613078565b905081810360608301526135508185613078565b9050818103608083015261356481846130f4565b90509695505050505050565b600060a0820190506135856000830188613069565b6135926020830187613069565b61359f604083018661349b565b6135ac606083018561349b565b81810360808301526135be81846130f4565b90509695505050505050565b600060208201905081810360008301526135e48184613078565b905092915050565b600060408201905081810360008301526136068185613078565b9050818103602083015261361a8184613078565b90509392505050565b600060208201905061363860008301846130d6565b92915050565b600060208201905061365360008301846130e5565b92915050565b60006020820190508181036000830152613673818461312d565b905092915050565b6000602082019050818103600083015261369481613216565b9050919050565b600060208201905081810360008301526136b481613239565b9050919050565b600060208201905081810360008301526136d48161325c565b9050919050565b600060208201905081810360008301526136f48161327f565b9050919050565b60006020820190508181036000830152613714816132a2565b9050919050565b60006020820190508181036000830152613734816132c5565b9050919050565b60006020820190508181036000830152613754816132e8565b9050919050565b600060208201905081810360008301526137748161330b565b9050919050565b600060208201905081810360008301526137948161332e565b9050919050565b600060208201905081810360008301526137b481613351565b9050919050565b600060208201905081810360008301526137d481613374565b9050919050565b600060208201905081810360008301526137f4816133ba565b9050919050565b60006020820190508181036000830152613814816133dd565b9050919050565b6000602082019050818103600083015261383481613400565b9050919050565b6000602082019050818103600083015261385481613423565b9050919050565b6000602082019050818103600083015261387481613469565b9050919050565b6000602082019050613890600083018461349b565b92915050565b60006040820190506138ab600083018561349b565b6138b8602083018461349b565b9392505050565b60006138c96138da565b90506138d58282613c60565b919050565b6000604051905090565b600067ffffffffffffffff8211156138ff576138fe613d98565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561392b5761392a613d98565b5b602082029050602081019050919050565b600067ffffffffffffffff82111561395757613956613d98565b5b61396082613de9565b9050602081019050919050565b600067ffffffffffffffff82111561398857613987613d98565b5b61399182613de9565b9050602081019050919050565b6000819050602082019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600081519050919050565b6000602082019050919050565b600082825260208201905092915050565b600082825260208201905092915050565b600082825260208201905092915050565b600081905092915050565b6000613a3a82613bb8565b9150613a4583613bb8565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115613a7a57613a79613d0b565b5b828201905092915050565b6000613a9082613bb8565b9150613a9b83613bb8565b925082613aab57613aaa613d3a565b5b828204905092915050565b6000613ac182613bb8565b9150613acc83613bb8565b9250817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613b0557613b04613d0b565b5b828202905092915050565b6000613b1b82613bb8565b9150613b2683613bb8565b925082821015613b3957613b38613d0b565b5b828203905092915050565b6000613b4f82613b98565b9050919050565b60008115159050919050565b6000819050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015613bef578082015181840152602081019050613bd4565b83811115613bfe576000848401525b50505050565b6000613c0f82613bb8565b91506000821415613c2357613c22613d0b565b5b600182039050919050565b60006002820490506001821680613c4657607f821691505b60208210811415613c5a57613c59613d69565b5b50919050565b613c6982613de9565b810181811067ffffffffffffffff82111715613c8857613c87613d98565b5b80604052505050565b6000613c9c82613bb8565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415613ccf57613cce613d0b565b5b600182019050919050565b6000613ce582613bb8565b9150613cf083613bb8565b925082613d0057613cff613d3a565b5b828206905092915050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115613de65760046000803e613de3600051613dfa565b90505b90565b6000601f19601f8301169050919050565b60008160e01c9050919050565b7f455243313135353a207472616e7366657220746f206e6f6e204552433131353560008201527f526563656976657220696d706c656d656e746572000000000000000000000000602082015250565b7f537472696e67733a20686578206c656e67746820696e73756666696369656e74600082015250565b7f455243313135353a204552433131353552656365697665722072656a6563746560008201527f6420746f6b656e73000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2062616c616e636520717565727920666f7220746865207a60008201527f65726f2061646472657373000000000000000000000000000000000000000000602082015250565b7f455243313135353a206275726e20616d6f756e7420657863656564732062616c60008201527f616e636500000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260008201527f20617070726f7665640000000000000000000000000000000000000000000000602082015250565b7f555249207265717565737420666f7220696e76616c6964207479706500000000600082015250565b7f455243313135353a207472616e7366657220746f20746865207a65726f20616460008201527f6472657373000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a207472616e736665722063616c6c6572206973206e6f742060008201527f6f776e6572206e6f7220617070726f7665640000000000000000000000000000602082015250565b7f455243313135353a206275726e2066726f6d20746865207a65726f206164647260008201527f6573730000000000000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a20696e73756666696369656e742062616c616e636520666f60008201527f72207472616e7366657200000000000000000000000000000000000000000000602082015250565b7f416363657373436f6e74726f6c3a206163636f756e7420000000000000000000600082015250565b7f455243313135353a2073657474696e6720617070726f76616c2073746174757360008201527f20666f722073656c660000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206163636f756e747320616e6420696473206c656e67746860008201527f206d69736d617463680000000000000000000000000000000000000000000000602082015250565b7f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060008201527f6d69736d61746368000000000000000000000000000000000000000000000000602082015250565b7f455243313135353a206d696e7420746f20746865207a65726f2061646472657360008201527f7300000000000000000000000000000000000000000000000000000000000000602082015250565b7f206973206d697373696e6720726f6c6520000000000000000000000000000000600082015250565b7f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560008201527f20726f6c657320666f722073656c660000000000000000000000000000000000602082015250565b600060443d101561430d57614390565b6143156138da565b60043d036004823e80513d602482011167ffffffffffffffff8211171561433d575050614390565b808201805167ffffffffffffffff81111561435b5750505050614390565b80602083010160043d038501811115614378575050505050614390565b61438782602001850186613c60565b82955050505050505b90565b61439c81613b44565b81146143a757600080fd5b50565b6143b381613b56565b81146143be57600080fd5b50565b6143ca81613b62565b81146143d557600080fd5b50565b6143e181613b6c565b81146143ec57600080fd5b50565b6143f881613bb8565b811461440357600080fd5b5056fea26469706673582212204e08b3153b74f88ac29599b21b5c95b6a081fbfa7ae4c13b272c4ff72018dab764736f6c63430008020033

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.