ETH Price: $2,312.78 (-0.02%)

Token

Zero One Token Lock (ZOL)
 

Overview

Max Total Supply

101,712,499.999999999999999981 ZOL

Holders

0

Transfers

-
0

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A

Other Info

Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
ZOLockW20

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2021-06-23
*/

// File: @openzeppelin/contracts/introspection/IERC165.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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: @openzeppelin/contracts/token/ERC1155/IERC1155.sol



pragma solidity >=0.6.2 <0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC1155/IERC1155MetadataURI.sol



pragma solidity >=0.6.2 <0.8.0;


/**
 * @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: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol



pragma solidity >=0.6.0 <0.8.0;


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

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

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

// File: @openzeppelin/contracts/utils/Context.sol



pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// File: @openzeppelin/contracts/introspection/ERC165.sol



pragma solidity >=0.6.0 <0.8.0;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
abstract contract ERC165 is IERC165 {
    /*
     * bytes4(keccak256('supportsInterface(bytes4)')) == 0x01ffc9a7
     */
    bytes4 private constant _INTERFACE_ID_ERC165 = 0x01ffc9a7;

    /**
     * @dev Mapping of interface ids to whether or not it's supported.
     */
    mapping(bytes4 => bool) private _supportedInterfaces;

    constructor () internal {
        // Derived contracts need only register support for their own interfaces,
        // we register support for ERC165 itself here
        _registerInterface(_INTERFACE_ID_ERC165);
    }

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
        return _supportedInterfaces[interfaceId];
    }

    /**
     * @dev Registers the contract as an implementer of the interface defined by
     * `interfaceId`. Support of the actual ERC165 interface is automatic and
     * registering its interface id is not required.
     *
     * See {IERC165-supportsInterface}.
     *
     * Requirements:
     *
     * - `interfaceId` cannot be the ERC165 invalid interface (`0xffffffff`).
     */
    function _registerInterface(bytes4 interfaceId) internal virtual {
        require(interfaceId != 0xffffffff, "ERC165: invalid interface id");
        _supportedInterfaces[interfaceId] = true;
    }
}

// File: @openzeppelin/contracts/math/SafeMath.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

// File: @openzeppelin/contracts/utils/Address.sol



pragma solidity >=0.6.2 <0.8.0;

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

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

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

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

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

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

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

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

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

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

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

// File: @openzeppelin/contracts/token/ERC1155/ERC1155.sol



pragma solidity >=0.6.0 <0.8.0;








/**
 *
 * @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 SafeMath for uint256;
    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;

    /*
     *     bytes4(keccak256('balanceOf(address,uint256)')) == 0x00fdd58e
     *     bytes4(keccak256('balanceOfBatch(address[],uint256[])')) == 0x4e1273f4
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,uint256,bytes)')) == 0xf242432a
     *     bytes4(keccak256('safeBatchTransferFrom(address,address,uint256[],uint256[],bytes)')) == 0x2eb2c2d6
     *
     *     => 0x00fdd58e ^ 0x4e1273f4 ^ 0xa22cb465 ^
     *        0xe985e9c5 ^ 0xf242432a ^ 0x2eb2c2d6 == 0xd9b67a26
     */
    bytes4 private constant _INTERFACE_ID_ERC1155 = 0xd9b67a26;

    /*
     *     bytes4(keccak256('uri(uint256)')) == 0x0e89341c
     */
    bytes4 private constant _INTERFACE_ID_ERC1155_METADATA_URI = 0x0e89341c;

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

        // register the supported interfaces to conform to ERC1155 via ERC165
        _registerInterface(_INTERFACE_ID_ERC1155);

        // register the supported interfaces to conform to ERC1155MetadataURI via ERC165
        _registerInterface(_INTERFACE_ID_ERC1155_METADATA_URI);
    }

    /**
     * @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) external 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 {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

        _operatorApprovals[_msgSender()][operator] = approved;
        emit ApprovalForAll(_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(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: caller is not owner nor approved"
        );

        address operator = _msgSender();

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

        _balances[id][from] = _balances[id][from].sub(amount, "ERC1155: insufficient balance for transfer");
        _balances[id][to] = _balances[id][to].add(amount);

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

        _doSafeTransferAcceptanceCheck(operator, 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(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");
        require(
            from == _msgSender() || isApprovedForAll(from, _msgSender()),
            "ERC1155: transfer caller is not owner nor approved"
        );

        address operator = _msgSender();

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

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

            _balances[id][from] = _balances[id][from].sub(
                amount,
                "ERC1155: insufficient balance for transfer"
            );
            _balances[id][to] = _balances[id][to].add(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 `account`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - If `account` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function _mint(address account, uint256 id, uint256 amount, bytes memory data) internal virtual {
        require(account != address(0), "ERC1155: mint to the zero address");

        address operator = _msgSender();

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

        _balances[id][account] = _balances[id][account].add(amount);
        emit TransferSingle(operator, address(0), account, id, amount);

        _doSafeTransferAcceptanceCheck(operator, address(0), account, 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 (uint i = 0; i < ids.length; i++) {
            _balances[ids[i]][to] = amounts[i].add(_balances[ids[i]][to]);
        }

        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 `account`
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens of token type `id`.
     */
    function _burn(address account, uint256 id, uint256 amount) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");

        address operator = _msgSender();

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

        _balances[id][account] = _balances[id][account].sub(
            amount,
            "ERC1155: burn amount exceeds balance"
        );

        emit TransferSingle(operator, account, 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 account, uint256[] memory ids, uint256[] memory amounts) internal virtual {
        require(account != address(0), "ERC1155: burn from the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

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

        for (uint i = 0; i < ids.length; i++) {
            _balances[ids[i]][account] = _balances[ids[i]][account].sub(
                amounts[i],
                "ERC1155: burn amount exceeds balance"
            );
        }

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

    /**
     * @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(to).onERC1155Received.selector) {
                    revert("ERC1155: ERC1155Receiver rejected tokens");
                }
            } catch Error(string memory reason) {
                revert(reason);
            } catch {
                revert("ERC1155: transfer to non ERC1155Receiver implementer");
            }
        }
    }

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

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

        return array;
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol



pragma solidity >=0.6.0 <0.8.0;




/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// File: @openzeppelin/contracts/access/Ownable.sol



pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: @openzeppelin/contracts/utils/EnumerableSet.sol



pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

// File: contracts/ZOLock.sol

pragma solidity ^0.6.0;






contract ZOLock is ERC1155,Ownable {
    event LockFor(address indexed operator, address indexed holder, uint256[] unlockTime, uint256[] amount);
    event Unlock(address indexed holder, uint256[] unlockTime, uint256[] amount);
    
    event TransferSwitch(bool indexed allow);
    
    using EnumerableSet for EnumerableSet.UintSet;
    using SafeERC20 for IERC20;

    IERC20 public ZeroOne;
    mapping (address => EnumerableSet.UintSet) internal _holderTokens;
    bool public transferEnable = false;

    function setTransfer(bool allow) external onlyOwner {
        transferEnable = allow;
        emit TransferSwitch(allow);
    }

    constructor(IERC20 zeroone) public ERC1155("") {
        ZeroOne = zeroone;
    }

    function lockForBatch(address holder, uint256[] calldata unlockTimes, uint256[] calldata amounts) external {
        ERC1155._mintBatch(holder, unlockTimes, amounts, bytes(""));
    }
    function lockFor(address holder, uint256 unlockTime, uint256 amount) external {
        ERC1155._mint(holder, unlockTime, amount, bytes(""));
    }
    function unlock(uint256 unlockTime) public {
        address holder = msg.sender;
        uint256 amount = ERC1155.balanceOf(holder, unlockTime);
        ERC1155._burn(holder, unlockTime, amount);
    }
    function unlockBatch() external {
        address holder = msg.sender;
        EnumerableSet.UintSet storage holderToken = _holderTokens[holder];
        uint256 size = holderToken.length();
        uint256[] memory unlockTimes = new uint256[](size);
        uint256[] memory unlockAmounts = new uint256[](size);
        uint256 burnSize;
        for(uint256 i = 0; i < size; i++) { // 如果有很多列表,则该循环可能超时
            uint256 unlockTime = holderToken.at(i);
            if(block.timestamp > unlockTime) {
                unlockTimes[burnSize] = unlockTime;
                unlockAmounts[burnSize] = ERC1155.balanceOf(holder, unlockTime);
                burnSize++;
            }
        }

        uint256[] memory burnIDs = new uint256[](burnSize);
        uint256[] memory burnAmounts = new uint256[](burnSize);
        for(uint256 i = 0; i < burnSize; i++) {
            burnIDs[i] = unlockTimes[i];
            burnAmounts[i] = unlockAmounts[i];
        }
        ERC1155._burnBatch(holder, burnIDs, burnAmounts);
    }
   function _beforeTokenTransfer(
        address operator,
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory // data
    )
        internal
        override
    {
        bool isMint = from == address(0);
        bool isBurn = to == address(0);
        if(!(isMint || isBurn)) { // normal transfer
            require(transferEnable, "transfer paused");
            return;
        }
        address holder = isMint ? to : operator; // from?
        uint256 totalAmount;
        EnumerableSet.UintSet storage holderToken = _holderTokens[holder];
        for(uint256 i = 0; i < ids.length; i++) {
            uint256 unlockTime = ids[i];
            uint256 unlockAmount = amounts[i];
            totalAmount += unlockAmount;
            if(isMint) { // mint
                require(block.timestamp < unlockTime, "wrong time!");
                holderToken.add(unlockTime);
            } else { // burn
                require(block.timestamp > unlockTime, "too early");
                uint256 balance = ERC1155.balanceOf(holder, unlockTime);
                if(balance == unlockAmount) holderToken.remove(unlockTime);
            }
        }
        require(totalAmount > 0, "avaliable is zero");
        if(isMint) {
            ZeroOne.safeTransferFrom(operator, address(this), totalAmount);
            emit LockFor(operator, holder, ids, amounts);
        } else { 
            ZeroOne.safeTransfer(operator, totalAmount);
            emit Unlock(holder, ids, amounts);
        }
    }
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes memory data
    ) public override {
        ERC1155.safeTransferFrom(from, to, id, amount, data);
    }

    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) public override {
        ERC1155.safeBatchTransferFrom(from, to, ids, amounts, data);
    }

    function lockLength(address holder) view external returns(uint256) {
        return _holderTokens[holder].length();
    }

    function lockAt(address holder, uint256 i) view public returns(uint256 unlockTime, uint256 amount) {
        unlockTime =  _holderTokens[holder].at(i);
        amount = ERC1155.balanceOf(holder, unlockTime);
    }

    function lockDetails(address holder) view external returns(uint256[2][] memory result) {
        uint256 size = _holderTokens[holder].length();
        result = new uint256[2][](size);
        for(uint256 i = 0; i < size; i++) {
            (result[i][0],result[i][1]) = lockAt(holder, i);
        }
    }
}

contract ZOLockW20 is ZOLock {
    constructor(IERC20 zeroone) ZOLock(zeroone) public {}

    string constant public name = "Zero One Token Lock";
    string constant public symbol = "ZOL";
    uint256 constant public decimals = 18;
    function balanceOf(address holder) external view returns(uint256) {
        uint256 size = _holderTokens[holder].length();
        uint256 sum;
        for(uint256 i = 0; i < size; i++) {
            (, uint256 amount) = lockAt(holder, i);
            sum += amount;
        }
        return sum;
    }
    function totalSupply() external view returns(uint256) {
        return ZeroOne.balanceOf(address(this));
    }
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"contract IERC20","name":"zeroone","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"holder","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"unlockTime","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"LockFor","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","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":true,"internalType":"bool","name":"allow","type":"bool"}],"name":"TransferSwitch","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"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"holder","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"unlockTime","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"amount","type":"uint256[]"}],"name":"Unlock","type":"event"},{"inputs":[],"name":"ZeroOne","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"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":"holder","type":"address"}],"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":"decimals","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"uint256","name":"i","type":"uint256"}],"name":"lockAt","outputs":[{"internalType":"uint256","name":"unlockTime","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"}],"name":"lockDetails","outputs":[{"internalType":"uint256[2][]","name":"result","type":"uint256[2][]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"uint256","name":"unlockTime","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"lockFor","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"},{"internalType":"uint256[]","name":"unlockTimes","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"}],"name":"lockForBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"holder","type":"address"}],"name":"lockLength","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","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":"bool","name":"allow","type":"bool"}],"name":"setTransfer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"transferEnable","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"unlockTime","type":"uint256"}],"name":"unlock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unlockBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

60806040526000600760006101000a81548160ff0219169083151502179055503480156200002c57600080fd5b5060405162004edc38038062004edc833981810160405260208110156200005257600080fd5b810190808051906020019092919050505080604051806020016040528060008152506200008c6301ffc9a760e01b620001c860201b60201c565b6200009d81620002d160201b60201c565b620000b563d9b67a2660e01b620001c860201b60201c565b620000cd630e89341c60e01b620001c860201b60201c565b506000620000e0620002ed60201b60201c565b905080600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35080600560006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050506200039b565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141562000265576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b8060039080519060200190620002e9929190620002f5565b5050565b600033905090565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200033857805160ff191683800117855562000369565b8280016001018555821562000369579182015b82811115620003685782518255916020019190600101906200034b565b5b5090506200037891906200037c565b5090565b5b80821115620003975760008160009055506001016200037d565b5090565b614b3180620003ab6000396000f3fe608060405234801561001057600080fd5b506004361061018d5760003560e01c80636652f9d6116100de57806395d89b4111610097578063ba0d439111610071578063ba0d439114610c5d578063e985e9c514610c67578063f242432a14610ce1578063f2fde38b14610df05761018d565b806395d89b4114610b5a578063a22cb46514610bdd578063a296b32314610c2d5761018d565b80636652f9d61461094957806370a0823114610a03578063715018a614610a5b57806383e25f8a14610a6557806389619d4214610abd5780638da5cb5b14610b265761018d565b8063242654a21161014b5780634162d388116101255780634162d3881461065857806349efdd4d1461068c5780634e1273f41461077a5780636198e3391461091b5761018d565b8063242654a2146103f75780632eb2c2d614610417578063313ce5671461063a5761018d565b8062fdd58e1461019257806301ffc9a7146101f457806306fdde03146102575780630e89341c146102da578063153915191461038157806318160ddd146103d9575b600080fd5b6101de600480360360408110156101a857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e34565b6040518082815260200191505060405180910390f35b61023f6004803603602081101561020a57600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610f14565b60405180821515815260200191505060405180910390f35b61025f610f7b565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561029f578082015181840152602081019050610284565b50505050905090810190601f1680156102cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610306600480360360208110156102f057600080fd5b8101908080359060200190929190505050610fb4565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561034657808201518184015260208101905061032b565b50505050905090810190601f1680156103735780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103c36004803603602081101561039757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611058565b6040518082815260200191505060405180910390f35b6103e16110a8565b6040518082815260200191505060405180910390f35b6103ff611173565b60405180821515815260200191505060405180910390f35b610638600480360360a081101561042d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561048a57600080fd5b82018360208201111561049c57600080fd5b803590602001918460208302840111640100000000831117156104be57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561051e57600080fd5b82018360208201111561053057600080fd5b8035906020019184602083028401116401000000008311171561055257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803590602001906401000000008111156105b257600080fd5b8201836020820111156105c457600080fd5b803590602001918460018302840111640100000000831117156105e657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611186565b005b61064261119a565b6040518082815260200191505060405180910390f35b61066061119f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610778600480360360608110156106a257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156106df57600080fd5b8201836020820111156106f157600080fd5b8035906020019184602083028401116401000000008311171561071357600080fd5b90919293919293908035906020019064010000000081111561073457600080fd5b82018360208201111561074657600080fd5b8035906020019184602083028401116401000000008311171561076857600080fd5b90919293919293905050506111c5565b005b6108c46004803603604081101561079057600080fd5b81019080803590602001906401000000008111156107ad57600080fd5b8201836020820111156107bf57600080fd5b803590602001918460208302840111640100000000831117156107e157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561084157600080fd5b82018360208201111561085357600080fd5b8035906020019184602083028401116401000000008311171561087557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050611269565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156109075780820151818401526020810190506108ec565b505050509050019250505060405180910390f35b6109476004803603602081101561093157600080fd5b810190808035906020019092919050505061137b565b005b61098b6004803603602081101561095f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061139e565b60405180806020018281038252838181518152602001915080516000925b818410156109f25782846020026020010151600260200280838360005b838110156109e15780820151818401526020810190506109c6565b5050505090500192600101926109a9565b925050509250505060405180910390f35b610a4560048036036020811015610a1957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114ba565b6040518082815260200191505060405180910390f35b610a63611543565b005b610abb60048036036060811015610a7b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291905050506116b3565b005b610b0960048036036040811015610ad357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506116d3565b604051808381526020018281526020019250505060405180910390f35b610b2e61173c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610b62611766565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ba2578082015181840152602081019050610b87565b50505050905090810190601f168015610bcf5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c2b60048036036040811015610bf357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061179f565b005b610c5b60048036036020811015610c4357600080fd5b81019080803515159060200190929190505050611938565b005b610c65611a33565b005b610cc960048036036040811015610c7d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cbc565b60405180821515815260200191505060405180910390f35b610dee600480360360a0811015610cf757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190640100000000811115610d6857600080fd5b820183602082011115610d7a57600080fd5b80359060200191846001830284011164010000000083111715610d9c57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611d50565b005b610e3260048036036020811015610e0657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d64565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ebb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806148cf602b913960400191505060405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6040518060400160405280601381526020017f5a65726f204f6e6520546f6b656e204c6f636b0000000000000000000000000081525081565b606060038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561104c5780601f106110215761010080835404028352916020019161104c565b820191906000526020600020905b81548152906001019060200180831161102f57829003601f168201915b50505050509050919050565b60006110a1600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611f59565b9050919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561113357600080fd5b505afa158015611147573d6000803e3d6000fd5b505050506040513d602081101561115d57600080fd5b8101908080519060200190929190505050905090565b600760009054906101000a900460ff1681565b6111938585858585611f6e565b5050505050565b601281565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61126285858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050604051806020016040528060008152506123f9565b5050505050565b606081518351146112c5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614a8a6029913960400191505060405180910390fd5b6060835167ffffffffffffffff811180156112df57600080fd5b5060405190808252806020026020018201604052801561130e5781602001602082028036833780820191505090505b50905060005b84518110156113705761134d85828151811061132c57fe5b602002602001015185838151811061134057fe5b6020026020010151610e34565b82828151811061135957fe5b602002602001018181525050806001019050611314565b508091505092915050565b6000339050600061138c8284610e34565b905061139982848361271b565b505050565b606060006113e9600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611f59565b90508067ffffffffffffffff8111801561140257600080fd5b5060405190808252806020026020018201604052801561143c57816020015b61142961475a565b8152602001906001900390816114215790505b50915060005b818110156114b35761145484826116d3565b84838151811061146057fe5b602002602001015160006002811061147457fe5b6020020185848151811061148457fe5b602002602001015160016002811061149857fe5b60200201828152508281525050508080600101915050611442565b5050919050565b600080611504600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611f59565b9050600080600090505b8281101561153857600061152286836116d3565b915050808301925050808060010191505061150e565b508092505050919050565b61154b612937565b73ffffffffffffffffffffffffffffffffffffffff1661156961173c565b73ffffffffffffffffffffffffffffffffffffffff16146115f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6116ce8383836040518060200160405280600081525061293f565b505050565b60008061172783600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612b4290919063ffffffff16565b91506117338483610e34565b90509250929050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040518060400160405280600381526020017f5a4f4c000000000000000000000000000000000000000000000000000000000081525081565b8173ffffffffffffffffffffffffffffffffffffffff166117be612937565b73ffffffffffffffffffffffffffffffffffffffff16141561182b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614a376029913960400191505060405180910390fd5b8060026000611838612937565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118e5612937565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b611940612937565b73ffffffffffffffffffffffffffffffffffffffff1661195e61173c565b73ffffffffffffffffffffffffffffffffffffffff16146119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600760006101000a81548160ff0219169083151502179055508015157f8d333e6e840124efac80e358b7cef05e16bcfe40c8a8270509e03b837c363c8260405160405180910390a250565b60003390506000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000611a8682611f59565b905060608167ffffffffffffffff81118015611aa157600080fd5b50604051908082528060200260200182016040528015611ad05781602001602082028036833780820191505090505b50905060608267ffffffffffffffff81118015611aec57600080fd5b50604051908082528060200260200182016040528015611b1b5781602001602082028036833780820191505090505b509050600080600090505b84811015611b9f576000611b438288612b4290919063ffffffff16565b905080421115611b915780858481518110611b5a57fe5b602002602001018181525050611b708882610e34565b848481518110611b7c57fe5b60200260200101818152505082806001019350505b508080600101915050611b26565b5060608167ffffffffffffffff81118015611bb957600080fd5b50604051908082528060200260200182016040528015611be85781602001602082028036833780820191505090505b50905060608267ffffffffffffffff81118015611c0457600080fd5b50604051908082528060200260200182016040528015611c335781602001602082028036833780820191505090505b50905060005b83811015611ca657858181518110611c4d57fe5b6020026020010151838281518110611c6157fe5b602002602001018181525050848181518110611c7957fe5b6020026020010151828281518110611c8d57fe5b6020026020010181815250508080600101915050611c39565b50611cb2888383612b5c565b5050505050505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d5d8585858585612e97565b5050505050565b611d6c612937565b73ffffffffffffffffffffffffffffffffffffffff16611d8a61173c565b73ffffffffffffffffffffffffffffffffffffffff1614611e13576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e99576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806148fa6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000611f678260000161320c565b9050919050565b8151835114611fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180614ab36028913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561204e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806149936025913960400191505060405180910390fd5b612056612937565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061209c575061209b85612096612937565b611cbc565b5b6120f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806149b86032913960400191505060405180910390fd5b60006120fb612937565b905061210b81878787878761321d565b60005b84518110156122dc57600085828151811061212557fe5b60200260200101519050600085838151811061213d57fe5b602002602001015190506121c4816040518060600160405280602a8152602001614a0d602a91396001600086815260200190815260200160002060008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546137e89092919063ffffffff16565b6001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061227b816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546138a290919063ffffffff16565b6001600084815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505080600101905061210e565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561238c578082015181840152602081019050612371565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156123ce5780820151818401526020810190506123b3565b5050505090500194505050505060405180910390a46123f181878787878761392a565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561247f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614adb6021913960400191505060405180910390fd5b81518351146124d9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180614ab36028913960400191505060405180910390fd5b60006124e3612937565b90506124f48160008787878761321d565b60005b84518110156125fd576125896001600087848151811061251357fe5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485838151811061257357fe5b60200260200101516138a290919063ffffffff16565b6001600087848151811061259957fe5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806001019150506124f7565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156126ae578082015181840152602081019050612693565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156126f05780820151818401526020810190506126d5565b5050505090500194505050505060405180910390a46127148160008787878761392a565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806149ea6023913960400191505060405180910390fd5b60006127ab612937565b90506127db818560006127bd87613cb9565b6127c687613cb9565b6040518060200160405280600081525061321d565b61285882604051806060016040528060248152602001614920602491396001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546137e89092919063ffffffff16565b6001600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628686604051808381526020018281526020019250505060405180910390a450505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129c5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614adb6021913960400191505060405180910390fd5b60006129cf612937565b90506129f0816000876129e188613cb9565b6129ea88613cb9565b8761321d565b612a53836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546138a290919063ffffffff16565b6001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a4612b3b81600087878787613d29565b5050505050565b6000612b518360000183614036565b60001c905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612be2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806149ea6023913960400191505060405180910390fd5b8051825114612c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180614ab36028913960400191505060405180910390fd5b6000612c46612937565b9050612c668185600086866040518060200160405280600081525061321d565b60005b8351811015612d8957612d15838281518110612c8157fe5b60200260200101516040518060600160405280602481526020016149206024913960016000888681518110612cb257fe5b6020026020010151815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546137e89092919063ffffffff16565b60016000868481518110612d2557fe5b6020026020010151815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080600101915050612c69565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015612e3a578082015181840152602081019050612e1f565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015612e7c578082015181840152602081019050612e61565b5050505090500194505050505060405180910390a450505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f1d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806149936025913960400191505060405180910390fd5b612f25612937565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480612f6b5750612f6a85612f65612937565b611cbc565b5b612fc0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806149446029913960400191505060405180910390fd5b6000612fca612937565b9050612fea818787612fdb88613cb9565b612fe488613cb9565b8761321d565b613067836040518060600160405280602a8152602001614a0d602a91396001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546137e89092919063ffffffff16565b6001600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061311e836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546138a290919063ffffffff16565b6001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a4613204818787878787613d29565b505050505050565b600081600001805490509050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905060008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16149050818061328c5750805b61331957600760009054906101000a900460ff16613312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f7472616e7366657220706175736564000000000000000000000000000000000081525060200191505060405180910390fd5b50506137e0565b6000826133265788613328565b865b9050600080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060005b88518110156134f457600089828151811061338857fe5b6020026020010151905060008983815181106133a057fe5b60200260200101519050808501945087156134435781421061342a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f77726f6e672074696d652100000000000000000000000000000000000000000081525060200191505060405180910390fd5b61343d82856140b990919063ffffffff16565b506134e5565b8142116134b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f746f6f206561726c79000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006134c48784610e34565b9050818114156134e3576134e183866140d390919063ffffffff16565b505b505b50508080600101915050613371565b506000821161356b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f6176616c6961626c65206973207a65726f00000000000000000000000000000081525060200191505060405180910390fd5b84156136b4576135c08b3084600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140ed909392919063ffffffff16565b8273ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff167ff3ef065f168fbf598fcfe4952730c72b335968a7723b65331348cd03e186e4258a8a604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561365857808201518184015260208101905061363d565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561369a57808201518184015260208101905061367f565b5050505090500194505050505060405180910390a36137da565b6137018b83600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166141ae9092919063ffffffff16565b8273ffffffffffffffffffffffffffffffffffffffff167f0aa6fa0542fe07da3dc54578c45193dd2f215d26f0e4386a3141058a33329b738989604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015613782578082015181840152602081019050613767565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156137c45780820151818401526020810190506137a9565b5050505090500194505050505060405180910390a25b50505050505b505050505050565b6000838311158290613895576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561385a57808201518184015260208101905061383f565b50505050905090810190601f1680156138875780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b600080828401905083811015613920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6139498473ffffffffffffffffffffffffffffffffffffffff16614250565b15613cb1578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b83811015613a015780820151818401526020810190506139e6565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015613a43578082015181840152602081019050613a28565b50505050905001848103825285818151815260200191508051906020019080838360005b83811015613a82578082015181840152602081019050613a67565b50505050905090810190601f168015613aaf5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015613ad457600080fd5b505af1925050508015613b0857506040513d6020811015613af457600080fd5b810190808051906020019092919050505060015b613c1257613b1461479a565b80613b1f5750613bc1565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613b86578082015181840152602081019050613b6b565b50505050905090810190601f168015613bb35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806148516034913960400191505060405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613caf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806148a76028913960400191505060405180910390fd5b505b505050505050565b606080600167ffffffffffffffff81118015613cd457600080fd5b50604051908082528060200260200182016040528015613d035781602001602082028036833780820191505090505b5090508281600081518110613d1457fe5b60200260200101818152505080915050919050565b613d488473ffffffffffffffffffffffffffffffffffffffff16614250565b1561402e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015613e01578082015181840152602081019050613de6565b50505050905090810190601f168015613e2e5780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b158015613e5157600080fd5b505af1925050508015613e8557506040513d6020811015613e7157600080fd5b810190808051906020019092919050505060015b613f8f57613e9161479a565b80613e9c5750613f3e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613f03578082015181840152602081019050613ee8565b50505050905090810190601f168015613f305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806148516034913960400191505060405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461402c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806148a76028913960400191505060405180910390fd5b505b505050505050565b600081836000018054905011614097576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806148856022913960400191505060405180910390fd5b8260000182815481106140a657fe5b9060005260206000200154905092915050565b60006140cb836000018360001b614263565b905092915050565b60006140e5836000018360001b6142d3565b905092915050565b6141a8846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506143bb565b50505050565b61424b8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506143bb565b505050565b600080823b905060008111915050919050565b600061426f83836144aa565b6142c85782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506142cd565b600090505b92915050565b600080836001016000848152602001908152602001600020549050600081146143af576000600182039050600060018660000180549050039050600086600001828154811061431e57fe5b906000526020600020015490508087600001848154811061433b57fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061437357fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506143b5565b60009150505b92915050565b606061441d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166144cd9092919063ffffffff16565b90506000815111156144a55780806020019051602081101561443e57600080fd5b81019080805190602001909291905050506144a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614a60602a913960400191505060405180910390fd5b5b505050565b600080836001016000848152602001908152602001600020541415905092915050565b60606144dc84846000856144e5565b90509392505050565b606082471015614540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061496d6026913960400191505060405180910390fd5b61454985614250565b6145bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061460b57805182526020820191506020810190506020830392506145e8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461466d576040519150601f19603f3d011682016040523d82523d6000602084013e614672565b606091505b509150915061468282828661468e565b92505050949350505050565b6060831561469e57829050614753565b6000835111156146b15782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156147185780820151818401526020810190506146fd565b50505050905090810190601f1680156147455780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b6040518060400160405280600290602082028036833780820191505090505090565b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d10156147aa5761484d565b60046000803e6147bb60005161478d565b6308c379a081146147cc575061484d565b60405160043d036004823e80513d602482011167ffffffffffffffff821117156147f85750505061484d565b808201805167ffffffffffffffff81111561481757505050505061484d565b8060208301013d85018111156148325750505050505061484d565b61483b8261477c565b60208401016040528296505050505050505b9056fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e73455243313135353a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373455243313135353a206275726e20616d6f756e7420657863656564732062616c616e6365455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243313135353a206275726e2066726f6d20746865207a65726f2061646472657373455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c665361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564455243313135353a206163636f756e747320616e6420696473206c656e677468206d69736d61746368455243313135353a2069647320616e6420616d6f756e7473206c656e677468206d69736d61746368455243313135353a206d696e7420746f20746865207a65726f2061646472657373a2646970667358221220c449afe9e4910a476a37420f4ec4bcb751a3e5c308b10e889a653552140d66ee64736f6c634300060c00330000000000000000000000003b808db06074e1bae5dfe0d970dc7b891ee26cac

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061018d5760003560e01c80636652f9d6116100de57806395d89b4111610097578063ba0d439111610071578063ba0d439114610c5d578063e985e9c514610c67578063f242432a14610ce1578063f2fde38b14610df05761018d565b806395d89b4114610b5a578063a22cb46514610bdd578063a296b32314610c2d5761018d565b80636652f9d61461094957806370a0823114610a03578063715018a614610a5b57806383e25f8a14610a6557806389619d4214610abd5780638da5cb5b14610b265761018d565b8063242654a21161014b5780634162d388116101255780634162d3881461065857806349efdd4d1461068c5780634e1273f41461077a5780636198e3391461091b5761018d565b8063242654a2146103f75780632eb2c2d614610417578063313ce5671461063a5761018d565b8062fdd58e1461019257806301ffc9a7146101f457806306fdde03146102575780630e89341c146102da578063153915191461038157806318160ddd146103d9575b600080fd5b6101de600480360360408110156101a857600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610e34565b6040518082815260200191505060405180910390f35b61023f6004803603602081101561020a57600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610f14565b60405180821515815260200191505060405180910390f35b61025f610f7b565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561029f578082015181840152602081019050610284565b50505050905090810190601f1680156102cc5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610306600480360360208110156102f057600080fd5b8101908080359060200190929190505050610fb4565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561034657808201518184015260208101905061032b565b50505050905090810190601f1680156103735780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103c36004803603602081101561039757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611058565b6040518082815260200191505060405180910390f35b6103e16110a8565b6040518082815260200191505060405180910390f35b6103ff611173565b60405180821515815260200191505060405180910390f35b610638600480360360a081101561042d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019064010000000081111561048a57600080fd5b82018360208201111561049c57600080fd5b803590602001918460208302840111640100000000831117156104be57600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561051e57600080fd5b82018360208201111561053057600080fd5b8035906020019184602083028401116401000000008311171561055257600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290803590602001906401000000008111156105b257600080fd5b8201836020820111156105c457600080fd5b803590602001918460018302840111640100000000831117156105e657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611186565b005b61064261119a565b6040518082815260200191505060405180910390f35b61066061119f565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610778600480360360608110156106a257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001906401000000008111156106df57600080fd5b8201836020820111156106f157600080fd5b8035906020019184602083028401116401000000008311171561071357600080fd5b90919293919293908035906020019064010000000081111561073457600080fd5b82018360208201111561074657600080fd5b8035906020019184602083028401116401000000008311171561076857600080fd5b90919293919293905050506111c5565b005b6108c46004803603604081101561079057600080fd5b81019080803590602001906401000000008111156107ad57600080fd5b8201836020820111156107bf57600080fd5b803590602001918460208302840111640100000000831117156107e157600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f8201169050808301925050505050505091929192908035906020019064010000000081111561084157600080fd5b82018360208201111561085357600080fd5b8035906020019184602083028401116401000000008311171561087557600080fd5b919080806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f820116905080830192505050505050509192919290505050611269565b6040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156109075780820151818401526020810190506108ec565b505050509050019250505060405180910390f35b6109476004803603602081101561093157600080fd5b810190808035906020019092919050505061137b565b005b61098b6004803603602081101561095f57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919050505061139e565b60405180806020018281038252838181518152602001915080516000925b818410156109f25782846020026020010151600260200280838360005b838110156109e15780820151818401526020810190506109c6565b5050505090500192600101926109a9565b925050509250505060405180910390f35b610a4560048036036020811015610a1957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506114ba565b6040518082815260200191505060405180910390f35b610a63611543565b005b610abb60048036036060811015610a7b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190803590602001909291905050506116b3565b005b610b0960048036036040811015610ad357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291905050506116d3565b604051808381526020018281526020019250505060405180910390f35b610b2e61173c565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b610b62611766565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610ba2578082015181840152602081019050610b87565b50505050905090810190601f168015610bcf5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c2b60048036036040811015610bf357600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080351515906020019092919050505061179f565b005b610c5b60048036036020811015610c4357600080fd5b81019080803515159060200190929190505050611938565b005b610c65611a33565b005b610cc960048036036040811015610c7d57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611cbc565b60405180821515815260200191505060405180910390f35b610dee600480360360a0811015610cf757600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803590602001909291908035906020019092919080359060200190640100000000811115610d6857600080fd5b820183602082011115610d7a57600080fd5b80359060200191846001830284011164010000000083111715610d9c57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f820116905080830192505050505050509192919290505050611d50565b005b610e3260048036036020811015610e0657600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611d64565b005b60008073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610ebb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806148cf602b913960400191505060405180910390fd5b6001600083815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002054905092915050565b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b6040518060400160405280601381526020017f5a65726f204f6e6520546f6b656e204c6f636b0000000000000000000000000081525081565b606060038054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561104c5780601f106110215761010080835404028352916020019161104c565b820191906000526020600020905b81548152906001019060200180831161102f57829003601f168201915b50505050509050919050565b60006110a1600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611f59565b9050919050565b6000600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166370a08231306040518263ffffffff1660e01b8152600401808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060206040518083038186803b15801561113357600080fd5b505afa158015611147573d6000803e3d6000fd5b505050506040513d602081101561115d57600080fd5b8101908080519060200190929190505050905090565b600760009054906101000a900460ff1681565b6111938585858585611f6e565b5050505050565b601281565b600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1681565b61126285858580806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050848480806020026020016040519081016040528093929190818152602001838360200280828437600081840152601f19601f82011690508083019250505050505050604051806020016040528060008152506123f9565b5050505050565b606081518351146112c5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614a8a6029913960400191505060405180910390fd5b6060835167ffffffffffffffff811180156112df57600080fd5b5060405190808252806020026020018201604052801561130e5781602001602082028036833780820191505090505b50905060005b84518110156113705761134d85828151811061132c57fe5b602002602001015185838151811061134057fe5b6020026020010151610e34565b82828151811061135957fe5b602002602001018181525050806001019050611314565b508091505092915050565b6000339050600061138c8284610e34565b905061139982848361271b565b505050565b606060006113e9600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611f59565b90508067ffffffffffffffff8111801561140257600080fd5b5060405190808252806020026020018201604052801561143c57816020015b61142961475a565b8152602001906001900390816114215790505b50915060005b818110156114b35761145484826116d3565b84838151811061146057fe5b602002602001015160006002811061147457fe5b6020020185848151811061148457fe5b602002602001015160016002811061149857fe5b60200201828152508281525050508080600101915050611442565b5050919050565b600080611504600660008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611f59565b9050600080600090505b8281101561153857600061152286836116d3565b915050808301925050808060010191505061150e565b508092505050919050565b61154b612937565b73ffffffffffffffffffffffffffffffffffffffff1661156961173c565b73ffffffffffffffffffffffffffffffffffffffff16146115f2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6116ce8383836040518060200160405280600081525061293f565b505050565b60008061172783600660008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020612b4290919063ffffffff16565b91506117338483610e34565b90509250929050565b6000600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b6040518060400160405280600381526020017f5a4f4c000000000000000000000000000000000000000000000000000000000081525081565b8173ffffffffffffffffffffffffffffffffffffffff166117be612937565b73ffffffffffffffffffffffffffffffffffffffff16141561182b576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526029815260200180614a376029913960400191505060405180910390fd5b8060026000611838612937565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff166118e5612937565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b611940612937565b73ffffffffffffffffffffffffffffffffffffffff1661195e61173c565b73ffffffffffffffffffffffffffffffffffffffff16146119e7576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b80600760006101000a81548160ff0219169083151502179055508015157f8d333e6e840124efac80e358b7cef05e16bcfe40c8a8270509e03b837c363c8260405160405180910390a250565b60003390506000600660008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002090506000611a8682611f59565b905060608167ffffffffffffffff81118015611aa157600080fd5b50604051908082528060200260200182016040528015611ad05781602001602082028036833780820191505090505b50905060608267ffffffffffffffff81118015611aec57600080fd5b50604051908082528060200260200182016040528015611b1b5781602001602082028036833780820191505090505b509050600080600090505b84811015611b9f576000611b438288612b4290919063ffffffff16565b905080421115611b915780858481518110611b5a57fe5b602002602001018181525050611b708882610e34565b848481518110611b7c57fe5b60200260200101818152505082806001019350505b508080600101915050611b26565b5060608167ffffffffffffffff81118015611bb957600080fd5b50604051908082528060200260200182016040528015611be85781602001602082028036833780820191505090505b50905060608267ffffffffffffffff81118015611c0457600080fd5b50604051908082528060200260200182016040528015611c335781602001602082028036833780820191505090505b50905060005b83811015611ca657858181518110611c4d57fe5b6020026020010151838281518110611c6157fe5b602002602001018181525050848181518110611c7957fe5b6020026020010151828281518110611c8d57fe5b6020026020010181815250508080600101915050611c39565b50611cb2888383612b5c565b5050505050505050565b6000600260008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611d5d8585858585612e97565b5050505050565b611d6c612937565b73ffffffffffffffffffffffffffffffffffffffff16611d8a61173c565b73ffffffffffffffffffffffffffffffffffffffff1614611e13576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657281525060200191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415611e99576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806148fa6026913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600460009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600460006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b6000611f678260000161320c565b9050919050565b8151835114611fc8576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180614ab36028913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561204e576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806149936025913960400191505060405180910390fd5b612056612937565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff16148061209c575061209b85612096612937565b611cbc565b5b6120f1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806149b86032913960400191505060405180910390fd5b60006120fb612937565b905061210b81878787878761321d565b60005b84518110156122dc57600085828151811061212557fe5b60200260200101519050600085838151811061213d57fe5b602002602001015190506121c4816040518060600160405280602a8152602001614a0d602a91396001600086815260200190815260200160002060008d73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546137e89092919063ffffffff16565b6001600084815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061227b816001600085815260200190815260200160002060008b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546138a290919063ffffffff16565b6001600084815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550505080600101905061210e565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561238c578082015181840152602081019050612371565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156123ce5780820151818401526020810190506123b3565b5050505090500194505050505060405180910390a46123f181878787878761392a565b505050505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff16141561247f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614adb6021913960400191505060405180910390fd5b81518351146124d9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180614ab36028913960400191505060405180910390fd5b60006124e3612937565b90506124f48160008787878761321d565b60005b84518110156125fd576125896001600087848151811061251357fe5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000205485838151811061257357fe5b60200260200101516138a290919063ffffffff16565b6001600087848151811061259957fe5b6020026020010151815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555080806001019150506124f7565b508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8787604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b838110156126ae578082015181840152602081019050612693565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156126f05780820151818401526020810190506126d5565b5050505090500194505050505060405180910390a46127148160008787878761392a565b5050505050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff1614156127a1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806149ea6023913960400191505060405180910390fd5b60006127ab612937565b90506127db818560006127bd87613cb9565b6127c687613cb9565b6040518060200160405280600081525061321d565b61285882604051806060016040528060248152602001614920602491396001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546137e89092919063ffffffff16565b6001600085815260200190815260200160002060008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002081905550600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628686604051808381526020018281526020019250505060405180910390a450505050565b600033905090565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614156129c5576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180614adb6021913960400191505060405180910390fd5b60006129cf612937565b90506129f0816000876129e188613cb9565b6129ea88613cb9565b8761321d565b612a53836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546138a290919063ffffffff16565b6001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a4612b3b81600087878787613d29565b5050505050565b6000612b518360000183614036565b60001c905092915050565b600073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415612be2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806149ea6023913960400191505060405180910390fd5b8051825114612c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526028815260200180614ab36028913960400191505060405180910390fd5b6000612c46612937565b9050612c668185600086866040518060200160405280600081525061321d565b60005b8351811015612d8957612d15838281518110612c8157fe5b60200260200101516040518060600160405280602481526020016149206024913960016000888681518110612cb257fe5b6020026020010151815260200190815260200160002060008973ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546137e89092919063ffffffff16565b60016000868481518110612d2557fe5b6020026020010151815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508080600101915050612c69565b50600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb8686604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015612e3a578082015181840152602081019050612e1f565b50505050905001838103825284818151815260200191508051906020019060200280838360005b83811015612e7c578082015181840152602081019050612e61565b5050505090500194505050505060405180910390a450505050565b600073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161415612f1d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260258152602001806149936025913960400191505060405180910390fd5b612f25612937565b73ffffffffffffffffffffffffffffffffffffffff168573ffffffffffffffffffffffffffffffffffffffff161480612f6b5750612f6a85612f65612937565b611cbc565b5b612fc0576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806149446029913960400191505060405180910390fd5b6000612fca612937565b9050612fea818787612fdb88613cb9565b612fe488613cb9565b8761321d565b613067836040518060600160405280602a8152602001614a0d602a91396001600088815260200190815260200160002060008a73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546137e89092919063ffffffff16565b6001600086815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000208190555061311e836001600087815260200190815260200160002060008873ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020546138a290919063ffffffff16565b6001600086815260200190815260200160002060008773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020819055508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f628787604051808381526020018281526020019250505060405180910390a4613204818787878787613d29565b505050505050565b600081600001805490509050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff1614905060008073ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff16149050818061328c5750805b61331957600760009054906101000a900460ff16613312576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600f8152602001807f7472616e7366657220706175736564000000000000000000000000000000000081525060200191505060405180910390fd5b50506137e0565b6000826133265788613328565b865b9050600080600660008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020905060005b88518110156134f457600089828151811061338857fe5b6020026020010151905060008983815181106133a057fe5b60200260200101519050808501945087156134435781421061342a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252600b8152602001807f77726f6e672074696d652100000000000000000000000000000000000000000081525060200191505060405180910390fd5b61343d82856140b990919063ffffffff16565b506134e5565b8142116134b8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260098152602001807f746f6f206561726c79000000000000000000000000000000000000000000000081525060200191505060405180910390fd5b60006134c48784610e34565b9050818114156134e3576134e183866140d390919063ffffffff16565b505b505b50508080600101915050613371565b506000821161356b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f6176616c6961626c65206973207a65726f00000000000000000000000000000081525060200191505060405180910390fd5b84156136b4576135c08b3084600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166140ed909392919063ffffffff16565b8273ffffffffffffffffffffffffffffffffffffffff168b73ffffffffffffffffffffffffffffffffffffffff167ff3ef065f168fbf598fcfe4952730c72b335968a7723b65331348cd03e186e4258a8a604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b8381101561365857808201518184015260208101905061363d565b50505050905001838103825284818151815260200191508051906020019060200280838360005b8381101561369a57808201518184015260208101905061367f565b5050505090500194505050505060405180910390a36137da565b6137018b83600560009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff166141ae9092919063ffffffff16565b8273ffffffffffffffffffffffffffffffffffffffff167f0aa6fa0542fe07da3dc54578c45193dd2f215d26f0e4386a3141058a33329b738989604051808060200180602001838103835285818151815260200191508051906020019060200280838360005b83811015613782578082015181840152602081019050613767565b50505050905001838103825284818151815260200191508051906020019060200280838360005b838110156137c45780820151818401526020810190506137a9565b5050505090500194505050505060405180910390a25b50505050505b505050505050565b6000838311158290613895576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561385a57808201518184015260208101905061383f565b50505050905090810190601f1680156138875780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b5082840390509392505050565b600080828401905083811015613920576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601b8152602001807f536166654d6174683a206164646974696f6e206f766572666c6f77000000000081525060200191505060405180910390fd5b8091505092915050565b6139498473ffffffffffffffffffffffffffffffffffffffff16614250565b15613cb1578373ffffffffffffffffffffffffffffffffffffffff1663bc197c8187878686866040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff168152602001806020018060200180602001848103845287818151815260200191508051906020019060200280838360005b83811015613a015780820151818401526020810190506139e6565b50505050905001848103835286818151815260200191508051906020019060200280838360005b83811015613a43578082015181840152602081019050613a28565b50505050905001848103825285818151815260200191508051906020019080838360005b83811015613a82578082015181840152602081019050613a67565b50505050905090810190601f168015613aaf5780820380516001836020036101000a031916815260200191505b5098505050505050505050602060405180830381600087803b158015613ad457600080fd5b505af1925050508015613b0857506040513d6020811015613af457600080fd5b810190808051906020019092919050505060015b613c1257613b1461479a565b80613b1f5750613bc1565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613b86578082015181840152602081019050613b6b565b50505050905090810190601f168015613bb35780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806148516034913960400191505060405180910390fd5b63bc197c8160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614613caf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806148a76028913960400191505060405180910390fd5b505b505050505050565b606080600167ffffffffffffffff81118015613cd457600080fd5b50604051908082528060200260200182016040528015613d035781602001602082028036833780820191505090505b5090508281600081518110613d1457fe5b60200260200101818152505080915050919050565b613d488473ffffffffffffffffffffffffffffffffffffffff16614250565b1561402e578373ffffffffffffffffffffffffffffffffffffffff1663f23a6e6187878686866040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815260200184815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015613e01578082015181840152602081019050613de6565b50505050905090810190601f168015613e2e5780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b158015613e5157600080fd5b505af1925050508015613e8557506040513d6020811015613e7157600080fd5b810190808051906020019092919050505060015b613f8f57613e9161479a565b80613e9c5750613f3e565b806040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015613f03578082015181840152602081019050613ee8565b50505050905090810190601f168015613f305780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260348152602001806148516034913960400191505060405180910390fd5b63f23a6e6160e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19161461402c576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260288152602001806148a76028913960400191505060405180910390fd5b505b505050505050565b600081836000018054905011614097576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806148856022913960400191505060405180910390fd5b8260000182815481106140a657fe5b9060005260206000200154905092915050565b60006140cb836000018360001b614263565b905092915050565b60006140e5836000018360001b6142d3565b905092915050565b6141a8846323b872dd60e01b858585604051602401808473ffffffffffffffffffffffffffffffffffffffff1681526020018373ffffffffffffffffffffffffffffffffffffffff1681526020018281526020019350505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506143bb565b50505050565b61424b8363a9059cbb60e01b8484604051602401808373ffffffffffffffffffffffffffffffffffffffff16815260200182815260200192505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506143bb565b505050565b600080823b905060008111915050919050565b600061426f83836144aa565b6142c85782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506142cd565b600090505b92915050565b600080836001016000848152602001908152602001600020549050600081146143af576000600182039050600060018660000180549050039050600086600001828154811061431e57fe5b906000526020600020015490508087600001848154811061433b57fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061437357fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506143b5565b60009150505b92915050565b606061441d826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c65648152508573ffffffffffffffffffffffffffffffffffffffff166144cd9092919063ffffffff16565b90506000815111156144a55780806020019051602081101561443e57600080fd5b81019080805190602001909291905050506144a4576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a815260200180614a60602a913960400191505060405180910390fd5b5b505050565b600080836001016000848152602001908152602001600020541415905092915050565b60606144dc84846000856144e5565b90509392505050565b606082471015614540576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602681526020018061496d6026913960400191505060405180910390fd5b61454985614250565b6145bb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061460b57805182526020820191506020810190506020830392506145e8565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461466d576040519150601f19603f3d011682016040523d82523d6000602084013e614672565b606091505b509150915061468282828661468e565b92505050949350505050565b6060831561469e57829050614753565b6000835111156146b15782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156147185780820151818401526020810190506146fd565b50505050905090810190601f1680156147455780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b6040518060400160405280600290602082028036833780820191505090505090565b6000601f19601f8301169050919050565b60008160e01c9050919050565b600060443d10156147aa5761484d565b60046000803e6147bb60005161478d565b6308c379a081146147cc575061484d565b60405160043d036004823e80513d602482011167ffffffffffffffff821117156147f85750505061484d565b808201805167ffffffffffffffff81111561481757505050505061484d565b8060208301013d85018111156148325750505050505061484d565b61483b8261477c565b60208401016040528296505050505050505b9056fe455243313135353a207472616e7366657220746f206e6f6e2045524331313535526563656976657220696d706c656d656e746572456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473455243313135353a204552433131353552656365697665722072656a656374656420746f6b656e73455243313135353a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734f776e61626c653a206e6577206f776e657220697320746865207a65726f2061646472657373455243313135353a206275726e20616d6f756e7420657863656564732062616c616e6365455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c455243313135353a207472616e7366657220746f20746865207a65726f2061646472657373455243313135353a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564455243313135353a206275726e2066726f6d20746865207a65726f2061646472657373455243313135353a20696e73756666696369656e742062616c616e636520666f72207472616e73666572455243313135353a2073657474696e6720617070726f76616c2073746174757320666f722073656c665361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564455243313135353a206163636f756e747320616e6420696473206c656e677468206d69736d61746368455243313135353a2069647320616e6420616d6f756e7473206c656e677468206d69736d61746368455243313135353a206d696e7420746f20746865207a65726f2061646472657373a2646970667358221220c449afe9e4910a476a37420f4ec4bcb751a3e5c308b10e889a653552140d66ee64736f6c634300060c0033

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

0000000000000000000000003b808db06074e1bae5dfe0d970dc7b891ee26cac

-----Decoded View---------------
Arg [0] : zeroone (address): 0x3b808Db06074E1bAe5dFE0D970dc7B891EE26Cac

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000003b808db06074e1bae5dfe0d970dc7b891ee26cac


Deployed Bytecode Sourcemap

64472:674:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29044:231;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9922:150;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;64569:51;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28786:107;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63799:123;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;65031:112;;;:::i;:::-;;;;;;;;;;;;;;;;;;;59752:34;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;63521:270;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;64671:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;59652:21;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;60024:185;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29441:549;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60370:206;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;64154:311;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64715:310;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;48931:148;;;:::i;:::-;;60215:149;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;63930:216;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;48280:87;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;64627:37;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30063:311;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;59795:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;60582:1076;;;:::i;:::-;;30446:168;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;63275:238;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;49234:244;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;29044:231;29130:7;29177:1;29158:21;;:7;:21;;;;29150:77;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29245:9;:13;29255:2;29245:13;;;;;;;;;;;:22;29259:7;29245:22;;;;;;;;;;;;;;;;29238:29;;29044:231;;;;:::o;9922:150::-;10007:4;10031:20;:33;10052:11;10031:33;;;;;;;;;;;;;;;;;;;;;;;;;;;10024:40;;9922:150;;;:::o;64569:51::-;;;;;;;;;;;;;;;;;;;:::o;28786:107::-;28848:13;28881:4;28874:11;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28786:107;;;:::o;63799:123::-;63857:7;63884:30;:13;:21;63898:6;63884:21;;;;;;;;;;;;;;;:28;:30::i;:::-;63877:37;;63799:123;;;:::o;65031:112::-;65076:7;65103;;;;;;;;;;;:17;;;65129:4;65103:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65096:39;;65031:112;:::o;59752:34::-;;;;;;;;;;;;;:::o;63521:270::-;63724:59;63754:4;63760:2;63764:3;63769:7;63778:4;63724:29;:59::i;:::-;63521:270;;;;;:::o;64671:37::-;64706:2;64671:37;:::o;59652:21::-;;;;;;;;;;;;;:::o;60024:185::-;60142:59;60161:6;60169:11;;60142:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60182:7;;60142:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60191:9;;;;;;;;;;;;60142:18;:59::i;:::-;60024:185;;;;;:::o;29441:549::-;29622:16;29683:3;:10;29664:8;:15;:29;29656:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29752:30;29799:8;:15;29785:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29752:63;;29833:9;29828:122;29852:8;:15;29848:1;:19;29828:122;;;29908:30;29918:8;29927:1;29918:11;;;;;;;;;;;;;;29931:3;29935:1;29931:6;;;;;;;;;;;;;;29908:9;:30::i;:::-;29889:13;29903:1;29889:16;;;;;;;;;;;;;:49;;;;;29869:3;;;;;29828:122;;;;29969:13;29962:20;;;29441:549;;;;:::o;60370:206::-;60424:14;60441:10;60424:27;;60462:14;60479:37;60497:6;60505:10;60479:17;:37::i;:::-;60462:54;;60527:41;60541:6;60549:10;60561:6;60527:13;:41::i;:::-;60370:206;;;:::o;64154:311::-;64213:26;64252:12;64267:30;:13;:21;64281:6;64267:21;;;;;;;;;;;;;;;:28;:30::i;:::-;64252:45;;64334:4;64317:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;64308:31;;64354:9;64350:108;64373:4;64369:1;:8;64350:108;;;64429:17;64436:6;64444:1;64429:6;:17::i;:::-;64400:6;64407:1;64400:9;;;;;;;;;;;;;;64410:1;64400:12;;;;;;;;;;64413:6;64420:1;64413:9;;;;;;;;;;;;;;64423:1;64413:12;;;;;;;;;;64399:47;;;;;;;;;;64379:3;;;;;;;64350:108;;;;64154:311;;;;:::o;64715:310::-;64772:7;64792:12;64807:30;:13;:21;64821:6;64807:21;;;;;;;;;;;;;;;:28;:30::i;:::-;64792:45;;64848:11;64874:9;64886:1;64874:13;;64870:127;64893:4;64889:1;:8;64870:127;;;64922:14;64940:17;64947:6;64955:1;64940:6;:17::i;:::-;64919:38;;;64979:6;64972:13;;;;64870:127;64899:3;;;;;;;64870:127;;;;65014:3;65007:10;;;;64715:310;;;:::o;48931:148::-;48511:12;:10;:12::i;:::-;48500:23;;:7;:5;:7::i;:::-;:23;;;48492:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49038:1:::1;49001:40;;49022:6;;;;;;;;;;;49001:40;;;;;;;;;;;;49069:1;49052:6;;:19;;;;;;;;;;;;;;;;;;48931:148::o:0;60215:149::-;60304:52;60318:6;60326:10;60338:6;60346:9;;;;;;;;;;;;60304:13;:52::i;:::-;60215:149;;;:::o;63930:216::-;63993:18;64013:14;64054:27;64079:1;64054:13;:21;64068:6;64054:21;;;;;;;;;;;;;;;:24;;:27;;;;:::i;:::-;64040:41;;64101:37;64119:6;64127:10;64101:17;:37::i;:::-;64092:46;;63930:216;;;;;:::o;48280:87::-;48326:7;48353:6;;;;;;;;;;;48346:13;;48280:87;:::o;64627:37::-;;;;;;;;;;;;;;;;;;;:::o;30063:311::-;30182:8;30166:24;;:12;:10;:12::i;:::-;:24;;;;30158:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30294:8;30249:18;:32;30268:12;:10;:12::i;:::-;30249:32;;;;;;;;;;;;;;;:42;30282:8;30249:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;30347:8;30318:48;;30333:12;:10;:12::i;:::-;30318:48;;;30357:8;30318:48;;;;;;;;;;;;;;;;;;;;30063:311;;:::o;59795:130::-;48511:12;:10;:12::i;:::-;48500:23;;:7;:5;:7::i;:::-;:23;;;48492:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59875:5:::1;59858:14;;:22;;;;;;;;;;;;;;;;;;59911:5;59896:21;;;;;;;;;;;;59795:130:::0;:::o;60582:1076::-;60625:14;60642:10;60625:27;;60663:41;60707:13;:21;60721:6;60707:21;;;;;;;;;;;;;;;60663:65;;60739:12;60754:20;:11;:18;:20::i;:::-;60739:35;;60785:28;60830:4;60816:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60785:50;;60846:30;60893:4;60879:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60846:52;;60909:16;60940:9;60952:1;60940:13;;60936:378;60959:4;60955:1;:8;60936:378;;;61037:18;61058:17;61073:1;61058:11;:14;;:17;;;;:::i;:::-;61037:38;;61111:10;61093:15;:28;61090:213;;;61166:10;61142:11;61154:8;61142:21;;;;;;;;;;;;;:34;;;;;61221:37;61239:6;61247:10;61221:17;:37::i;:::-;61195:13;61209:8;61195:23;;;;;;;;;;;;;:63;;;;;61277:10;;;;;;;61090:213;60936:378;60965:3;;;;;;;60936:378;;;;61326:24;61367:8;61353:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61326:50;;61387:28;61432:8;61418:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61387:54;;61456:9;61452:140;61475:8;61471:1;:12;61452:140;;;61518:11;61530:1;61518:14;;;;;;;;;;;;;;61505:7;61513:1;61505:10;;;;;;;;;;;;;:27;;;;;61564:13;61578:1;61564:16;;;;;;;;;;;;;;61547:11;61559:1;61547:14;;;;;;;;;;;;;:33;;;;;61485:3;;;;;;;61452:140;;;;61602:48;61621:6;61629:7;61638:11;61602:18;:48::i;:::-;60582:1076;;;;;;;;:::o;30446:168::-;30545:4;30569:18;:27;30588:7;30569:27;;;;;;;;;;;;;;;:37;30597:8;30569:37;;;;;;;;;;;;;;;;;;;;;;;;;30562:44;;30446:168;;;;:::o;63275:238::-;63453:52;63478:4;63484:2;63488;63492:6;63500:4;63453:24;:52::i;:::-;63275:238;;;;;:::o;49234:244::-;48511:12;:10;:12::i;:::-;48500:23;;:7;:5;:7::i;:::-;:23;;;48492:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49343:1:::1;49323:22;;:8;:22;;;;49315:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49433:8;49404:38;;49425:6;;;;;;;;;;;49404:38;;;;;;;;;;;;49462:8;49453:6;;:17;;;;;;;;;;;;;;;;;;49234:244:::0;:::o;58599:114::-;58659:7;58686:19;58694:3;:10;;58686:7;:19::i;:::-;58679:26;;58599:114;;;:::o;31687:1220::-;31952:7;:14;31938:3;:10;:28;31930:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32044:1;32030:16;;:2;:16;;;;32022:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32129:12;:10;:12::i;:::-;32121:20;;:4;:20;;;:60;;;;32145:36;32162:4;32168:12;:10;:12::i;:::-;32145:16;:36::i;:::-;32121:60;32099:160;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32272:16;32291:12;:10;:12::i;:::-;32272:31;;32316:60;32337:8;32347:4;32353:2;32357:3;32362:7;32371:4;32316:20;:60::i;:::-;32394:9;32389:358;32413:3;:10;32409:1;:14;32389:358;;;32445:10;32458:3;32462:1;32458:6;;;;;;;;;;;;;;32445:19;;32479:14;32496:7;32504:1;32496:10;;;;;;;;;;;;;;32479:27;;32545:126;32587:6;32545:126;;;;;;;;;;;;;;;;;:9;:13;32555:2;32545:13;;;;;;;;;;;:19;32559:4;32545:19;;;;;;;;;;;;;;;;:23;;:126;;;;;:::i;:::-;32523:9;:13;32533:2;32523:13;;;;;;;;;;;:19;32537:4;32523:19;;;;;;;;;;;;;;;:148;;;;32706:29;32728:6;32706:9;:13;32716:2;32706:13;;;;;;;;;;;:17;32720:2;32706:17;;;;;;;;;;;;;;;;:21;;:29;;;;:::i;:::-;32686:9;:13;32696:2;32686:13;;;;;;;;;;;:17;32700:2;32686:17;;;;;;;;;;;;;;;:49;;;;32389:358;;32425:3;;;;;32389:358;;;;32794:2;32764:47;;32788:4;32764:47;;32778:8;32764:47;;;32798:3;32803:7;32764:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;32824:75;32860:8;32870:4;32876:2;32880:3;32885:7;32894:4;32824:35;:75::i;:::-;31687:1220;;;;;;:::o;35179:715::-;35328:1;35314:16;;:2;:16;;;;35306:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35401:7;:14;35387:3;:10;:28;35379:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35473:16;35492:12;:10;:12::i;:::-;35473:31;;35517:66;35538:8;35556:1;35560:2;35564:3;35569:7;35578:4;35517:20;:66::i;:::-;35601:6;35596:126;35617:3;:10;35613:1;:14;35596:126;;;35673:37;35688:9;:17;35698:3;35702:1;35698:6;;;;;;;;;;;;;;35688:17;;;;;;;;;;;:21;35706:2;35688:21;;;;;;;;;;;;;;;;35673:7;35681:1;35673:10;;;;;;;;;;;;;;:14;;:37;;;;:::i;:::-;35649:9;:17;35659:3;35663:1;35659:6;;;;;;;;;;;;;;35649:17;;;;;;;;;;;:21;35667:2;35649:21;;;;;;;;;;;;;;;:61;;;;35629:3;;;;;;;35596:126;;;;35775:2;35739:53;;35771:1;35739:53;;35753:8;35739:53;;;35779:3;35784:7;35739:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;35805:81;35841:8;35859:1;35863:2;35867:3;35872:7;35881:4;35805:35;:81::i;:::-;35179:715;;;;;:::o;36153:551::-;36268:1;36249:21;;:7;:21;;;;36241:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36323:16;36342:12;:10;:12::i;:::-;36323:31;;36367:105;36388:8;36398:7;36415:1;36419:21;36437:2;36419:17;:21::i;:::-;36442:25;36460:6;36442:17;:25::i;:::-;36367:105;;;;;;;;;;;;:20;:105::i;:::-;36510:111;36551:6;36510:111;;;;;;;;;;;;;;;;;:9;:13;36520:2;36510:13;;;;;;;;;;;:22;36524:7;36510:22;;;;;;;;;;;;;;;;:26;;:111;;;;;:::i;:::-;36485:9;:13;36495:2;36485:13;;;;;;;;;;;:22;36499:7;36485:22;;;;;;;;;;;;;;;:136;;;;36681:1;36639:57;;36664:7;36639:57;;36654:8;36639:57;;;36685:2;36689:6;36639:57;;;;;;;;;;;;;;;;;;;;;;;;36153:551;;;;:::o;8564:106::-;8617:15;8652:10;8645:17;;8564:106;:::o;34240:583::-;34374:1;34355:21;;:7;:21;;;;34347:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34427:16;34446:12;:10;:12::i;:::-;34427:31;;34471:107;34492:8;34510:1;34514:7;34523:21;34541:2;34523:17;:21::i;:::-;34546:25;34564:6;34546:17;:25::i;:::-;34573:4;34471:20;:107::i;:::-;34616:34;34643:6;34616:9;:13;34626:2;34616:13;;;;;;;;;;;:22;34630:7;34616:22;;;;;;;;;;;;;;;;:26;;:34;;;;:::i;:::-;34591:9;:13;34601:2;34591:13;;;;;;;;;;;:22;34605:7;34591:22;;;;;;;;;;;;;;;:59;;;;34703:7;34666:57;;34699:1;34666:57;;34681:8;34666:57;;;34712:2;34716:6;34666:57;;;;;;;;;;;;;;;;;;;;;;;;34736:79;34767:8;34785:1;34789:7;34798:2;34802:6;34810:4;34736:30;:79::i;:::-;34240:583;;;;;:::o;59057:137::-;59128:7;59163:22;59167:3;:10;;59179:5;59163:3;:22::i;:::-;59155:31;;59148:38;;59057:137;;;;:::o;36907:721::-;37047:1;37028:21;;:7;:21;;;;37020:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37122:7;:14;37108:3;:10;:28;37100:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37194:16;37213:12;:10;:12::i;:::-;37194:31;;37238:69;37259:8;37269:7;37286:1;37290:3;37295:7;37238:69;;;;;;;;;;;;:20;:69::i;:::-;37325:6;37320:225;37341:3;:10;37337:1;:14;37320:225;;;37402:131;37451:7;37459:1;37451:10;;;;;;;;;;;;;;37402:131;;;;;;;;;;;;;;;;;:9;:17;37412:3;37416:1;37412:6;;;;;;;;;;;;;;37402:17;;;;;;;;;;;:26;37420:7;37402:26;;;;;;;;;;;;;;;;:30;;:131;;;;;:::i;:::-;37373:9;:17;37383:3;37387:1;37383:6;;;;;;;;;;;;;;37373:17;;;;;;;;;;;:26;37391:7;37373:26;;;;;;;;;;;;;;;:160;;;;37353:3;;;;;;;37320:225;;;;37603:1;37562:58;;37586:7;37562:58;;37576:8;37562:58;;;37607:3;37612:7;37562:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36907:721;;;;:::o;30686:924::-;30926:1;30912:16;;:2;:16;;;;30904:66;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31011:12;:10;:12::i;:::-;31003:20;;:4;:20;;;:60;;;;31027:36;31044:4;31050:12;:10;:12::i;:::-;31027:16;:36::i;:::-;31003:60;30981:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31145:16;31164:12;:10;:12::i;:::-;31145:31;;31189:96;31210:8;31220:4;31226:2;31230:21;31248:2;31230:17;:21::i;:::-;31253:25;31271:6;31253:17;:25::i;:::-;31280:4;31189:20;:96::i;:::-;31320:77;31344:6;31320:77;;;;;;;;;;;;;;;;;:9;:13;31330:2;31320:13;;;;;;;;;;;:19;31334:4;31320:19;;;;;;;;;;;;;;;;:23;;:77;;;;;:::i;:::-;31298:9;:13;31308:2;31298:13;;;;;;;;;;;:19;31312:4;31298:19;;;;;;;;;;;;;;;:99;;;;31428:29;31450:6;31428:9;:13;31438:2;31428:13;;;;;;;;;;;:17;31442:2;31428:17;;;;;;;;;;;;;;;;:21;;:29;;;;:::i;:::-;31408:9;:13;31418:2;31408:13;;;;;;;;;;;:17;31422:2;31408:17;;;;;;;;;;;;;;;:49;;;;31506:2;31475:46;;31500:4;31475:46;;31490:8;31475:46;;;31510:2;31514:6;31475:46;;;;;;;;;;;;;;;;;;;;;;;;31534:68;31565:8;31575:4;31581:2;31585;31589:6;31597:4;31534:30;:68::i;:::-;30686:924;;;;;;:::o;53642:109::-;53698:7;53725:3;:11;;:18;;;;53718:25;;53642:109;;;:::o;61663:1606::-;61920:11;61950:1;61934:18;;:4;:18;;;61920:32;;61963:11;61991:1;61977:16;;:2;:16;;;61963:30;;62009:6;:16;;;;62019:6;62009:16;62004:133;;62070:14;;;;;;;;;;;62062:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62119:7;;;;62004:133;62147:14;62164:6;:22;;62178:8;62164:22;;;62173:2;62164:22;62147:39;;62206:19;62236:41;62280:13;:21;62294:6;62280:21;;;;;;;;;;;;;;;62236:65;;62316:9;62312:600;62335:3;:10;62331:1;:14;62312:600;;;62367:18;62388:3;62392:1;62388:6;;;;;;;;;;;;;;62367:27;;62409:20;62432:7;62440:1;62432:10;;;;;;;;;;;;;;62409:33;;62472:12;62457:27;;;;62502:6;62499:402;;;62563:10;62545:15;:28;62537:52;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62608:27;62624:10;62608:11;:15;;:27;;;;:::i;:::-;;62499:402;;;62710:10;62692:15;:28;62684:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62753:15;62771:37;62789:6;62797:10;62771:17;:37::i;:::-;62753:55;;62841:12;62830:7;:23;62827:58;;;62855:30;62874:10;62855:11;:18;;:30;;;;:::i;:::-;;62827:58;62499:402;;62312:600;;62347:3;;;;;;;62312:600;;;;62944:1;62930:11;:15;62922:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62981:6;62978:284;;;63004:62;63029:8;63047:4;63054:11;63004:7;;;;;;;;;;;:24;;;;:62;;;;;;:::i;:::-;63104:6;63086:39;;63094:8;63086:39;;;63112:3;63117:7;63086:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62978:284;;;63159:43;63180:8;63190:11;63159:7;;;;;;;;;;;:20;;;;:43;;;;;:::i;:::-;63229:6;63222:28;;;63237:3;63242:7;63222:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62978:284;61663:1606;;;;;;;;;;;;:::o;16311:166::-;16397:7;16430:1;16425;:6;;16433:12;16417:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;16468:1;16464;:5;16457:12;;16311:166;;;;;:::o;13484:179::-;13542:7;13562:9;13578:1;13574;:5;13562:17;;13603:1;13598;:6;;13590:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;13654:1;13647:8;;;13484:179;;;;:::o;39607:799::-;39861:15;:2;:13;;;:15::i;:::-;39857:542;;;39914:2;39897:43;;;39941:8;39951:4;39957:3;39962:7;39971:4;39897:79;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39893:495;;;;:::i;:::-;;;;;;;;40261:6;40254:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39893:495;40310:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39893:495;40038:52;;;40026:64;;;:8;:64;;;;40022:163;;40115:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40022:163;39977:223;39857:542;39607:799;;;;;;:::o;40414:198::-;40480:16;40509:22;40548:1;40534:16;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40509:41;;40572:7;40561:5;40567:1;40561:8;;;;;;;;;;;;;:18;;;;;40599:5;40592:12;;;40414:198;;;:::o;38837:762::-;39066:15;:2;:13;;;:15::i;:::-;39062:530;;;39119:2;39102:38;;;39141:8;39151:4;39157:2;39161:6;39169:4;39102:72;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39098:483;;;;:::i;:::-;;;;;;;;39454:6;39447:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39098:483;39503:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39098:483;39236:47;;;39224:59;;;:8;:59;;;;39220:158;;39308:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39220:158;39175:218;39062:530;38837:762;;;;;;:::o;54095:204::-;54162:7;54211:5;54190:3;:11;;:18;;;;:26;54182:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54273:3;:11;;54285:5;54273:18;;;;;;;;;;;;;;;;54266:25;;54095:204;;;;:::o;57837:131::-;57904:4;57928:32;57933:3;:10;;57953:5;57945:14;;57928:4;:32::i;:::-;57921:39;;57837:131;;;;:::o;58144:137::-;58214:4;58238:35;58246:3;:10;;58266:5;58258:14;;58238:7;:35::i;:::-;58231:42;;58144:137;;;;:::o;44281:205::-;44382:96;44402:5;44432:27;;;44461:4;44467:2;44471:5;44409:68;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44382:19;:96::i;:::-;44281:205;;;;:::o;44096:177::-;44179:86;44199:5;44229:23;;;44254:2;44258:5;44206:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44179:19;:86::i;:::-;44096:177;;;:::o;18925:422::-;18985:4;19193:12;19304:7;19292:20;19284:28;;19338:1;19331:4;:8;19324:15;;;18925:422;;;:::o;51207:414::-;51270:4;51292:21;51302:3;51307:5;51292:9;:21::i;:::-;51287:327;;51330:3;:11;;51347:5;51330:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51513:3;:11;;:18;;;;51491:3;:12;;:19;51504:5;51491:19;;;;;;;;;;;:40;;;;51553:4;51546:11;;;;51287:327;51597:5;51590:12;;51207:414;;;;;:::o;51797:1544::-;51863:4;51981:18;52002:3;:12;;:19;52015:5;52002:19;;;;;;;;;;;;51981:40;;52052:1;52038:10;:15;52034:1300;;52400:21;52437:1;52424:10;:14;52400:38;;52453:17;52494:1;52473:3;:11;;:18;;;;:22;52453:42;;52740:17;52760:3;:11;;52772:9;52760:22;;;;;;;;;;;;;;;;52740:42;;52906:9;52877:3;:11;;52889:13;52877:26;;;;;;;;;;;;;;;:38;;;;53025:1;53009:13;:17;52983:3;:12;;:23;52996:9;52983:23;;;;;;;;;;;:43;;;;53135:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;53230:3;:12;;:19;53243:5;53230:19;;;;;;;;;;;53223:26;;;53273:4;53266:11;;;;;;;;52034:1300;53317:5;53310:12;;;51797:1544;;;;;:::o;46401:761::-;46825:23;46851:69;46879:4;46851:69;;;;;;;;;;;;;;;;;46859:5;46851:27;;;;:69;;;;;:::i;:::-;46825:95;;46955:1;46935:10;:17;:21;46931:224;;;47077:10;47066:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47058:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46931:224;46401:761;;;:::o;53427:129::-;53500:4;53547:1;53524:3;:12;;:19;53537:5;53524:19;;;;;;;;;;;;:24;;53517:31;;53427:129;;;;:::o;21843:195::-;21946:12;21978:52;22000:6;22008:4;22014:1;22017:12;21978:21;:52::i;:::-;21971:59;;21843:195;;;;;:::o;22895:530::-;23022:12;23080:5;23055:21;:30;;23047:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23147:18;23158:6;23147:10;:18::i;:::-;23139:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23273:12;23287:23;23314:6;:11;;23334:5;23342:4;23314:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23272:75;;;;23365:52;23383:7;23392:10;23404:12;23365:17;:52::i;:::-;23358:59;;;;22895:530;;;;;;:::o;25435:742::-;25550:12;25579:7;25575:595;;;25610:10;25603:17;;;;25575:595;25744:1;25724:10;:17;:21;25720:439;;;25987:10;25981:17;26048:15;26035:10;26031:2;26027:19;26020:44;25935:148;26130:12;26123:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25435:742;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;5:97::-;;93:2;89:7;84:2;77:5;73:14;69:28;59:38;;53:49;;;:::o;110:106::-;;200:5;195:3;191:15;169:37;;163:53;;;:::o;224:739::-;;297:4;279:16;276:26;273:2;;;305:5;;273:2;339:1;336;333;318:23;357:34;388:1;382:8;357:34;:::i;:::-;414:10;409:3;406:19;396:2;;429:5;;;396:2;460;454:9;514:1;496:16;492:24;489:1;483:4;468:49;543:4;537:11;624:16;617:4;609:6;605:17;602:39;576:18;568:6;565:30;556:91;553:2;;;655:5;;;;;553:2;693:6;687:4;683:17;725:3;719:10;748:18;740:6;737:30;734:2;;;770:5;;;;;;;734:2;814:6;807:4;802:3;798:14;794:27;847:16;841:4;837:27;832:3;829:36;826:2;;;868:5;;;;;;;;826:2;912:29;934:6;912:29;:::i;:::-;905:4;900:3;896:14;892:50;888:2;881:62;955:3;948:10;;267:696;;;;;;;;:::o

Swarm Source

ipfs://c449afe9e4910a476a37420f4ec4bcb751a3e5c308b10e889a653552140d66ee
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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