ETH Price: $3,575.74 (-0.26%)
Gas: 35 Gwei

Contract

0x707C1e408118be3Dcf23374F6F5cb1923e21c6cF
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Safe Transfer Fr...110711022020-10-17 3:48:301258 days ago1602906510IN
0x707C1e40...23e21c6cF
0 ETH0.0023268920.1
Setfund Factory110333572020-10-11 9:25:381264 days ago1602408338IN
0x707C1e40...23e21c6cF
0 ETH0.0028077732
0x60806040110333242020-10-11 9:18:531264 days ago1602407933IN
 Create: IVNToken
0 ETH0.1073799131.00000134

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
IVNToken

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-01-23
*/

pragma solidity ^0.6.0;


// SPDX-License-Identifier: MIT
/*
 * @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;
    }
}

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

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

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

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

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

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

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

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

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

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

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

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

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

// 
/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {

    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

// 
/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {

    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

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

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

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

// 
/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts may inherit from this and call {_registerInterface} to declare
 * their support of an interface.
 */
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 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;
    }
}

// 
/**
 * @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, 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) {
        return sub(a, b, "SafeMath: subtraction overflow");
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * 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);
        uint256 c = a - b;

        return c;
    }

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

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts 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) {
        return div(a, b, "SafeMath: division by zero");
    }

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts 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) {
        return mod(a, b, "SafeMath: modulo by zero");
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * Reverts with custom message 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, string memory errorMessage) internal pure returns (uint256) {
        require(b != 0, errorMessage);
        return a % b;
    }
}

// 
/**
 * @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.3._
     */
    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.3._
     */
    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);
            }
        }
    }
}

// 
/**
 * @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.0.0, only sets of type `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];
    }

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

// 
/**
 * @dev Library for managing an enumerable variant of Solidity's
 * https://solidity.readthedocs.io/en/latest/types.html#mapping-types[`mapping`]
 * type.
 *
 * Maps have the following properties:
 *
 * - Entries are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Entries are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableMap for EnumerableMap.UintToAddressMap;
 *
 *     // Declare a set state variable
 *     EnumerableMap.UintToAddressMap private myMap;
 * }
 * ```
 *
 * As of v3.0.0, only maps of type `uint256 -> address` (`UintToAddressMap`) are
 * supported.
 */
library EnumerableMap {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Map type with
    // bytes32 keys and values.
    // The Map implementation uses private functions, and user-facing
    // implementations (such as Uint256ToAddressMap) are just wrappers around
    // the underlying Map.
    // This means that we can only create new EnumerableMaps for types that fit
    // in bytes32.

    struct MapEntry {
        bytes32 _key;
        bytes32 _value;
    }

    struct Map {
        // Storage of map keys and values
        MapEntry[] _entries;

        // Position of the entry defined by a key in the `entries` array, plus 1
        // because index 0 means a key is not in the map.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function _set(Map storage map, bytes32 key, bytes32 value) private returns (bool) {
        // We read and store the key's index to prevent multiple reads from the same storage slot
        uint256 keyIndex = map._indexes[key];

        if (keyIndex == 0) { // Equivalent to !contains(map, key)
            map._entries.push(MapEntry({ _key: key, _value: value }));
            // The entry is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            map._indexes[key] = map._entries.length;
            return true;
        } else {
            map._entries[keyIndex - 1]._value = value;
            return false;
        }
    }

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

        if (keyIndex != 0) { // Equivalent to contains(map, key)
            // To delete a key-value pair from the _entries array in O(1), we swap the entry to delete with the last one
            // in the array, and then remove the last entry (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = keyIndex - 1;
            uint256 lastIndex = map._entries.length - 1;

            // When the entry 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.

            MapEntry storage lastEntry = map._entries[lastIndex];

            // Move the last entry to the index where the entry to delete is
            map._entries[toDeleteIndex] = lastEntry;
            // Update the index for the moved entry
            map._indexes[lastEntry._key] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved entry was stored
            map._entries.pop();

            // Delete the index for the deleted slot
            delete map._indexes[key];

            return true;
        } else {
            return false;
        }
    }

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

    /**
     * @dev Returns the number of key-value pairs in the map. O(1).
     */
    function _length(Map storage map) private view returns (uint256) {
        return map._entries.length;
    }

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

        MapEntry storage entry = map._entries[index];
        return (entry._key, entry._value);
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function _get(Map storage map, bytes32 key) private view returns (bytes32) {
        return _get(map, key, "EnumerableMap: nonexistent key");
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     */
    function _get(Map storage map, bytes32 key, string memory errorMessage) private view returns (bytes32) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, errorMessage); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

    /**
     * @dev Adds a key-value pair to a map, or updates the value for an existing
     * key. O(1).
     *
     * Returns true if the key was added to the map, that is if it was not
     * already present.
     */
    function set(UintToAddressMap storage map, uint256 key, address value) internal returns (bool) {
        return _set(map._inner, bytes32(key), bytes32(uint256(value)));
    }

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

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

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

   /**
    * @dev Returns the element 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(UintToAddressMap storage map, uint256 index) internal view returns (uint256, address) {
        (bytes32 key, bytes32 value) = _at(map._inner, index);
        return (uint256(key), address(uint256(value)));
    }

    /**
     * @dev Returns the value associated with `key`.  O(1).
     *
     * Requirements:
     *
     * - `key` must be in the map.
     */
    function get(UintToAddressMap storage map, uint256 key) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint256(_get(map._inner, bytes32(key), errorMessage)));
    }
}

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

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

// 
/**
 * @title ERC721 Non-Fungible Token Standard basic implementation
 * @dev see https://eips.ethereum.org/EIPS/eip-721
 */
contract ERC721 is Context, ERC165, IERC721, IERC721Metadata, IERC721Enumerable {
    using SafeMath for uint256;
    using Address for address;
    using EnumerableSet for EnumerableSet.UintSet;
    using EnumerableMap for EnumerableMap.UintToAddressMap;
    using Strings for uint256;

    // Equals to `bytes4(keccak256("onERC721Received(address,address,uint256,bytes)"))`
    // which can be also obtained as `IERC721Receiver(0).onERC721Received.selector`
    bytes4 private constant _ERC721_RECEIVED = 0x150b7a02;

    // Mapping from holder address to their (enumerable) set of owned tokens
    mapping (address => EnumerableSet.UintSet) private _holderTokens;

    // Enumerable mapping from token ids to their owners
    EnumerableMap.UintToAddressMap private _tokenOwners;

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

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

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

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

    // Base URI
    string private _baseURI;

    /*
     *     bytes4(keccak256('balanceOf(address)')) == 0x70a08231
     *     bytes4(keccak256('ownerOf(uint256)')) == 0x6352211e
     *     bytes4(keccak256('approve(address,uint256)')) == 0x095ea7b3
     *     bytes4(keccak256('getApproved(uint256)')) == 0x081812fc
     *     bytes4(keccak256('setApprovalForAll(address,bool)')) == 0xa22cb465
     *     bytes4(keccak256('isApprovedForAll(address,address)')) == 0xe985e9c5
     *     bytes4(keccak256('transferFrom(address,address,uint256)')) == 0x23b872dd
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256)')) == 0x42842e0e
     *     bytes4(keccak256('safeTransferFrom(address,address,uint256,bytes)')) == 0xb88d4fde
     *
     *     => 0x70a08231 ^ 0x6352211e ^ 0x095ea7b3 ^ 0x081812fc ^
     *        0xa22cb465 ^ 0xe985e9c5 ^ 0x23b872dd ^ 0x42842e0e ^ 0xb88d4fde == 0x80ac58cd
     */
    bytes4 private constant _INTERFACE_ID_ERC721 = 0x80ac58cd;

    /*
     *     bytes4(keccak256('name()')) == 0x06fdde03
     *     bytes4(keccak256('symbol()')) == 0x95d89b41
     *     bytes4(keccak256('tokenURI(uint256)')) == 0xc87b56dd
     *
     *     => 0x06fdde03 ^ 0x95d89b41 ^ 0xc87b56dd == 0x5b5e139f
     */
    bytes4 private constant _INTERFACE_ID_ERC721_METADATA = 0x5b5e139f;

    /*
     *     bytes4(keccak256('totalSupply()')) == 0x18160ddd
     *     bytes4(keccak256('tokenOfOwnerByIndex(address,uint256)')) == 0x2f745c59
     *     bytes4(keccak256('tokenByIndex(uint256)')) == 0x4f6ccce7
     *
     *     => 0x18160ddd ^ 0x2f745c59 ^ 0x4f6ccce7 == 0x780e9d63
     */
    bytes4 private constant _INTERFACE_ID_ERC721_ENUMERABLE = 0x780e9d63;

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

        // register the supported interfaces to conform to ERC721 via ERC165
        _registerInterface(_INTERFACE_ID_ERC721);
        _registerInterface(_INTERFACE_ID_ERC721_METADATA);
        _registerInterface(_INTERFACE_ID_ERC721_ENUMERABLE);
    }

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

        return _holderTokens[owner].length();
    }

    /**
     * @dev See {IERC721-ownerOf}.
     */
    function ownerOf(uint256 tokenId) public view override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

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

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

        string memory _tokenURI = _tokenURIs[tokenId];

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

    /**
    * @dev Returns the base URI set via {_setBaseURI}. This will be
    * automatically added as a prefix in {tokenURI} to each token's URI, or
    * to the token ID if no specific URI is set for that token ID.
    */
    function baseURI() public view returns (string memory) {
        return _baseURI;
    }

    /**
     * @dev See {IERC721Enumerable-tokenOfOwnerByIndex}.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) public view override returns (uint256) {
        return _holderTokens[owner].at(index);
    }

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view override returns (uint256) {
        // _tokenOwners are indexed by tokenIds, so .length() returns the number of tokenIds
        return _tokenOwners.length();
    }

    /**
     * @dev See {IERC721Enumerable-tokenByIndex}.
     */
    function tokenByIndex(uint256 index) public view override returns (uint256) {
        (uint256 tokenId, ) = _tokenOwners.at(index);
        return tokenId;
    }

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(operator != _msgSender(), "ERC721: approve to caller");

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

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

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

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

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

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

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

        _holderTokens[from].remove(tokenId);
        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

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

    /**
     * @dev Internal function to set the base URI for all token IDs. It is
     * automatically added as a prefix to the value returned in {tokenURI},
     * or to the token ID if {tokenURI} is empty.
     */
    function _setBaseURI(string memory baseURI_) internal virtual {
        _baseURI = baseURI_;
    }

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

    function _approve(address to, uint256 tokenId) private {
        _tokenApprovals[tokenId] = to;
        emit Approval(ownerOf(tokenId), to, tokenId);
    }

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

// 
/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

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

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

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

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

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

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

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

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

        _grantRole(role, account);
    }

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

        _revokeRole(role, account);
    }

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

        _revokeRole(role, account);
    }

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

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

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

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

// 
/**
 * @title Counters
 * @author Matt Condon (@shrugs)
 * @dev Provides counters that can only be incremented or decremented by one. This can be used e.g. to track the number
 * of elements in a mapping, issuing ERC721 ids, or counting request ids.
 *
 * Include with `using Counters for Counters.Counter;`
 * Since it is not possible to overflow a 256 bit integer with increments of one, `increment` can skip the {SafeMath}
 * overflow check, thereby saving gas. This does assume however correct usage, in that the underlying `_value` is never
 * directly accessed.
 */
library Counters {
    using SafeMath for uint256;

    struct Counter {
        // This variable should never be directly accessed by users of the library: interactions must be restricted to
        // the library's function. As of Solidity v0.5.2, this cannot be enforced, though there is a proposal to add
        // this feature: see https://github.com/ethereum/solidity/issues/4637
        uint256 _value; // default: 0
    }

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

    function increment(Counter storage counter) internal {
        // The {SafeMath} overflow check can be skipped here, see the comment at the top
        counter._value += 1;
    }

    function decrement(Counter storage counter) internal {
        counter._value = counter._value.sub(1);
    }
}

contract IVNToken is ERC721, AccessControl{
    using Counters for Counters.Counter;
    
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");
    bytes32 public constant FACTORY_ROLE = keccak256("FACTORY_ROLE");
  
    bool status = true;
    address investinAddress;
    
    Counters.Counter private TokenID; 
    constructor() ERC721("Investin", "IVN") public payable {
        investinAddress = msg.sender;
    }
    
    struct Token {
        address fundAddress;
        address investorAddress;
    }
  
    mapping (uint256 => Token) public Tokens;
    
    function updateStatus(bool _status) external {
        status = _status;
    }
  
    function setfundFactory(address _fundFactoryAddress) external {
        require(msg.sender == investinAddress, "Only Investin can set the fundFactory Addressess");        
        _setupRole(FACTORY_ROLE, _fundFactoryAddress);
    }


    function mint(address fundAddress, address investorAddress) external returns (uint256) {
        require(status == true, "Status not active");
        require(hasRole(MINTER_ROLE, msg.sender), "Caller is not a minter");
    
        TokenID.increment();
        uint256 _tokenId = TokenID.current();
        
        Token memory _token = Token(fundAddress, investorAddress);
        
        Tokens[_tokenId] = _token;
        _mint(investorAddress, _tokenId);
        return _tokenId;
    }

    function getTokenInfo(uint256 _tokenId) external view returns(address, address) {
        return (Tokens[_tokenId].fundAddress, Tokens[_tokenId].investorAddress);
    }
      
    function roleAssignment(address fundAddress) external {
        require(hasRole(FACTORY_ROLE, msg.sender), "Caller is not a Factory");
        _setupRole(MINTER_ROLE, fundAddress);
    }
      
    function transferFrom(address from, address to, uint256 tokenId) public virtual override {
        require(status == true, "Status not active");
        safeTransferFrom(from, to, tokenId, "");
    }
        
    function safeTransferFrom(address from, address to, uint256 tokenId, bytes memory _data) public virtual override {
        require(status == true, "Status not active");
        require(_isApprovedOrOwner(_msgSender(), tokenId), "ERC721: transfer caller is not owner nor approved");
        require(Tokens[tokenId].fundAddress == to, "You can only send to fundIntegrated");
        _safeTransfer(from, to, tokenId, _data);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FACTORY_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"Tokens","outputs":[{"internalType":"address","name":"fundAddress","type":"address"},{"internalType":"address","name":"investorAddress","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getTokenInfo","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"fundAddress","type":"address"},{"internalType":"address","name":"investorAddress","type":"address"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fundAddress","type":"address"}],"name":"roleAssignment","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_fundFactoryAddress","type":"address"}],"name":"setfundFactory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_status","type":"bool"}],"name":"updateStatus","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040526001600b60006101000a81548160ff0219169083151502179055506040518060400160405280600881526020017f496e76657374696e0000000000000000000000000000000000000000000000008152506040518060400160405280600381526020017f49564e0000000000000000000000000000000000000000000000000000000000815250620000a36301ffc9a760e01b6200016660201b60201c565b8160069080519060200190620000bb9291906200026f565b508060079080519060200190620000d49291906200026f565b50620000ed6380ac58cd60e01b6200016660201b60201c565b62000105635b5e139f60e01b6200016660201b60201c565b6200011d63780e9d6360e01b6200016660201b60201c565b505033600b60016101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555062000315565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916141562000203576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433136353a20696e76616c696420696e746572666163652069640000000081525060200191505060405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002b257805160ff1916838001178555620002e3565b82800160010185558215620002e3579182015b82811115620002e2578251825591602001919060010190620002c5565b5b509050620002f29190620002f6565b5090565b5b8082111562000311576000816000905550600101620002f7565b5090565b613b0180620003256000396000f3fe608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636c0360eb1161011a578063a22cb465116100ad578063ca15c8731161007c578063ca15c87314610c5e578063d539139314610ca0578063d547741f14610cbe578063e985e9c514610d0c578063ee1fe2ad14610d86576101fb565b8063a22cb46514610a1e578063b88d4fde14610a6e578063c3dc636414610b73578063c87b56dd14610bb7576101fb565b806391d14854116100e957806391d14854146108a4578063953c81331461090857806395d89b411461097d578063a217fddf14610a00576101fb565b80636c0360eb146106f257806370a08231146107755780638c7a63ae146107cd5780639010d07c14610842576101fb565b806323b872dd1161019257806336568abe1161016157806336568abe1461059c57806342842e0e146105ea5780634f6ccce7146106585780636352211e1461069a576101fb565b806323b872dd1461043c578063248a9ca3146104aa5780632f2ff15d146104ec5780632f745c591461053a576101fb565b8063095ea7b3116101ce578063095ea7b31461035c57806318160ddd146103aa57806319e072ef146103c85780631e8aa33f146103f8576101fb565b806301ffc9a71461020057806304a0fb171461026357806306fdde0314610281578063081812fc14610304575b600080fd5b61024b6004803603602081101561021657600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610dfe565b60405180821515815260200191505060405180910390f35b61026b610e65565b6040518082815260200191505060405180910390f35b610289610e89565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102c95780820151818401526020810190506102ae565b50505050905090810190601f1680156102f65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103306004803603602081101561031a57600080fd5b8101908080359060200190929190505050610f2b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103a86004803603604081101561037257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610fc6565b005b6103b261110a565b6040518082815260200191505060405180910390f35b6103f6600480360360208110156103de57600080fd5b8101908080351515906020019092919050505061111b565b005b61043a6004803603602081101561040e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611138565b005b6104a86004803603606081101561045257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611201565b005b6104d6600480360360208110156104c057600080fd5b81019080803590602001909291905050506112aa565b6040518082815260200191505060405180910390f35b6105386004803603604081101561050257600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112ca565b005b6105866004803603604081101561055057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611354565b6040518082815260200191505060405180910390f35b6105e8600480360360408110156105b257600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113af565b005b6106566004803603606081101561060057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611448565b005b6106846004803603602081101561066e57600080fd5b8101908080359060200190929190505050611468565b6040518082815260200191505060405180910390f35b6106c6600480360360208110156106b057600080fd5b810190808035906020019092919050505061148b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106fa6114c2565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561073a57808201518184015260208101905061071f565b50505050905090810190601f1680156107675780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6107b76004803603602081101561078b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611564565b6040518082815260200191505060405180910390f35b6107f9600480360360208110156107e357600080fd5b8101908080359060200190929190505050611639565b604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b6108786004803603604081101561085857600080fd5b8101908080359060200190929190803590602001909291905050506116b3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108f0600480360360408110156108ba57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116e5565b60405180821515815260200191505060405180910390f35b6109346004803603602081101561091e57600080fd5b8101908080359060200190929190505050611717565b604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b61098561177b565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109c55780820151818401526020810190506109aa565b50505050905090810190601f1680156109f25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610a0861181d565b6040518082815260200191505060405180910390f35b610a6c60048036036040811015610a3457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611824565b005b610b7160048036036080811015610a8457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610aeb57600080fd5b820183602082011115610afd57600080fd5b80359060200191846001830284011164010000000083111715610b1f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506119da565b005b610bb560048036036020811015610b8957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b95565b005b610be360048036036020811015610bcd57600080fd5b8101908080359060200190929190505050611c68565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610c23578082015181840152602081019050610c08565b50505050905090810190601f168015610c505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c8a60048036036020811015610c7457600080fd5b8101908080359060200190929190505050611f51565b6040518082815260200191505060405180910390f35b610ca8611f78565b6040518082815260200191505060405180910390f35b610d0a60048036036040811015610cd457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f9c565b005b610d6e60048036036040811015610d2257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612026565b60405180821515815260200191505060405180910390f35b610de860048036036040811015610d9c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506120ba565b6040518082815260200191505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b7fdfbefbf47cfe66b701d8cfdbce1de81c821590819cb07e71cb01b6602fb0ee2781565b606060068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f215780601f10610ef657610100808354040283529160200191610f21565b820191906000526020600020905b815481529060010190602001808311610f0457829003601f168201915b5050505050905090565b6000610f36826122fe565b610f8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806139a4602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610fd18261148b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611058576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613a4b6021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661107761231b565b73ffffffffffffffffffffffffffffffffffffffff1614806110a657506110a5816110a061231b565b612026565b5b6110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260388152602001806138f76038913960400191505060405180910390fd5b6111058383612323565b505050565b600061111660026123dc565b905090565b80600b60006101000a81548160ff02191690831515021790555050565b6111627fdfbefbf47cfe66b701d8cfdbce1de81c821590819cb07e71cb01b6602fb0ee27336116e5565b6111d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f43616c6c6572206973206e6f74206120466163746f727900000000000000000081525060200191505060405180910390fd5b6111fe7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6826123f1565b50565b60011515600b60009054906101000a900460ff1615151461128a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f537461747573206e6f742061637469766500000000000000000000000000000081525060200191505060405180910390fd5b6112a5838383604051806020016040528060008152506119da565b505050565b6000600a6000838152602001908152602001600020600201549050919050565b6112f1600a6000848152602001908152602001600020600201546112ec61231b565b6116e5565b611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806137c0602f913960400191505060405180910390fd5b61135082826123ff565b5050565b60006113a782600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061249390919063ffffffff16565b905092915050565b6113b761231b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461143a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613a9d602f913960400191505060405180910390fd5b61144482826124ad565b5050565b611463838383604051806020016040528060008152506119da565b505050565b60008061147f83600261254190919063ffffffff16565b50905080915050919050565b60006114bb8260405180606001604052806029815260200161395960299139600261256d9092919063ffffffff16565b9050919050565b606060098054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561155a5780601f1061152f5761010080835404028352916020019161155a565b820191906000526020600020905b81548152906001019060200180831161153d57829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061392f602a913960400191505060405180910390fd5b611632600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061258c565b9050919050565b600080600d600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600d600085815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509150915091565b60006116dd82600a60008681526020019081526020016000206000016125a190919063ffffffff16565b905092915050565b600061170f82600a60008681526020019081526020016000206000016125bb90919063ffffffff16565b905092915050565b600d6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082565b606060078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156118135780601f106117e857610100808354040283529160200191611813565b820191906000526020600020905b8154815290600101906020018083116117f657829003601f168201915b5050505050905090565b6000801b81565b61182c61231b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b80600560006118da61231b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661198761231b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b60011515600b60009054906101000a900460ff16151514611a63576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f537461747573206e6f742061637469766500000000000000000000000000000081525060200191505060405180910390fd5b611a74611a6e61231b565b836125eb565b611ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180613a6c6031913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16600d600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b83576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806139d06023913960400191505060405180910390fd5b611b8f848484846126df565b50505050565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c3b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806138c76030913960400191505060405180910390fd5b611c657fdfbefbf47cfe66b701d8cfdbce1de81c821590819cb07e71cb01b6602fb0ee27826123f1565b50565b6060611c73826122fe565b611cc8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613a1c602f913960400191505060405180910390fd5b6060600860008481526020019081526020016000208054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611d715780601f10611d4657610100808354040283529160200191611d71565b820191906000526020600020905b815481529060010190602001808311611d5457829003601f168201915b50505050509050600060098054600181600116156101000203166002900490501415611da05780915050611f4c565b600081511115611e79576009816040516020018083805460018160011615610100020316600290048015611e0b5780601f10611de9576101008083540402835291820191611e0b565b820191906000526020600020905b815481529060010190602001808311611df7575b505082805190602001908083835b60208310611e3c5780518252602082019150602081019050602083039250611e19565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050611f4c565b6009611e8484612751565b6040516020018083805460018160011615610100020316600290048015611ee25780601f10611ec0576101008083540402835291820191611ee2565b820191906000526020600020905b815481529060010190602001808311611ece575b505082805190602001908083835b60208310611f135780518252602082019150602081019050602083039250611ef0565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150505b919050565b6000611f71600a6000848152602001908152602001600020600001612898565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611fc3600a600084815260200190815260200160002060020154611fbe61231b565b6116e5565b612018576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806138976030913960400191505060405180910390fd5b61202282826124ad565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060011515600b60009054906101000a900460ff16151514612145576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f537461747573206e6f742061637469766500000000000000000000000000000081525060200191505060405180910390fd5b61216f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336116e5565b6121e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616c6c6572206973206e6f742061206d696e7465720000000000000000000081525060200191505060405180910390fd5b6121eb600c6128ad565b60006121f7600c6128c3565b9050612201613757565b60405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815250905080600d600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050506122f384836128d1565b819250505092915050565b6000612314826002612ac590919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123968361148b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006123ea82600001612adf565b9050919050565b6123fb82826123ff565b5050565b61242781600a6000858152602001908152602001600020600001612af090919063ffffffff16565b1561248f5761243461231b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006124a28360000183612b20565b60001c905092915050565b6124d581600a6000858152602001908152602001600020600001612ba390919063ffffffff16565b1561253d576124e261231b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000806000806125548660000186612bd3565b915091508160001c8160001c9350935050509250929050565b6000612580846000018460001b84612c6c565b60001c90509392505050565b600061259a82600001612d62565b9050919050565b60006125b08360000183612b20565b60001c905092915050565b60006125e3836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612d73565b905092915050565b60006125f6826122fe565b61264b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061386b602c913960400191505060405180910390fd5b60006126568361148b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806126c557508373ffffffffffffffffffffffffffffffffffffffff166126ad84610f2b565b73ffffffffffffffffffffffffffffffffffffffff16145b806126d657506126d58185612026565b5b91505092915050565b6126ea848484612d96565b6126f684848484612fd9565b61274b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806137ef6032913960400191505060405180910390fd5b50505050565b60606000821415612799576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612893565b600082905060005b600082146127c3578080600101915050600a82816127bb57fe5b0491506127a1565b60608167ffffffffffffffff811180156127dc57600080fd5b506040519080825280601f01601f19166020018201604052801561280f5781602001600182028036833780820191505090505b50905060006001830390508593505b6000841461288b57600a848161283057fe5b0660300160f81b8282806001900393508151811061284a57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a848161288357fe5b04935061281e565b819450505050505b919050565b60006128a682600001612d62565b9050919050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612974576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b61297d816122fe565b156129f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b6129fc600083836131f2565b612a4d81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206131f790919063ffffffff16565b50612a64818360026132119092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000612ad7836000018360001b613246565b905092915050565b600081600001805490509050919050565b6000612b18836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613269565b905092915050565b600081836000018054905011612b81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061379e6022913960400191505060405180910390fd5b826000018281548110612b9057fe5b9060005260206000200154905092915050565b6000612bcb836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6132d9565b905092915050565b60008082846000018054905011612c35576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806139826022913960400191505060405180910390fd5b6000846000018481548110612c4657fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390612d33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612cf8578082015181840152602081019050612cdd565b50505050905090810190601f168015612d255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110612d4657fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612db68261148b565b73ffffffffffffffffffffffffffffffffffffffff1614612e22576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806139f36029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ea8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806138216024913960400191505060405180910390fd5b612eb38383836131f2565b612ebe600082612323565b612f0f81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206133c190919063ffffffff16565b50612f6181600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206131f790919063ffffffff16565b50612f78818360026132119092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612ffa8473ffffffffffffffffffffffffffffffffffffffff166133db565b61300757600190506131ea565b606061317163150b7a0260e01b61301c61231b565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156130a0578082015181840152602081019050613085565b50505050905090810190601f1680156130cd5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016137ef603291398773ffffffffffffffffffffffffffffffffffffffff166133ee9092919063ffffffff16565b9050600081806020019051602081101561318a57600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b505050565b6000613209836000018360001b613269565b905092915050565b600061323d846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613406565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b60006132758383612d73565b6132ce5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506132d3565b600090505b92915050565b600080836001016000848152602001908152602001600020549050600081146133b5576000600182039050600060018660000180549050039050600086600001828154811061332457fe5b906000526020600020015490508087600001848154811061334157fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061337957fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506133bb565b60009150505b92915050565b60006133d3836000018360001b6132d9565b905092915050565b600080823b905060008111915050919050565b60606133fd84846000856134e2565b90509392505050565b60008084600101600085815260200190815260200160002054905060008114156134ad578460000160405180604001604052808681526020018581525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010155505084600001805490508560010160008681526020019081526020016000208190555060019150506134db565b828560000160018303815481106134c057fe5b90600052602060002090600202016001018190555060009150505b9392505050565b60608247101561353d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806138456026913960400191505060405180910390fd5b613546856133db565b6135b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061360857805182526020820191506020810190506020830392506135e5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461366a576040519150601f19603f3d011682016040523d82523d6000602084013e61366f565b606091505b509150915061367f82828661368b565b92505050949350505050565b6060831561369b57829050613750565b6000835111156136ae5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156137155780820151818401526020810190506136fa565b50505050905090810190601f1680156137425780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654f6e6c7920496e76657374696e2063616e20736574207468652066756e64466163746f727920416464726573736573734552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e596f752063616e206f6e6c792073656e6420746f2066756e64496e74656772617465644552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212204185e434d7fef72adc0e4ba398657a8e107adb3854d73e83ba9c4390d30701b164736f6c634300060c0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101fb5760003560e01c80636c0360eb1161011a578063a22cb465116100ad578063ca15c8731161007c578063ca15c87314610c5e578063d539139314610ca0578063d547741f14610cbe578063e985e9c514610d0c578063ee1fe2ad14610d86576101fb565b8063a22cb46514610a1e578063b88d4fde14610a6e578063c3dc636414610b73578063c87b56dd14610bb7576101fb565b806391d14854116100e957806391d14854146108a4578063953c81331461090857806395d89b411461097d578063a217fddf14610a00576101fb565b80636c0360eb146106f257806370a08231146107755780638c7a63ae146107cd5780639010d07c14610842576101fb565b806323b872dd1161019257806336568abe1161016157806336568abe1461059c57806342842e0e146105ea5780634f6ccce7146106585780636352211e1461069a576101fb565b806323b872dd1461043c578063248a9ca3146104aa5780632f2ff15d146104ec5780632f745c591461053a576101fb565b8063095ea7b3116101ce578063095ea7b31461035c57806318160ddd146103aa57806319e072ef146103c85780631e8aa33f146103f8576101fb565b806301ffc9a71461020057806304a0fb171461026357806306fdde0314610281578063081812fc14610304575b600080fd5b61024b6004803603602081101561021657600080fd5b8101908080357bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19169060200190929190505050610dfe565b60405180821515815260200191505060405180910390f35b61026b610e65565b6040518082815260200191505060405180910390f35b610289610e89565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156102c95780820151818401526020810190506102ae565b50505050905090810190601f1680156102f65780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6103306004803603602081101561031a57600080fd5b8101908080359060200190929190505050610f2b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6103a86004803603604081101561037257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050610fc6565b005b6103b261110a565b6040518082815260200191505060405180910390f35b6103f6600480360360208110156103de57600080fd5b8101908080351515906020019092919050505061111b565b005b61043a6004803603602081101561040e57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611138565b005b6104a86004803603606081101561045257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611201565b005b6104d6600480360360208110156104c057600080fd5b81019080803590602001909291905050506112aa565b6040518082815260200191505060405180910390f35b6105386004803603604081101561050257600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506112ca565b005b6105866004803603604081101561055057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611354565b6040518082815260200191505060405180910390f35b6105e8600480360360408110156105b257600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506113af565b005b6106566004803603606081101561060057600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff16906020019092919080359060200190929190505050611448565b005b6106846004803603602081101561066e57600080fd5b8101908080359060200190929190505050611468565b6040518082815260200191505060405180910390f35b6106c6600480360360208110156106b057600080fd5b810190808035906020019092919050505061148b565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6106fa6114c2565b6040518080602001828103825283818151815260200191508051906020019080838360005b8381101561073a57808201518184015260208101905061071f565b50505050905090810190601f1680156107675780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6107b76004803603602081101561078b57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611564565b6040518082815260200191505060405180910390f35b6107f9600480360360208110156107e357600080fd5b8101908080359060200190929190505050611639565b604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b6108786004803603604081101561085857600080fd5b8101908080359060200190929190803590602001909291905050506116b3565b604051808273ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b6108f0600480360360408110156108ba57600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506116e5565b60405180821515815260200191505060405180910390f35b6109346004803603602081101561091e57600080fd5b8101908080359060200190929190505050611717565b604051808373ffffffffffffffffffffffffffffffffffffffff1681526020018273ffffffffffffffffffffffffffffffffffffffff1681526020019250505060405180910390f35b61098561177b565b6040518080602001828103825283818151815260200191508051906020019080838360005b838110156109c55780820151818401526020810190506109aa565b50505050905090810190601f1680156109f25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610a0861181d565b6040518082815260200191505060405180910390f35b610a6c60048036036040811015610a3457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803515159060200190929190505050611824565b005b610b7160048036036080811015610a8457600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291908035906020019092919080359060200190640100000000811115610aeb57600080fd5b820183602082011115610afd57600080fd5b80359060200191846001830284011164010000000083111715610b1f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f8201169050808301925050505050505091929192905050506119da565b005b610bb560048036036020811015610b8957600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611b95565b005b610be360048036036020811015610bcd57600080fd5b8101908080359060200190929190505050611c68565b6040518080602001828103825283818151815260200191508051906020019080838360005b83811015610c23578082015181840152602081019050610c08565b50505050905090810190601f168015610c505780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b610c8a60048036036020811015610c7457600080fd5b8101908080359060200190929190505050611f51565b6040518082815260200191505060405180910390f35b610ca8611f78565b6040518082815260200191505060405180910390f35b610d0a60048036036040811015610cd457600080fd5b8101908080359060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050611f9c565b005b610d6e60048036036040811015610d2257600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff169060200190929190505050612026565b60405180821515815260200191505060405180910390f35b610de860048036036040811015610d9c57600080fd5b81019080803573ffffffffffffffffffffffffffffffffffffffff169060200190929190803573ffffffffffffffffffffffffffffffffffffffff1690602001909291905050506120ba565b6040518082815260200191505060405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b7fdfbefbf47cfe66b701d8cfdbce1de81c821590819cb07e71cb01b6602fb0ee2781565b606060068054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f215780601f10610ef657610100808354040283529160200191610f21565b820191906000526020600020905b815481529060010190602001808311610f0457829003601f168201915b5050505050905090565b6000610f36826122fe565b610f8b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c8152602001806139a4602c913960400191505060405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b6000610fd18261148b565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415611058576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526021815260200180613a4b6021913960400191505060405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff1661107761231b565b73ffffffffffffffffffffffffffffffffffffffff1614806110a657506110a5816110a061231b565b612026565b5b6110fb576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260388152602001806138f76038913960400191505060405180910390fd5b6111058383612323565b505050565b600061111660026123dc565b905090565b80600b60006101000a81548160ff02191690831515021790555050565b6111627fdfbefbf47cfe66b701d8cfdbce1de81c821590819cb07e71cb01b6602fb0ee27336116e5565b6111d4576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260178152602001807f43616c6c6572206973206e6f74206120466163746f727900000000000000000081525060200191505060405180910390fd5b6111fe7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6826123f1565b50565b60011515600b60009054906101000a900460ff1615151461128a576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f537461747573206e6f742061637469766500000000000000000000000000000081525060200191505060405180910390fd5b6112a5838383604051806020016040528060008152506119da565b505050565b6000600a6000838152602001908152602001600020600201549050919050565b6112f1600a6000848152602001908152602001600020600201546112ec61231b565b6116e5565b611346576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f8152602001806137c0602f913960400191505060405180910390fd5b61135082826123ff565b5050565b60006113a782600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061249390919063ffffffff16565b905092915050565b6113b761231b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161461143a576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613a9d602f913960400191505060405180910390fd5b61144482826124ad565b5050565b611463838383604051806020016040528060008152506119da565b505050565b60008061147f83600261254190919063ffffffff16565b50905080915050919050565b60006114bb8260405180606001604052806029815260200161395960299139600261256d9092919063ffffffff16565b9050919050565b606060098054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561155a5780601f1061152f5761010080835404028352916020019161155a565b820191906000526020600020905b81548152906001019060200180831161153d57829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156115eb576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602a81526020018061392f602a913960400191505060405180910390fd5b611632600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061258c565b9050919050565b600080600d600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16600d600085815260200190815260200160002060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1691509150915091565b60006116dd82600a60008681526020019081526020016000206000016125a190919063ffffffff16565b905092915050565b600061170f82600a60008681526020019081526020016000206000016125bb90919063ffffffff16565b905092915050565b600d6020528060005260406000206000915090508060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16908060010160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905082565b606060078054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156118135780601f106117e857610100808354040283529160200191611813565b820191906000526020600020905b8154815290600101906020018083116117f657829003601f168201915b5050505050905090565b6000801b81565b61182c61231b565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156118cd576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260198152602001807f4552433732313a20617070726f766520746f2063616c6c65720000000000000081525060200191505060405180910390fd5b80600560006118da61231b565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661198761231b565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c318360405180821515815260200191505060405180910390a35050565b60011515600b60009054906101000a900460ff16151514611a63576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f537461747573206e6f742061637469766500000000000000000000000000000081525060200191505060405180910390fd5b611a74611a6e61231b565b836125eb565b611ac9576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401808060200182810382526031815260200180613a6c6031913960400191505060405180910390fd5b8273ffffffffffffffffffffffffffffffffffffffff16600d600084815260200190815260200160002060000160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611b83576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260238152602001806139d06023913960400191505060405180910390fd5b611b8f848484846126df565b50505050565b600b60019054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff1614611c3b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806138c76030913960400191505060405180910390fd5b611c657fdfbefbf47cfe66b701d8cfdbce1de81c821590819cb07e71cb01b6602fb0ee27826123f1565b50565b6060611c73826122fe565b611cc8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602f815260200180613a1c602f913960400191505060405180910390fd5b6060600860008481526020019081526020016000208054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015611d715780601f10611d4657610100808354040283529160200191611d71565b820191906000526020600020905b815481529060010190602001808311611d5457829003601f168201915b50505050509050600060098054600181600116156101000203166002900490501415611da05780915050611f4c565b600081511115611e79576009816040516020018083805460018160011615610100020316600290048015611e0b5780601f10611de9576101008083540402835291820191611e0b565b820191906000526020600020905b815481529060010190602001808311611df7575b505082805190602001908083835b60208310611e3c5780518252602082019150602081019050602083039250611e19565b6001836020036101000a03801982511681845116808217855250505050505090500192505050604051602081830303815290604052915050611f4c565b6009611e8484612751565b6040516020018083805460018160011615610100020316600290048015611ee25780601f10611ec0576101008083540402835291820191611ee2565b820191906000526020600020905b815481529060010190602001808311611ece575b505082805190602001908083835b60208310611f135780518252602082019150602081019050602083039250611ef0565b6001836020036101000a038019825116818451168082178552505050505050905001925050506040516020818303038152906040529150505b919050565b6000611f71600a6000848152602001908152602001600020600001612898565b9050919050565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b611fc3600a600084815260200190815260200160002060020154611fbe61231b565b6116e5565b612018576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260308152602001806138976030913960400191505060405180910390fd5b61202282826124ad565b5050565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b600060011515600b60009054906101000a900460ff16151514612145576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260118152602001807f537461747573206e6f742061637469766500000000000000000000000000000081525060200191505060405180910390fd5b61216f7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a6336116e5565b6121e1576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260168152602001807f43616c6c6572206973206e6f742061206d696e7465720000000000000000000081525060200191505060405180910390fd5b6121eb600c6128ad565b60006121f7600c6128c3565b9050612201613757565b60405180604001604052808673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff16815250905080600d600084815260200190815260200160002060008201518160000160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555060208201518160010160006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055509050506122f384836128d1565b819250505092915050565b6000612314826002612ac590919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff166123968361148b565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006123ea82600001612adf565b9050919050565b6123fb82826123ff565b5050565b61242781600a6000858152602001908152602001600020600001612af090919063ffffffff16565b1561248f5761243461231b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45b5050565b60006124a28360000183612b20565b60001c905092915050565b6124d581600a6000858152602001908152602001600020600001612ba390919063ffffffff16565b1561253d576124e261231b565b73ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45b5050565b6000806000806125548660000186612bd3565b915091508160001c8160001c9350935050509250929050565b6000612580846000018460001b84612c6c565b60001c90509392505050565b600061259a82600001612d62565b9050919050565b60006125b08360000183612b20565b60001c905092915050565b60006125e3836000018373ffffffffffffffffffffffffffffffffffffffff1660001b612d73565b905092915050565b60006125f6826122fe565b61264b576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602c81526020018061386b602c913960400191505060405180910390fd5b60006126568361148b565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff1614806126c557508373ffffffffffffffffffffffffffffffffffffffff166126ad84610f2b565b73ffffffffffffffffffffffffffffffffffffffff16145b806126d657506126d58185612026565b5b91505092915050565b6126ea848484612d96565b6126f684848484612fd9565b61274b576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260328152602001806137ef6032913960400191505060405180910390fd5b50505050565b60606000821415612799576040518060400160405280600181526020017f30000000000000000000000000000000000000000000000000000000000000008152509050612893565b600082905060005b600082146127c3578080600101915050600a82816127bb57fe5b0491506127a1565b60608167ffffffffffffffff811180156127dc57600080fd5b506040519080825280601f01601f19166020018201604052801561280f5781602001600182028036833780820191505090505b50905060006001830390508593505b6000841461288b57600a848161283057fe5b0660300160f81b8282806001900393508151811061284a57fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a848161288357fe5b04935061281e565b819450505050505b919050565b60006128a682600001612d62565b9050919050565b6001816000016000828254019250508190555050565b600081600001549050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612974576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260208152602001807f4552433732313a206d696e7420746f20746865207a65726f206164647265737381525060200191505060405180910390fd5b61297d816122fe565b156129f0576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601c8152602001807f4552433732313a20746f6b656e20616c7265616479206d696e7465640000000081525060200191505060405180910390fd5b6129fc600083836131f2565b612a4d81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206131f790919063ffffffff16565b50612a64818360026132119092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000612ad7836000018360001b613246565b905092915050565b600081600001805490509050919050565b6000612b18836000018373ffffffffffffffffffffffffffffffffffffffff1660001b613269565b905092915050565b600081836000018054905011612b81576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602281526020018061379e6022913960400191505060405180910390fd5b826000018281548110612b9057fe5b9060005260206000200154905092915050565b6000612bcb836000018373ffffffffffffffffffffffffffffffffffffffff1660001b6132d9565b905092915050565b60008082846000018054905011612c35576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806139826022913960400191505060405180910390fd5b6000846000018481548110612c4657fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390612d33576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b83811015612cf8578082015181840152602081019050612cdd565b50505050905090810190601f168015612d255780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b50846000016001820381548110612d4657fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b600080836001016000848152602001908152602001600020541415905092915050565b8273ffffffffffffffffffffffffffffffffffffffff16612db68261148b565b73ffffffffffffffffffffffffffffffffffffffff1614612e22576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260298152602001806139f36029913960400191505060405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612ea8576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260248152602001806138216024913960400191505060405180910390fd5b612eb38383836131f2565b612ebe600082612323565b612f0f81600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206133c190919063ffffffff16565b50612f6181600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020019081526020016000206131f790919063ffffffff16565b50612f78818360026132119092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000612ffa8473ffffffffffffffffffffffffffffffffffffffff166133db565b61300757600190506131ea565b606061317163150b7a0260e01b61301c61231b565b888787604051602401808573ffffffffffffffffffffffffffffffffffffffff1681526020018473ffffffffffffffffffffffffffffffffffffffff16815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156130a0578082015181840152602081019050613085565b50505050905090810190601f1680156130cd5780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518060600160405280603281526020016137ef603291398773ffffffffffffffffffffffffffffffffffffffff166133ee9092919063ffffffff16565b9050600081806020019051602081101561318a57600080fd5b8101908080519060200190929190505050905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b505050565b6000613209836000018360001b613269565b905092915050565b600061323d846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b613406565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b60006132758383612d73565b6132ce5782600001829080600181540180825580915050600190039060005260206000200160009091909190915055826000018054905083600101600084815260200190815260200160002081905550600190506132d3565b600090505b92915050565b600080836001016000848152602001908152602001600020549050600081146133b5576000600182039050600060018660000180549050039050600086600001828154811061332457fe5b906000526020600020015490508087600001848154811061334157fe5b906000526020600020018190555060018301876001016000838152602001908152602001600020819055508660000180548061337957fe5b600190038181906000526020600020016000905590558660010160008781526020019081526020016000206000905560019450505050506133bb565b60009150505b92915050565b60006133d3836000018360001b6132d9565b905092915050565b600080823b905060008111915050919050565b60606133fd84846000856134e2565b90509392505050565b60008084600101600085815260200190815260200160002054905060008114156134ad578460000160405180604001604052808681526020018581525090806001815401808255809150506001900390600052602060002090600202016000909190919091506000820151816000015560208201518160010155505084600001805490508560010160008681526020019081526020016000208190555060019150506134db565b828560000160018303815481106134c057fe5b90600052602060002090600202016001018190555060009150505b9392505050565b60608247101561353d576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260268152602001806138456026913960400191505060405180910390fd5b613546856133db565b6135b8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252601d8152602001807f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000081525060200191505060405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff1685876040518082805190602001908083835b6020831061360857805182526020820191506020810190506020830392506135e5565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461366a576040519150601f19603f3d011682016040523d82523d6000602084013e61366f565b606091505b509150915061367f82828661368b565b92505050949350505050565b6060831561369b57829050613750565b6000835111156136ae5782518084602001fd5b816040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825283818151815260200191508051906020019080838360005b838110156137155780820151818401526020810190506136fa565b50505050905090810190601f1680156137425780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b9392505050565b6040518060400160405280600073ffffffffffffffffffffffffffffffffffffffff168152602001600073ffffffffffffffffffffffffffffffffffffffff168152509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a207472616e7366657220746f20746865207a65726f2061646472657373416464726573733a20696e73756666696369656e742062616c616e636520666f722063616c6c4552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654f6e6c7920496e76657374696e2063616e20736574207468652066756e64466163746f727920416464726573736573734552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e596f752063616e206f6e6c792073656e6420746f2066756e64496e74656772617465644552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e4552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a26469706673582212204185e434d7fef72adc0e4ba398657a8e107adb3854d73e83ba9c4390d30701b164736f6c634300060c0033

Deployed Bytecode Sourcemap

66637:2491:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;9557:142;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;66803:64;;;:::i;:::-;;;;;;;;;;;;;;;;;;;45110:92;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47797:213;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;47341:390;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46835:203;;;:::i;:::-;;;;;;;;;;;;;;;;;;;67241:80;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;68272:189;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;68475:202;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;61952:114;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;62328:227;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;46605:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;63537:209;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;49047:151;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;47115:164;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;44874:169;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;46432:89;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44597:215;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;68088:170;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61625:138;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;60586:139;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;67188:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45271:96;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59331:49;;;:::i;:::-;;;;;;;;;;;;;;;;;;;48082:295;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;68693:432;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;67331:235;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;45438:755;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60899:127;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;66734:62;;;:::i;:::-;;;;;;;;;;;;;;;;;;;62800:230;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;48448:156;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;67576:504;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;9557:142;9634:4;9658:20;:33;9679:11;9658:33;;;;;;;;;;;;;;;;;;;;;;;;;;;9651:40;;9557:142;;;:::o;66803:64::-;66842:25;66803:64;:::o;45110:92::-;45156:13;45189:5;45182:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45110:92;:::o;47797:213::-;47865:7;47893:16;47901:7;47893;:16::i;:::-;47885:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47978:15;:24;47994:7;47978:24;;;;;;;;;;;;;;;;;;;;;47971:31;;47797:213;;;:::o;47341:390::-;47422:13;47438:16;47446:7;47438;:16::i;:::-;47422:32;;47479:5;47473:11;;:2;:11;;;;47465:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47559:5;47543:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;47568:37;47585:5;47592:12;:10;:12::i;:::-;47568:16;:37::i;:::-;47543:62;47535:154;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;47702:21;47711:2;47715:7;47702:8;:21::i;:::-;47341:390;;;:::o;46835:203::-;46888:7;47009:21;:12;:19;:21::i;:::-;47002:28;;46835:203;:::o;67241:80::-;67306:7;67297:6;;:16;;;;;;;;;;;;;;;;;;67241:80;:::o;68272:189::-;68345:33;66842:25;68367:10;68345:7;:33::i;:::-;68337:69;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68417:36;66772:24;68441:11;68417:10;:36::i;:::-;68272:189;:::o;68475:202::-;68593:4;68583:14;;:6;;;;;;;;;;;:14;;;68575:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68630:39;68647:4;68653:2;68657:7;68630:39;;;;;;;;;;;;:16;:39::i;:::-;68475:202;;;:::o;61952:114::-;62009:7;62036:6;:12;62043:4;62036:12;;;;;;;;;;;:22;;;62029:29;;61952:114;;;:::o;62328:227::-;62412:45;62420:6;:12;62427:4;62420:12;;;;;;;;;;;:22;;;62444:12;:10;:12::i;:::-;62412:7;:45::i;:::-;62404:105;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62522:25;62533:4;62539:7;62522:10;:25::i;:::-;62328:227;;:::o;46605:154::-;46694:7;46721:30;46745:5;46721:13;:20;46735:5;46721:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;46714:37;;46605:154;;;;:::o;63537:209::-;63635:12;:10;:12::i;:::-;63624:23;;:7;:23;;;63616:83;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63712:26;63724:4;63730:7;63712:11;:26::i;:::-;63537:209;;:::o;49047:151::-;49151:39;49168:4;49174:2;49178:7;49151:39;;;;;;;;;;;;:16;:39::i;:::-;49047:151;;;:::o;47115:164::-;47182:7;47203:15;47224:22;47240:5;47224:12;:15;;:22;;;;:::i;:::-;47202:44;;;47264:7;47257:14;;;47115:164;;;:::o;44874:169::-;44938:7;44965:70;44982:7;44965:70;;;;;;;;;;;;;;;;;:12;:16;;:70;;;;;:::i;:::-;44958:77;;44874:169;;;:::o;46432:89::-;46472:13;46505:8;46498:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46432:89;:::o;44597:215::-;44661:7;44706:1;44689:19;;:5;:19;;;;44681:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;44775:29;:13;:20;44789:5;44775:20;;;;;;;;;;;;;;;:27;:29::i;:::-;44768:36;;44597:215;;;:::o;68088:170::-;68150:7;68159;68187:6;:16;68194:8;68187:16;;;;;;;;;;;:28;;;;;;;;;;;;68217:6;:16;68224:8;68217:16;;;;;;;;;;;:32;;;;;;;;;;;;68179:71;;;;68088:170;;;:::o;61625:138::-;61698:7;61725:30;61749:5;61725:6;:12;61732:4;61725:12;;;;;;;;;;;:20;;:23;;:30;;;;:::i;:::-;61718:37;;61625:138;;;;:::o;60586:139::-;60655:4;60679:38;60709:7;60679:6;:12;60686:4;60679:12;;;;;;;;;;;:20;;:29;;:38;;;;:::i;:::-;60672:45;;60586:139;;;;:::o;67188:40::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;45271:96::-;45319:13;45352:7;45345:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45271:96;:::o;59331:49::-;59376:4;59331:49;;;:::o;48082:295::-;48197:12;:10;:12::i;:::-;48185:24;;:8;:24;;;;48177:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48297:8;48252:18;:32;48271:12;:10;:12::i;:::-;48252:32;;;;;;;;;;;;;;;:42;48285:8;48252:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;48350:8;48321:48;;48336:12;:10;:12::i;:::-;48321:48;;;48360:8;48321:48;;;;;;;;;;;;;;;;;;;;48082:295;;:::o;68693:432::-;68835:4;68825:14;;:6;;;;;;;;;;;:14;;;68817:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68880:41;68899:12;:10;:12::i;:::-;68913:7;68880:18;:41::i;:::-;68872:103;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69025:2;68994:33;;:6;:15;69001:7;68994:15;;;;;;;;;;;:27;;;;;;;;;;;;:33;;;68986:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69078:39;69092:4;69098:2;69102:7;69111:5;69078:13;:39::i;:::-;68693:432;;;;:::o;67331:235::-;67426:15;;;;;;;;;;;67412:29;;:10;:29;;;67404:90;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67513:45;66842:25;67538:19;67513:10;:45::i;:::-;67331:235;:::o;45438:755::-;45503:13;45537:16;45545:7;45537;:16::i;:::-;45529:76;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45618:23;45644:10;:19;45655:7;45644:19;;;;;;;;;;;45618:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45765:1;45745:8;45739:22;;;;;;;;;;;;;;;;:27;45735:76;;;45790:9;45783:16;;;;;45735:76;45941:1;45921:9;45915:23;:27;45911:112;;;45990:8;46000:9;45973:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;45959:52;;;;;45911:112;46155:8;46165:18;:7;:16;:18::i;:::-;46138:46;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46124:61;;;45438:755;;;;:::o;60899:127::-;60962:7;60989:29;:6;:12;60996:4;60989:12;;;;;;;;;;;:20;;:27;:29::i;:::-;60982:36;;60899:127;;;:::o;66734:62::-;66772:24;66734:62;:::o;62800:230::-;62885:45;62893:6;:12;62900:4;62893:12;;;;;;;;;;;:22;;;62917:12;:10;:12::i;:::-;62885:7;:45::i;:::-;62877:106;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;62996:26;63008:4;63014:7;62996:11;:26::i;:::-;62800:230;;:::o;48448:156::-;48537:4;48561:18;:25;48580:5;48561:25;;;;;;;;;;;;;;;:35;48587:8;48561:35;;;;;;;;;;;;;;;;;;;;;;;;;48554:42;;48448:156;;;;:::o;67576:504::-;67654:7;67692:4;67682:14;;:6;;;;;;;;;;;:14;;;67674:44;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67737:32;66772:24;67758:10;67737:7;:32::i;:::-;67729:67;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67813:19;:7;:17;:19::i;:::-;67843:16;67862:17;:7;:15;:17::i;:::-;67843:36;;67900:19;;:::i;:::-;67922:35;;;;;;;;67928:11;67922:35;;;;;;67941:15;67922:35;;;;;67900:57;;67997:6;67978;:16;67985:8;67978:16;;;;;;;;;;;:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68014:32;68020:15;68037:8;68014:5;:32::i;:::-;68064:8;68057:15;;;;67576:504;;;;:::o;51021:119::-;51078:4;51102:30;51124:7;51102:12;:21;;:30;;;;:::i;:::-;51095:37;;51021:119;;;:::o;605:106::-;658:15;693:10;686:17;;605:106;:::o;56848:158::-;56941:2;56914:15;:24;56930:7;56914:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;56990:7;56986:2;56959:39;;56968:16;56976:7;56968;:16::i;:::-;56959:39;;;;;;;;;;;;56848:158;;:::o;38706:123::-;38775:7;38802:19;38810:3;:10;;38802:7;:19::i;:::-;38795:26;;38706:123;;;:::o;64329:112::-;64408:25;64419:4;64425:7;64408:10;:25::i;:::-;64329:112;;:::o;64780:188::-;64854:33;64879:7;64854:6;:12;64861:4;64854:12;;;;;;;;;;;:20;;:24;;:33;;;;:::i;:::-;64850:111;;;64936:12;:10;:12::i;:::-;64909:40;;64927:7;64909:40;;64921:4;64909:40;;;;;;;;;;64850:111;64780:188;;:::o;31395:137::-;31466:7;31501:22;31505:3;:10;;31517:5;31501:3;:22::i;:::-;31493:31;;31486:38;;31395:137;;;;:::o;64976:192::-;65051:36;65079:7;65051:6;:12;65058:4;65051:12;;;;;;;;;;;:20;;:27;;:36;;;;:::i;:::-;65047:114;;;65136:12;:10;:12::i;:::-;65109:40;;65127:7;65109:40;;65121:4;65109:40;;;;;;;;;;65047:114;64976:192;;:::o;39168:227::-;39248:7;39257;39278:11;39291:13;39308:22;39312:3;:10;;39324:5;39308:3;:22::i;:::-;39277:53;;;;39357:3;39349:12;;39379:5;39371:14;;39341:46;;;;;;39168:227;;;;;:::o;39830:204::-;39937:7;39980:44;39985:3;:10;;40005:3;39997:12;;40011;39980:4;:44::i;:::-;39972:53;;39957:69;;39830:204;;;;;:::o;30937:114::-;30997:7;31024:19;31032:3;:10;;31024:7;:19::i;:::-;31017:26;;30937:114;;;:::o;29776:149::-;29850:7;29893:22;29897:3;:10;;29909:5;29893:3;:22::i;:::-;29885:31;;29870:47;;29776:149;;;;:::o;29071:158::-;29151:4;29175:46;29185:3;:10;;29213:5;29205:14;;29197:23;;29175:9;:46::i;:::-;29168:53;;29071:158;;;;:::o;51307:333::-;51392:4;51417:16;51425:7;51417;:16::i;:::-;51409:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51493:13;51509:16;51517:7;51509;:16::i;:::-;51493:32;;51555:5;51544:16;;:7;:16;;;:51;;;;51588:7;51564:31;;:20;51576:7;51564:11;:20::i;:::-;:31;;;51544:51;:87;;;;51599:32;51616:5;51623:7;51599:16;:32::i;:::-;51544:87;51536:96;;;51307:333;;;;:::o;50436:272::-;50550:28;50560:4;50566:2;50570:7;50550:9;:28::i;:::-;50597:48;50620:4;50626:2;50630:7;50639:5;50597:22;:48::i;:::-;50589:111;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;50436:272;;;;:::o;40197:744::-;40253:13;40483:1;40474:5;:10;40470:53;;;40501:10;;;;;;;;;;;;;;;;;;;;;40470:53;40533:12;40548:5;40533:20;;40564:14;40589:78;40604:1;40596:4;:9;40589:78;;40622:8;;;;;;;40653:2;40645:10;;;;;;;;;40589:78;;;40677:19;40709:6;40699:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;40677:39;;40727:13;40752:1;40743:6;:10;40727:26;;40771:5;40764:12;;40787:115;40802:1;40794:4;:9;40787:115;;40861:2;40854:4;:9;;;;;;40849:2;:14;40838:27;;40820:6;40827:7;;;;;;;40820:15;;;;;;;;;;;:45;;;;;;;;;;;40888:2;40880:10;;;;;;;;;40787:115;;;40926:6;40912:21;;;;;;40197:744;;;;:::o;29315:117::-;29378:7;29405:19;29413:3;:10;;29405:7;:19::i;:::-;29398:26;;29315:117;;;:::o;66331:181::-;66503:1;66485:7;:14;;;:19;;;;;;;;;;;66331:181;:::o;66209:114::-;66274:7;66301;:14;;;66294:21;;66209:114;;;:::o;52906:404::-;53000:1;52986:16;;:2;:16;;;;52978:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53059:16;53067:7;53059;:16::i;:::-;53058:17;53050:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53121:45;53150:1;53154:2;53158:7;53121:20;:45::i;:::-;53179:30;53201:7;53179:13;:17;53193:2;53179:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;53222:29;53239:7;53248:2;53222:12;:16;;:29;;;;;:::i;:::-;;53294:7;53290:2;53269:33;;53286:1;53269:33;;;;;;;;;;;;52906:404;;:::o;38467:151::-;38551:4;38575:35;38585:3;:10;;38605:3;38597:12;;38575:9;:35::i;:::-;38568:42;;38467:151;;;;:::o;36089:110::-;36145:7;36172:3;:12;;:19;;;;36165:26;;36089:110;;;:::o;28517:143::-;28587:4;28611:41;28616:3;:10;;28644:5;28636:14;;28628:23;;28611:4;:41::i;:::-;28604:48;;28517:143;;;;:::o;28059:204::-;28126:7;28175:5;28154:3;:11;;:18;;;;:26;28146:73;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28237:3;:11;;28249:5;28237:18;;;;;;;;;;;;;;;;28230:25;;28059:204;;;;:::o;28836:149::-;28909:4;28933:44;28941:3;:10;;28969:5;28961:14;;28953:23;;28933:7;:44::i;:::-;28926:51;;28836:149;;;;:::o;36554:279::-;36621:7;36630;36680:5;36658:3;:12;;:19;;;;:27;36650:74;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;36737:22;36762:3;:12;;36775:5;36762:19;;;;;;;;;;;;;;;;;;36737:44;;36800:5;:10;;;36812:5;:12;;;36792:33;;;;;36554:279;;;;;:::o;37256:319::-;37350:7;37370:16;37389:3;:12;;:17;37402:3;37389:17;;;;;;;;;;;;37370:36;;37437:1;37425:8;:13;;37440:12;37417:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;37507:3;:12;;37531:1;37520:8;:12;37507:26;;;;;;;;;;;;;;;;;;:33;;;37500:40;;;37256:319;;;;;:::o;27606:109::-;27662:7;27689:3;:11;;:18;;;;27682:25;;27606:109;;;:::o;27391:129::-;27464:4;27511:1;27488:3;:12;;:19;27501:5;27488:19;;;;;;;;;;;;:24;;27481:31;;27391:129;;;;:::o;54396:574::-;54514:4;54494:24;;:16;54502:7;54494;:16::i;:::-;:24;;;54486:78;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54597:1;54583:16;;:2;:16;;;;54575:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54653:39;54674:4;54680:2;54684:7;54653:20;:39::i;:::-;54757:29;54774:1;54778:7;54757:8;:29::i;:::-;54799:35;54826:7;54799:13;:19;54813:4;54799:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;54845:30;54867:7;54845:13;:17;54859:2;54845:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;54888:29;54905:7;54914:2;54888:12;:16;;:29;;;;;:::i;:::-;;54954:7;54950:2;54935:27;;54944:4;54935:27;;;;;;;;;;;;54396:574;;;:::o;56236:604::-;56357:4;56384:15;:2;:13;;;:15::i;:::-;56379:60;;56423:4;56416:11;;;;56379:60;56449:23;56475:252;56528:45;;;56588:12;:10;:12::i;:::-;56615:4;56634:7;56656:5;56491:181;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56475:252;;;;;;;;;;;;;;;;;:2;:15;;;;:252;;;;;:::i;:::-;56449:278;;56738:13;56765:10;56754:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56738:48;;41598:10;56815:16;;56805:26;;;:6;:26;;;;56797:35;;;;56236:604;;;;;;;:::o;57619:93::-;;;;:::o;30175:131::-;30242:4;30266:32;30271:3;:10;;30291:5;30283:14;;30266:4;:32::i;:::-;30259:39;;30175:131;;;;:::o;37899:176::-;37988:4;38012:55;38017:3;:10;;38037:3;38029:12;;38059:5;38051:14;;38043:23;;38012:4;:55::i;:::-;38005:62;;37899:176;;;;;:::o;35869:125::-;35940:4;35985:1;35964:3;:12;;:17;35977:3;35964:17;;;;;;;;;;;;:22;;35957:29;;35869:125;;;;:::o;25171:414::-;25234:4;25256:21;25266:3;25271:5;25256:9;:21::i;:::-;25251:327;;25294:3;:11;;25311:5;25294:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;25477:3;:11;;:18;;;;25455:3;:12;;:19;25468:5;25455:19;;;;;;;;;;;:40;;;;25517:4;25510:11;;;;25251:327;25561:5;25554:12;;25171:414;;;;;:::o;25761:1544::-;25827:4;25945:18;25966:3;:12;;:19;25979:5;25966:19;;;;;;;;;;;;25945:40;;26016:1;26002:10;:15;25998:1300;;26364:21;26401:1;26388:10;:14;26364:38;;26417:17;26458:1;26437:3;:11;;:18;;;;:22;26417:42;;26704:17;26724:3;:11;;26736:9;26724:22;;;;;;;;;;;;;;;;26704:42;;26870:9;26841:3;:11;;26853:13;26841:26;;;;;;;;;;;;;;;:38;;;;26989:1;26973:13;:17;26947:3;:12;;:23;26960:9;26947:23;;;;;;;;;;;:43;;;;27099:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;27194:3;:12;;:19;27207:5;27194:19;;;;;;;;;;;27187:26;;;27237:4;27230:11;;;;;;;;25998:1300;27281:5;27274:12;;;25761:1544;;;;;:::o;30482:137::-;30552:4;30576:35;30584:3;:10;;30604:5;30596:14;;30576:7;:35::i;:::-;30569:42;;30482:137;;;;:::o;16305:422::-;16365:4;16573:12;16684:7;16672:20;16664:28;;16718:1;16711:4;:8;16704:15;;;16305:422;;;:::o;19223:195::-;19326:12;19358:52;19380:6;19388:4;19394:1;19397:12;19358:21;:52::i;:::-;19351:59;;19223:195;;;;;:::o;33369:692::-;33445:4;33561:16;33580:3;:12;;:17;33593:3;33580:17;;;;;;;;;;;;33561:36;;33626:1;33614:8;:13;33610:444;;;33681:3;:12;;33699:38;;;;;;;;33716:3;33699:38;;;;33729:5;33699:38;;;33681:57;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33896:3;:12;;:19;;;;33876:3;:12;;:17;33889:3;33876:17;;;;;;;;;;;:39;;;;33937:4;33930:11;;;;;33610:444;34010:5;33974:3;:12;;33998:1;33987:8;:12;33974:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;34037:5;34030:12;;;33369:692;;;;;;:::o;20275:530::-;20402:12;20460:5;20435:21;:30;;20427:81;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20527:18;20538:6;20527:10;:18::i;:::-;20519:60;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20653:12;20667:23;20694:6;:11;;20714:5;20722:4;20694:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20652:75;;;;20745:52;20763:7;20772:10;20784:12;20745:17;:52::i;:::-;20738:59;;;;20275:530;;;;;;:::o;22815:742::-;22930:12;22959:7;22955:595;;;22990:10;22983:17;;;;22955:595;23124:1;23104:10;:17;:21;23100:439;;;23367:10;23361:17;23428:15;23415:10;23411:2;23407:19;23400:44;23315:148;23510:12;23503:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22815:742;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;:::o

Swarm Source

ipfs://4185e434d7fef72adc0e4ba398657a8e107adb3854d73e83ba9c4390d30701b1

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]

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