Contract 0x6ab7d1e885db01043cbee7d452ec2c1d257c4a27

Contract Overview

Balance:
0 BTT
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x82805e4463d85b31774a2d951c05a50cc558eaa5b05e2ec0fbd1ba6d40c7840dWithdraw To39771222022-03-01 10:42:15758 days 18 hrs ago0x62c3adbece50a544aa3c45b53f86f672feb44ebc IN  0x6ab7d1e885db01043cbee7d452ec2c1d257c4a270 BTT14.1603
0x1fd9c7eb44fdcf9a973139e8d5d7a4d80de6ce1d895a399a6cdcc5de658dc413Mint39771132022-03-01 10:41:57758 days 18 hrs ago0x62c3adbece50a544aa3c45b53f86f672feb44ebc IN  0x6ab7d1e885db01043cbee7d452ec2c1d257c4a270 BTT55.4778
0xb050adf3e197f4c789a45078627a7d62cf8e5405ce21eaf4c47d00a8cbe1a2c60x6080604039750372022-03-01 9:30:33758 days 19 hrs ago0x62c3adbece50a544aa3c45b53f86f672feb44ebc IN  Create: ChildMintableERC7210 BTT1,077.9747
[ Download CSV Export 
Parent Txn Hash Block From To Value
Index Block
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ChildMintableERC721

Compiler Version
v0.6.6+commit.6c089d02

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at testnet.bttcscan.com on 2022-03-01
*/

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

// File: @openzeppelin/contracts/token/ERC721/IERC721.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Metadata.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Enumerable.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

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

// File: @openzeppelin/contracts/token/ERC721/IERC721Receiver.sol

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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


    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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 Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     */
    function _tryGet(Map storage map, bytes32 key) private view returns (bool, bytes32) {
        uint256 keyIndex = map._indexes[key];
        if (keyIndex == 0) return (false, 0); // Equivalent to contains(map, key)
        return (true, map._entries[keyIndex - 1]._value); // All indexes are 1-based
    }

    /**
     * @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) {
        uint256 keyIndex = map._indexes[key];
        require(keyIndex != 0, "EnumerableMap: nonexistent key"); // Equivalent to contains(map, key)
        return map._entries[keyIndex - 1]._value; // All indexes are 1-based
    }

    /**
     * @dev Same as {_get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {_tryGet}.
     */
    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(uint160(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(uint160(uint256(value))));
    }

    /**
     * @dev Tries to returns the value associated with `key`.  O(1).
     * Does not revert if `key` is not in the map.
     *
     * _Available since v3.4._
     */
    function tryGet(UintToAddressMap storage map, uint256 key) internal view returns (bool, address) {
        (bool success, bytes32 value) = _tryGet(map._inner, bytes32(key));
        return (success, address(uint160(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(uint160(uint256(_get(map._inner, bytes32(key)))));
    }

    /**
     * @dev Same as {get}, with a custom error message when `key` is not in the map.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryGet}.
     */
    function get(UintToAddressMap storage map, uint256 key, string memory errorMessage) internal view returns (address) {
        return address(uint160(uint256(_get(map._inner, bytes32(key), errorMessage))));
    }
}

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @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--] = bytes1(uint8(48 + temp % 10));
            temp /= 10;
        }
        return string(buffer);
    }
}

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;











/**
 * @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 virtual 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 virtual override returns (address) {
        return _tokenOwners.get(tokenId, "ERC721: owner query for nonexistent token");
    }

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

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

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

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

        // If there is no base URI, return the token URI.
        if (bytes(base).length == 0) {
            return _tokenURI;
        }
        // If both are set, concatenate the baseURI and tokenURI (via abi.encodePacked).
        if (bytes(_tokenURI).length > 0) {
            return string(abi.encodePacked(base, _tokenURI));
        }
        // If there is a baseURI but no tokenURI, concatenate the tokenID to the baseURI.
        return string(abi.encodePacked(base, 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 virtual returns (string memory) {
        return _baseURI;
    }

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

    /**
     * @dev See {IERC721Enumerable-totalSupply}.
     */
    function totalSupply() public view virtual 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 virtual 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 = ERC721.ownerOf(tokenId);
        require(to != owner, "ERC721: approval to current owner");

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

    /**
     * @dev See {IERC721-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        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 virtual override returns (bool) {
        return _operatorApprovals[owner][operator];
    }

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

        _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(ERC721.ownerOf(tokenId) == from, "ERC721: transfer of token that is not own"); // internal owner
        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);
    }

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

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

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

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;



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

// File: contracts/common/AccessControlMixin.sol

pragma solidity 0.6.6;

contract AccessControlMixin is AccessControl {
    string private _revertMsg;
    function _setupContractId(string memory contractId) internal {
        _revertMsg = string(abi.encodePacked(contractId, ": INSUFFICIENT_PERMISSIONS"));
    }

    modifier only(bytes32 role) {
        require(
            hasRole(role, _msgSender()),
            _revertMsg
        );
        _;
    }
}

// File: contracts/child/ChildToken/IChildToken.sol

pragma solidity 0.6.6;

interface IChildToken {
    event WithdrawTo(address indexed from, address indexed to, uint256 amount);
    function deposit(address user, bytes calldata depositData) external;
}

// File: contracts/common/Initializable.sol

pragma solidity 0.6.6;

contract Initializable {
    bool inited = false;

    modifier initializer() {
        require(!inited, "already inited");
        _;
        inited = true;
    }
}

// File: contracts/common/EIP712Base.sol

pragma solidity 0.6.6;

contract EIP712Base is Initializable {
    struct EIP712Domain {
        string name;
        string version;
        address verifyingContract;
        bytes32 salt;
    }

    string constant public ERC712_VERSION = "1";

    bytes32 internal constant EIP712_DOMAIN_TYPEHASH = keccak256(
        bytes(
            "EIP712Domain(string name,string version,address verifyingContract,bytes32 salt)"
        )
    );
    bytes32 internal domainSeperator;

    // supposed to be called once while initializing.
    // one of the contractsa that inherits this contract follows proxy pattern
    // so it is not possible to do this in a constructor
    function _initializeEIP712(
        string memory name
    )
        internal
        initializer
    {
        _setDomainSeperator(name);
    }

    function _setDomainSeperator(string memory name) internal {
        domainSeperator = keccak256(
            abi.encode(
                EIP712_DOMAIN_TYPEHASH,
                keccak256(bytes(name)),
                keccak256(bytes(ERC712_VERSION)),
                address(this),
                bytes32(getChainId())
            )
        );
    }

    function getDomainSeperator() public view returns (bytes32) {
        return domainSeperator;
    }

    function getChainId() public pure returns (uint256) {
        uint256 id;
        assembly {
            id := chainid()
        }
        return id;
    }

    /**
     * Accept message hash and returns hash message in EIP712 compatible form
     * So that it can be used to recover signer from signature signed using EIP712 formatted data
     * https://eips.ethereum.org/EIPS/eip-712
     * "\\x19" makes the encoding deterministic
     * "\\x01" is the version byte to make it compatible to EIP-191
     */
    function toTypedMessageHash(bytes32 messageHash)
        internal
        view
        returns (bytes32)
    {
        return
            keccak256(
                abi.encodePacked("\x19\x01", getDomainSeperator(), messageHash)
            );
    }
}

// File: contracts/common/NativeMetaTransaction.sol

pragma solidity 0.6.6;


contract NativeMetaTransaction is EIP712Base {
    using SafeMath for uint256;
    bytes32 private constant META_TRANSACTION_TYPEHASH = keccak256(
        bytes(
            "MetaTransaction(uint256 nonce,address from,bytes functionSignature)"
        )
    );
    event MetaTransactionExecuted(
        address userAddress,
        address payable relayerAddress,
        bytes functionSignature
    );
    mapping(address => uint256) nonces;

    /*
     * Meta transaction structure.
     * No point of including value field here as if user is doing value transfer then he has the funds to pay for gas
     * He should call the desired function directly in that case.
     */
    struct MetaTransaction {
        uint256 nonce;
        address from;
        bytes functionSignature;
    }

    function executeMetaTransaction(
        address userAddress,
        bytes memory functionSignature,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) public payable returns (bytes memory) {
        MetaTransaction memory metaTx = MetaTransaction({
            nonce: nonces[userAddress],
            from: userAddress,
            functionSignature: functionSignature
        });

        require(
            verify(userAddress, metaTx, sigR, sigS, sigV),
            "Signer and signature do not match"
        );

        // increase nonce for user (to avoid re-use)
        nonces[userAddress] = nonces[userAddress].add(1);

        emit MetaTransactionExecuted(
            userAddress,
            msg.sender,
            functionSignature
        );

        // Append userAddress and relayer address at the end to extract it from calling context
        (bool success, bytes memory returnData) = address(this).call(
            abi.encodePacked(functionSignature, userAddress)
        );
        require(success, "Function call not successful");

        return returnData;
    }

    function hashMetaTransaction(MetaTransaction memory metaTx)
        internal
        pure
        returns (bytes32)
    {
        return
            keccak256(
                abi.encode(
                    META_TRANSACTION_TYPEHASH,
                    metaTx.nonce,
                    metaTx.from,
                    keccak256(metaTx.functionSignature)
                )
            );
    }

    function getNonce(address user) public view returns (uint256 nonce) {
        nonce = nonces[user];
    }

    function verify(
        address signer,
        MetaTransaction memory metaTx,
        bytes32 sigR,
        bytes32 sigS,
        uint8 sigV
    ) internal view returns (bool) {
        require(signer != address(0), "NativeMetaTransaction: INVALID_SIGNER");
        return
            signer ==
            ecrecover(
                toTypedMessageHash(hashMetaTransaction(metaTx)),
                sigV,
                sigR,
                sigS
            );
    }
}

// File: contracts/common/ContextMixin.sol

pragma solidity 0.6.6;

abstract contract ContextMixin {
    function msgSender()
        internal
        view
        returns (address payable sender)
    {
        if (msg.sender == address(this)) {
            bytes memory array = msg.data;
            uint256 index = msg.data.length;
            assembly {
                // Load the 32 bytes word from memory with the address on the lower 20 bytes, and mask those.
                sender := and(
                    mload(add(array, index)),
                    0xffffffffffffffffffffffffffffffffffffffff
                )
            }
        } else {
            sender = msg.sender;
        }
        return sender;
    }
}

// File: contracts/child/ChildToken/ChildMintableERC721.sol

pragma solidity 0.6.6;





contract ChildMintableERC721 is
    ERC721,
    IChildToken,
    AccessControlMixin,
    NativeMetaTransaction,
    ContextMixin
{
    bytes32 public constant DEPOSITOR_ROLE = keccak256("DEPOSITOR_ROLE");
    mapping (uint256 => bool) public withdrawnTokens;

    // limit batching of tokens due to gas limit restrictions
    uint256 public constant BATCH_LIMIT = 20;

    event WithdrawnBatch(address indexed user, uint256[] tokenIds);
    event TransferWithMetadata(address indexed from, address indexed to, uint256 indexed tokenId, bytes metaData);

    constructor(
        string memory name_,
        string memory symbol_,
        address childChainManager
    ) public ERC721(name_, symbol_) {
        _setupContractId("ChildMintableERC721");
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
        _setupRole(DEPOSITOR_ROLE, childChainManager);
        _initializeEIP712(name_);
    }

    // This is to support Native meta transactions
    // never use msg.sender directly, use _msgSender() instead
    function _msgSender()
        internal
        override
        view
        returns (address payable sender)
    {
        return ContextMixin.msgSender();
    }

    /**
     * @notice called when token is deposited on root chain
     * @dev Should be callable only by ChildChainManager
     * Should handle deposit by minting the required tokenId(s) for user
     * Should set `withdrawnTokens` mapping to `false` for the tokenId being deposited
     * Minting can also be done by other functions
     * @param user user address for whom deposit is being done
     * @param depositData abi encoded tokenIds. Batch deposit also supported.
     */
    function deposit(address user, bytes calldata depositData)
        external
        override
        only(DEPOSITOR_ROLE)
    {

        // deposit single
        if (depositData.length == 32) {
            uint256 tokenId = abi.decode(depositData, (uint256));
            withdrawnTokens[tokenId] = false;
            _mint(user, tokenId);

        // deposit batch
        } else {
            uint256[] memory tokenIds = abi.decode(depositData, (uint256[]));
            uint256 length = tokenIds.length;
            for (uint256 i; i < length; i++) {
                withdrawnTokens[tokenIds[i]] = false;
                _mint(user, tokenIds[i]);
            }
        }

    }

    /**
     * @notice called when user wants to withdraw token back to root chain
     * @dev Should handle withraw by burning user's token.
     * Should set `withdrawnTokens` mapping to `true` for the tokenId being withdrawn
     * This transaction will be verified when exiting on root chain
     * @param tokenId tokenId to withdraw
     */
    function withdrawTo(address to, uint256 tokenId) public {
        require(_msgSender() == ownerOf(tokenId), "ChildMintableERC721: INVALID_TOKEN_OWNER");
        withdrawnTokens[tokenId] = true;
        _burn(tokenId);
        emit WithdrawTo(to, address(0x0), tokenId);
    }
    function withdraw(uint256 tokenId) external {
        withdrawTo(_msgSender(), tokenId);
    }

    /**
     * @notice called when user wants to withdraw multiple tokens back to root chain
     * @dev Should burn user's tokens. This transaction will be verified when exiting on root chain
     * @param tokenIds tokenId list to withdraw
     */
    function withdrawBatchTo(address to, uint256[] memory tokenIds) public {

        uint256 length = tokenIds.length;
        require(length <= BATCH_LIMIT, "ChildMintableERC721: EXCEEDS_BATCH_LIMIT");

        // Iteratively burn ERC721 tokens, for performing
        // batch withdraw
        for (uint256 i; i < length; i++) {

            uint256 tokenId = tokenIds[i];

            require(_msgSender() == ownerOf(tokenId), string(abi.encodePacked("ChildMintableERC721: INVALID_TOKEN_OWNER ", tokenId)));
            withdrawnTokens[tokenId] = true;
            _burn(tokenId);

        }

        // At last emit this event, which will be used
        // in MintableERC721 predicate contract on L1
        // while verifying burn proof
        emit WithdrawnBatch(to, tokenIds);

    }
    function withdrawBatch(uint256[] calldata tokenIds) external {
        withdrawBatchTo(_msgSender(), tokenIds);
    }

    /**
     * @notice called when user wants to withdraw token back to root chain with token URI
     * @dev Should handle withraw by burning user's token.
     * Should set `withdrawnTokens` mapping to `true` for the tokenId being withdrawn
     * This transaction will be verified when exiting on root chain
     *
     * @param tokenId tokenId to withdraw
     */
    function withdrawWithMetadataTo(address to, uint256 tokenId) public {

        require(_msgSender() == ownerOf(tokenId), "ChildMintableERC721: INVALID_TOKEN_OWNER");
        withdrawnTokens[tokenId] = true;

        // Encoding metadata associated with tokenId & emitting event
        emit TransferWithMetadata(to, address(0), tokenId, this.encodeTokenMetadata(tokenId));

        _burn(tokenId);

    }
    function withdrawWithMetadata(uint256 tokenId) external {
        withdrawWithMetadataTo(_msgSender(), tokenId);
    }

    /**
     * @notice This method is supposed to be called by client when withdrawing token with metadata
     * and pass return value of this function as second paramter of `withdrawWithMetadata` method
     *
     * It can be overridden by clients to encode data in a different form, which needs to
     * be decoded back by them correctly during exiting
     *
     * @param tokenId Token for which URI to be fetched
     */
    function encodeTokenMetadata(uint256 tokenId) external view virtual returns (bytes memory) {

        // You're always free to change this default implementation
        // and pack more data in byte array which can be decoded back
        // in L1
        return abi.encode(tokenURI(tokenId));

    }

    /**
     * @notice Example function to handle minting tokens on matic chain
     * @dev Minting can be done as per requirement,
     * This implementation allows only admin to mint tokens but it can be changed as per requirement
     * Should verify if token is withdrawn by checking `withdrawnTokens` mapping
     * @param user user for whom tokens are being minted
     * @param tokenId tokenId to mint
     */
    function mint(address user, uint256 tokenId) public only(DEFAULT_ADMIN_ROLE) {
        require(!withdrawnTokens[tokenId], "ChildMintableERC721: TOKEN_EXISTS_ON_ROOT_CHAIN");
        _mint(user, tokenId);
    }
}

Contract ABI

[{"inputs":[{"internalType":"string","name":"name_","type":"string"},{"internalType":"string","name":"symbol_","type":"string"},{"internalType":"address","name":"childChainManager","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"userAddress","type":"address"},{"indexed":false,"internalType":"address payable","name":"relayerAddress","type":"address"},{"indexed":false,"internalType":"bytes","name":"functionSignature","type":"bytes"}],"name":"MetaTransactionExecuted","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"},{"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"},{"indexed":false,"internalType":"bytes","name":"metaData","type":"bytes"}],"name":"TransferWithMetadata","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"WithdrawTo","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"WithdrawnBatch","type":"event"},{"inputs":[],"name":"BATCH_LIMIT","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEPOSITOR_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ERC712_VERSION","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"address","name":"user","type":"address"},{"internalType":"bytes","name":"depositData","type":"bytes"}],"name":"deposit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"encodeTokenMetadata","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"userAddress","type":"address"},{"internalType":"bytes","name":"functionSignature","type":"bytes"},{"internalType":"bytes32","name":"sigR","type":"bytes32"},{"internalType":"bytes32","name":"sigS","type":"bytes32"},{"internalType":"uint8","name":"sigV","type":"uint8"}],"name":"executeMetaTransaction","outputs":[{"internalType":"bytes","name":"","type":"bytes"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getDomainSeperator","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"getNonce","outputs":[{"internalType":"uint256","name":"nonce","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"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":"user","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"tokenOfOwnerByIndex","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"transferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"withdrawBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"}],"name":"withdrawBatchTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawWithMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"withdrawWithMetadataTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"withdrawnTokens","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

6080604052600c805460ff191690553480156200001b57600080fd5b506040516200409a3803806200409a833981810160405260608110156200004157600080fd5b81019080805160405193929190846401000000008211156200006257600080fd5b9083019060208201858111156200007857600080fd5b82516401000000008111828201881017156200009357600080fd5b82525081516020918201929091019080838360005b83811015620000c2578181015183820152602001620000a8565b50505050905090810190601f168015620000f05780820380516001836020036101000a031916815260200191505b50604052602001805160405193929190846401000000008211156200011457600080fd5b9083019060208201858111156200012a57600080fd5b82516401000000008111828201881017156200014557600080fd5b82525081516020918201929091019080838360005b83811015620001745781810151838201526020016200015a565b50505050905090810190601f168015620001a25780820380516001836020036101000a031916815260200191505b5060405260200151915083905082620001cb6301ffc9a760e01b6001600160e01b036200030f16565b8151620001e090600690602085019062000722565b508051620001f690600790602084019062000722565b50620002126380ac58cd60e01b6001600160e01b036200030f16565b6200022d635b5e139f60e01b6001600160e01b036200030f16565b6200024863780e9d6360e01b6001600160e01b036200030f16565b505060408051808201909152601381527f4368696c644d696e7461626c6545524337323100000000000000000000000000602082015262000292906001600160e01b036200039416565b620002ba6000620002ab6001600160e01b036200043a16565b6001600160e01b036200045716565b604080516d4445504f5349544f525f524f4c4560901b8152905190819003600e019020620002f290826001600160e01b036200045716565b62000306836001600160e01b036200046c16565b505050620007c4565b6001600160e01b031980821614156200036f576040805162461bcd60e51b815260206004820152601c60248201527f4552433136353a20696e76616c696420696e7465726661636520696400000000604482015290519081900360640190fd5b6001600160e01b0319166000908152602081905260409020805460ff19166001179055565b806040516020018082805190602001908083835b60208310620003c95780518252601f199092019160209182019101620003a8565b51815160209384036101000a60001901801990921691161790527f3a20494e53554646494349454e545f5045524d495353494f4e530000000000009190930190815260408051808303600519018152601a90920190528051620004369550600b9450920191905062000722565b5050565b600062000451620004da60201b62002b2a1760201c565b90505b90565b6200043682826001600160e01b036200053916565b600c5460ff1615620004b6576040805162461bcd60e51b815260206004820152600e60248201526d185b1c9958591e481a5b9a5d195960921b604482015290519081900360640190fd5b620004ca816001600160e01b03620005bd16565b50600c805460ff19166001179055565b600033301415620005345760606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150620004549050565b503390565b6000828152600a602090815260409091206200056091839062002c9d62000685821b17901c565b156200043657620005796001600160e01b036200043a16565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b6040518060800160405280604f81526020016200404b604f913980516020918201208251838301206040805180820190915260018152603160f81b930192909252907fc89efdaa54c0f20c7adf612882df0950f5a951637e0307cdcb4c672f298b8bc630620006346001600160e01b03620006ae16565b604080516020808201979097528082019590955260608501939093526001600160a01b03909116608084015260a0808401919091528151808403909101815260c090920190528051910120600d5550565b6000620006a5836001600160a01b0384166001600160e01b03620006b216565b90505b92915050565b4690565b6000620006c983836001600160e01b036200070a16565b6200070157508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155620006a8565b506000620006a8565b60009081526001919091016020526040902054151590565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200076557805160ff191683800117855562000795565b8280016001018555821562000795579182015b828111156200079557825182559160200191906001019062000778565b50620007a3929150620007a7565b5090565b6200045491905b80821115620007a35760008155600101620007ae565b61387780620007d46000396000f3fe6080604052600436106102515760003560e01c80634f6ccce711610139578063a217fddf116100b6578063c87b56dd1161007a578063c87b56dd14610a92578063ca15c87314610abc578063cf2c52cb14610ae6578063d547741f14610b71578063e985e9c514610baa578063ff9fd26214610be557610251565b8063a217fddf14610932578063a22cb46514610947578063a3b0b5a314610982578063a5e584dc14610997578063b88d4fde146109c157610251565b80639010d07c116100fd5780639010d07c1461082457806391d14854146108545780639559c0bd1461088d57806395d89b41146108a25780639c8d4156146108b757610251565b80634f6ccce71461074f5780636352211e146107795780636c0360eb146107a357806370a08231146107b85780638ce7cee4146107eb57610251565b8063205c2878116101d25780632f2ff15d116101965780632f2ff15d146106135780632f745c591461064c5780633408e4701461068557806336568abe1461069a57806340c10f19146106d357806342842e0e1461070c57610251565b8063205c28781461051057806323b872dd14610549578063248a9ca31461058c5780632d0335ab146105b65780632e1a7d4d146105e957610251565b80630c53c51c116102195780630c53c51c146103d35780630f7e5970146104955780631653c39a146104aa57806318160ddd146104d457806320379ee5146104fb57610251565b806301ffc9a71461025657806306fdde031461029e57806307a974fc14610328578063081812fc14610352578063095ea7b314610398575b600080fd5b34801561026257600080fd5b5061028a6004803603602081101561027957600080fd5b50356001600160e01b031916610ca3565b604080519115158252519081900360200190f35b3480156102aa57600080fd5b506102b3610cc6565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102ed5781810151838201526020016102d5565b50505050905090810190601f16801561031a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033457600080fd5b5061028a6004803603602081101561034b57600080fd5b5035610d5d565b34801561035e57600080fd5b5061037c6004803603602081101561037557600080fd5b5035610d72565b604080516001600160a01b039092168252519081900360200190f35b3480156103a457600080fd5b506103d1600480360360408110156103bb57600080fd5b506001600160a01b038135169060200135610dd4565b005b6102b3600480360360a08110156103e957600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561041357600080fd5b82018360208201111561042557600080fd5b803590602001918460018302840111600160201b8311171561044657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550508235935050506020810135906040013560ff16610eaf565b3480156104a157600080fd5b506102b36111b2565b3480156104b657600080fd5b506102b3600480360360208110156104cd57600080fd5b50356111cf565b3480156104e057600080fd5b506104e9611261565b60408051918252519081900360200190f35b34801561050757600080fd5b506104e9611272565b34801561051c57600080fd5b506103d16004803603604081101561053357600080fd5b506001600160a01b038135169060200135611278565b34801561055557600080fd5b506103d16004803603606081101561056c57600080fd5b506001600160a01b0381358116916020810135909116906040013561133e565b34801561059857600080fd5b506104e9600480360360208110156105af57600080fd5b5035611395565b3480156105c257600080fd5b506104e9600480360360208110156105d957600080fd5b50356001600160a01b03166113aa565b3480156105f557600080fd5b506103d16004803603602081101561060c57600080fd5b50356113c5565b34801561061f57600080fd5b506103d16004803603604081101561063657600080fd5b50803590602001356001600160a01b03166113d9565b34801561065857600080fd5b506104e96004803603604081101561066f57600080fd5b506001600160a01b038135169060200135611445565b34801561069157600080fd5b506104e9611476565b3480156106a657600080fd5b506103d1600480360360408110156106bd57600080fd5b50803590602001356001600160a01b031661147a565b3480156106df57600080fd5b506103d1600480360360408110156106f657600080fd5b506001600160a01b0381351690602001356114db565b34801561071857600080fd5b506103d16004803603606081101561072f57600080fd5b506001600160a01b038135811691602081013590911690604001356115e2565b34801561075b57600080fd5b506104e96004803603602081101561077257600080fd5b50356115fd565b34801561078557600080fd5b5061037c6004803603602081101561079c57600080fd5b5035611619565b3480156107af57600080fd5b506102b3611647565b3480156107c457600080fd5b506104e9600480360360208110156107db57600080fd5b50356001600160a01b03166116a8565b3480156107f757600080fd5b506103d16004803603604081101561080e57600080fd5b506001600160a01b038135169060200135611710565b34801561083057600080fd5b5061037c6004803603604081101561084757600080fd5b508035906020013561195b565b34801561086057600080fd5b5061028a6004803603604081101561087757600080fd5b50803590602001356001600160a01b0316611979565b34801561089957600080fd5b506104e9611997565b3480156108ae57600080fd5b506102b361199c565b3480156108c357600080fd5b506103d1600480360360208110156108da57600080fd5b810190602081018135600160201b8111156108f457600080fd5b82018360208201111561090657600080fd5b803590602001918460208302840111600160201b8311171561092757600080fd5b5090925090506119fd565b34801561093e57600080fd5b506104e9611a41565b34801561095357600080fd5b506103d16004803603604081101561096a57600080fd5b506001600160a01b0381351690602001351515611a46565b34801561098e57600080fd5b506104e9611b4b565b3480156109a357600080fd5b506103d1600480360360208110156109ba57600080fd5b5035611b71565b3480156109cd57600080fd5b506103d1600480360360808110156109e457600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610a1e57600080fd5b820183602082011115610a3057600080fd5b803590602001918460018302840111600160201b83111715610a5157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611b82945050505050565b348015610a9e57600080fd5b506102b360048036036020811015610ab557600080fd5b5035611be0565b348015610ac857600080fd5b506104e960048036036020811015610adf57600080fd5b5035611e63565b348015610af257600080fd5b506103d160048036036040811015610b0957600080fd5b6001600160a01b038235169190810190604081016020820135600160201b811115610b3357600080fd5b820183602082011115610b4557600080fd5b803590602001918460018302840111600160201b83111715610b6657600080fd5b509092509050611e7a565b348015610b7d57600080fd5b506103d160048036036040811015610b9457600080fd5b50803590602001356001600160a01b0316612068565b348015610bb657600080fd5b5061028a60048036036040811015610bcd57600080fd5b506001600160a01b03813581169160200135166120c1565b348015610bf157600080fd5b506103d160048036036040811015610c0857600080fd5b6001600160a01b038235169190810190604081016020820135600160201b811115610c3257600080fd5b820183602082011115610c4457600080fd5b803590602001918460208302840111600160201b83111715610c6557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506120ef945050505050565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d525780601f10610d2757610100808354040283529160200191610d52565b820191906000526020600020905b815481529060010190602001808311610d3557829003601f168201915b505050505090505b90565b600f6020526000908152604090205460ff1681565b6000610d7d826122dd565b610db85760405162461bcd60e51b815260040180806020018281038252602c81526020018061371c602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610ddf82611619565b9050806001600160a01b0316836001600160a01b03161415610e325760405162461bcd60e51b81526004018080602001828103825260218152602001806137c16021913960400191505060405180910390fd5b806001600160a01b0316610e446122f0565b6001600160a01b03161480610e655750610e6581610e606122f0565b6120c1565b610ea05760405162461bcd60e51b815260040180806020018281038252603881526020018061361f6038913960400191505060405180910390fd5b610eaa83836122fa565b505050565b6060610eb96133d8565b50604080516060810182526001600160a01b0388166000818152600e602090815290849020548352820152908101869052610ef78782878787612368565b610f325760405162461bcd60e51b81526004018080602001828103825260218152602001806137716021913960400191505060405180910390fd5b6001600160a01b0387166000908152600e6020526040902054610f5c90600163ffffffff61244516565b6001600160a01b0388166000818152600e602090815260408083209490945583519283523383820181905260609484018581528b51958501959095528a517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b958d9592948d94919260808501928601918190849084905b83811015610feb578181015183820152602001610fd3565b50505050905090810190601f1680156110185780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160006060306001600160a01b0316888a6040516020018083805190602001908083835b602083106110695780518252601f19909201916020918201910161104a565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b03166001600160a01b031660601b8152601401925050506040516020818303038152906040526040518082805190602001908083835b602083106110e85780518252601f1990920191602091820191016110c9565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461114a576040519150601f19603f3d011682016040523d82523d6000602084013e61114f565b606091505b5091509150816111a6576040805162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604482015290519081900360640190fd5b98975050505050505050565b604051806040016040528060018152602001603160f81b81525081565b60606111da82611be0565b6040516020018080602001828103825283818151815260200191508051906020019080838360005b8381101561121a578181015183820152602001611202565b50505050905090810190601f1680156112475780820380516001836020036101000a031916815260200191505b5060408051601f1981840301815291905295945050505050565b600061126d600261249f565b905090565b600d5490565b61128181611619565b6001600160a01b03166112926122f0565b6001600160a01b0316146112d75760405162461bcd60e51b81526004018080602001828103825260288152602001806136576028913960400191505060405180910390fd5b6000818152600f60205260409020805460ff191660011790556112f9816124aa565b6040805182815290516000916001600160a01b038516917f67b714876402c93362735688659e2283b4a37fb21bab24bc759ca759ae851fd89181900360200190a35050565b61134f6113496122f0565b82612583565b61138a5760405162461bcd60e51b81526004018080602001828103825260318152602001806137e26031913960400191505060405180910390fd5b610eaa838383612627565b6000908152600a602052604090206002015490565b6001600160a01b03166000908152600e602052604090205490565b6113d66113d06122f0565b82611278565b50565b6000828152600a60205260409020600201546113fc906113f76122f0565b611979565b6114375760405162461bcd60e51b815260040180806020018281038252602f81526020018061347e602f913960400191505060405180910390fd5b6114418282612785565b5050565b6001600160a01b038216600090815260016020526040812061146d908363ffffffff6127f416565b90505b92915050565b4690565b6114826122f0565b6001600160a01b0316816001600160a01b0316146114d15760405162461bcd60e51b815260040180806020018281038252602f815260200180613813602f913960400191505060405180910390fd5b6114418282612800565b60006114e9816113f76122f0565b600b906115895760405162461bcd60e51b815260206004820190815282546002600019610100600184161502019091160460248301819052909182916044909101908490801561157a5780601f1061154f5761010080835404028352916020019161157a565b820191906000526020600020905b81548152906001019060200180831161155d57829003601f168201915b50509250505060405180910390fd5b506000828152600f602052604090205460ff16156115d85760405162461bcd60e51b815260040180806020018281038252602f8152602001806134df602f913960400191505060405180910390fd5b610eaa838361286f565b610eaa83838360405180602001604052806000815250611b82565b60008061161160028463ffffffff6129a916565b509392505050565b6000611470826040518060600160405280602981526020016136a9602991396002919063ffffffff6129c516565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d525780601f10610d2757610100808354040283529160200191610d52565b60006001600160a01b0382166116ef5760405162461bcd60e51b815260040180806020018281038252602a81526020018061367f602a913960400191505060405180910390fd5b6001600160a01b03821660009081526001602052604090206114709061249f565b61171981611619565b6001600160a01b031661172a6122f0565b6001600160a01b03161461176f5760405162461bcd60e51b81526004018080602001828103825260288152602001806136576028913960400191505060405180910390fd5b6000818152600f6020526040808220805460ff191660011790558051630b29e1cd60e11b81526004810184905290518392916001600160a01b038616917ff94915c6d1fd521cee85359239227480c7e8776d7caf1fc3bacad5c269b66a14913091631653c39a916024808201928892909190829003018186803b1580156117f557600080fd5b505afa158015611809573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561183257600080fd5b8101908080516040519392919084600160201b82111561185157600080fd5b90830190602082018581111561186657600080fd5b8251600160201b81118282018810171561187f57600080fd5b82525081516020918201929091019080838360005b838110156118ac578181015183820152602001611894565b50505050905090810190601f1680156118d95780820380516001836020036101000a031916815260200191505b50604081815260208083528651818401528651929550859450908401925085019080838360005b83811015611918578181015183820152602001611900565b50505050905090810190601f1680156119455780820380516001836020036101000a031916815260200191505b509250505060405180910390a4611441816124aa565b6000828152600a6020526040812061146d908363ffffffff6127f416565b6000828152600a6020526040812061146d908363ffffffff6129dc16565b601481565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d525780601f10610d2757610100808354040283529160200191610d52565b611441611a086122f0565b8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506120ef92505050565b600081565b611a4e6122f0565b6001600160a01b0316826001600160a01b03161415611ab4576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611ac16122f0565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611b056122f0565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b604080516d4445504f5349544f525f524f4c4560901b8152905190819003600e01902081565b6113d6611b7c6122f0565b82611710565b611b93611b8d6122f0565b83612583565b611bce5760405162461bcd60e51b81526004018080602001828103825260318152602001806137e26031913960400191505060405180910390fd5b611bda848484846129f1565b50505050565b6060611beb826122dd565b611c265760405162461bcd60e51b815260040180806020018281038252602f815260200180613792602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611cbb5780601f10611c9057610100808354040283529160200191611cbb565b820191906000526020600020905b815481529060010190602001808311611c9e57829003601f168201915b505050505090506060611ccc611647565b9050805160001415611ce057509050610cc1565b815115611da15780826040516020018083805190602001908083835b60208310611d1b5780518252601f199092019160209182019101611cfc565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611d635780518252601f199092019160209182019101611d44565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050610cc1565b80611dab85612a43565b6040516020018083805190602001908083835b60208310611ddd5780518252601f199092019160209182019101611dbe565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611e255780518252601f199092019160209182019101611e06565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b6000818152600a602052604081206114709061249f565b604080516d4445504f5349544f525f524f4c4560901b8152905190819003600e019020611ea9816113f76122f0565b600b90611f0f5760405162461bcd60e51b815260206004820190815282546002600019610100600184161502019091160460248301819052909182916044909101908490801561157a5780601f1061154f5761010080835404028352916020019161157a565b506020821415611f5557600083836020811015611f2b57600080fd5b50356000818152600f60205260409020805460ff191690559050611f4f858261286f565b50611bda565b606083836020811015611f6757600080fd5b810190602081018135600160201b811115611f8157600080fd5b820183602082011115611f9357600080fd5b803590602001918460208302840111600160201b83111715611fb457600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201829052508451949850939650929450505050505b8181101561205f576000600f600085848151811061200d57fe5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055506120578784838151811061204a57fe5b602002602001015161286f565b600101611ff3565b50505050505050565b6000828152600a6020526040902060020154612086906113f76122f0565b6114d15760405162461bcd60e51b81526004018080602001828103825260308152602001806135ca6030913960400191505060405180910390fd5b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b805160148111156121315760405162461bcd60e51b81526004018080602001828103825260288152602001806136f46028913960400191505060405180910390fd5b60005b8181101561225857600083828151811061214a57fe5b6020026020010151905061215d81611619565b6001600160a01b031661216e6122f0565b6001600160a01b031614816040516020018080613551602991396029018281526020019150506040516020818303038152906040529061222c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121f15781810151838201526020016121d9565b50505050905090810190601f16801561221e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000818152600f60205260409020805460ff1916600117905561224f816124aa565b50600101612134565b50826001600160a01b03167ff871896b17e9cb7a64941c62c188a4f5c621b86800e3d15452ece01ce56073df836040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156122c55781810151838201526020016122ad565b505050509050019250505060405180910390a2505050565b600061147060028363ffffffff612b1e16565b600061126d612b2a565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061232f82611619565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b0386166123af5760405162461bcd60e51b81526004018080602001828103825260258152602001806135fa6025913960400191505060405180910390fd5b60016123c26123bd87612b87565b612c13565b83868660405160008152602001604052604051808581526020018460ff1660ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa15801561241c573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b60008282018381101561146d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061147082612c5f565b60006124b582611619565b90506124c381600084610eaa565b6124ce6000836122fa565b600082815260086020526040902054600260001961010060018416150201909116041561250c57600082815260086020526040812061250c91613402565b6001600160a01b0381166000908152600160205260409020612534908363ffffffff612c6316565b5061254660028363ffffffff612c6f16565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600061258e826122dd565b6125c95760405162461bcd60e51b815260040180806020018281038252602c81526020018061359e602c913960400191505060405180910390fd5b60006125d483611619565b9050806001600160a01b0316846001600160a01b0316148061260f5750836001600160a01b031661260484610d72565b6001600160a01b0316145b8061261f575061261f81856120c1565b949350505050565b826001600160a01b031661263a82611619565b6001600160a01b03161461267f5760405162461bcd60e51b81526004018080602001828103825260298152602001806137486029913960400191505060405180910390fd5b6001600160a01b0382166126c45760405162461bcd60e51b815260040180806020018281038252602481526020018061357a6024913960400191505060405180910390fd5b6126cf838383610eaa565b6126da6000826122fa565b6001600160a01b0383166000908152600160205260409020612702908263ffffffff612c6316565b506001600160a01b038216600090815260016020526040902061272b908263ffffffff612c7b16565b5061273e6002828463ffffffff612c8716565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152600a602052604090206127a3908263ffffffff612c9d16565b15611441576127b06122f0565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061146d8383612cb2565b6000828152600a6020526040902061281e908263ffffffff612d1616565b156114415761282b6122f0565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b0382166128ca576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6128d3816122dd565b15612925576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61293160008383610eaa565b6001600160a01b0382166000908152600160205260409020612959908263ffffffff612c7b16565b5061296c6002828463ffffffff612c8716565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008080806129b88686612d2b565b9097909650945050505050565b60006129d2848484612da6565b90505b9392505050565b600061146d836001600160a01b038416612e33565b6129fc848484612627565b612a0884848484612e4b565b611bda5760405162461bcd60e51b81526004018080602001828103825260328152602001806134ad6032913960400191505060405180910390fd5b606081612a6857506040805180820190915260018152600360fc1b6020820152610cc1565b8160005b8115612a8057600101600a82049150612a6c565b60608167ffffffffffffffff81118015612a9957600080fd5b506040519080825280601f01601f191660200182016040528015612ac4576020820181803683370190505b50859350905060001982015b8315612b1557600a840660300160f81b82828060019003935081518110612af357fe5b60200101906001600160f81b031916908160001a905350600a84049350612ad0565b50949350505050565b600061146d8383612e33565b600033301415612b825760606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150610d5a9050565b503390565b600060405180608001604052806043815260200161350e60439139805190602001208260000151836020015184604001518051906020012060405160200180858152602001848152602001836001600160a01b03166001600160a01b03168152602001828152602001945050505050604051602081830303815290604052805190602001209050919050565b6000612c1d611272565b82604051602001808061190160f01b81525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b5490565b600061146d8383612fcb565b600061146d8383613091565b600061146d8383613165565b60006129d284846001600160a01b0385166131af565b600061146d836001600160a01b038416613165565b81546000908210612cf45760405162461bcd60e51b815260040180806020018281038252602281526020018061345c6022913960400191505060405180910390fd5b826000018281548110612d0357fe5b9060005260206000200154905092915050565b600061146d836001600160a01b038416612fcb565b815460009081908310612d6f5760405162461bcd60e51b81526004018080602001828103825260228152602001806136d26022913960400191505060405180910390fd5b6000846000018481548110612d8057fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281612e045760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156121f15781810151838201526020016121d9565b50846000016001820381548110612e1757fe5b9060005260206000209060020201600101549150509392505050565b60009081526001919091016020526040902054151590565b6000612e5f846001600160a01b0316613246565b612e6b5750600161261f565b6060612f91630a85bd0160e11b612e806122f0565b88878760405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612ef9578181015183820152602001612ee1565b50505050905090810190601f168015612f265780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016134ad603291396001600160a01b038816919063ffffffff61324c16565b90506000818060200190516020811015612faa57600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b600081815260018301602052604081205480156130875783546000198083019190810190600090879083908110612ffe57fe5b906000526020600020015490508087600001848154811061301b57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061304b57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611470565b6000915050611470565b6000818152600183016020526040812054801561308757835460001980830191908101906000908790839081106130c457fe5b90600052602060002090600202019050808760000184815481106130e457fe5b60009182526020808320845460029093020191825560019384015491840191909155835482528983019052604090209084019055865487908061312357fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506114709350505050565b60006131718383612e33565b6131a757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611470565b506000611470565b6000828152600184016020526040812054806132145750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556129d5565b8285600001600183038154811061322757fe5b90600052602060002090600202016001018190555060009150506129d5565b3b151590565b60606129d284846000858561326085613246565b6132b1576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106132f05780518252601f1990920191602091820191016132d1565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613352576040519150601f19603f3d011682016040523d82523d6000602084013e613357565b606091505b5091509150613367828286613372565b979650505050505050565b606083156133815750816129d5565b8251156133915782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156121f15781810151838201526020016121d9565b60405180606001604052806000815260200160006001600160a01b03168152602001606081525090565b50805460018160011615610100020316600290046000825580601f1061342857506113d6565b60009182526020918290206113d692610d5a92601f01048101905b808211156134575760008155600101613443565b509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724368696c644d696e7461626c654552433732313a20544f4b454e5f4558495354535f4f4e5f524f4f545f434841494e4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294368696c644d696e7461626c654552433732313a20494e56414c49445f544f4b454e5f4f574e4552204552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5349474e45524552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4368696c644d696e7461626c654552433732313a20494e56414c49445f544f4b454e5f4f574e45524552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734368696c644d696e7461626c654552433732313a20455843454544535f42415443485f4c494d49544552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e5369676e657220616e64207369676e617475726520646f206e6f74206d617463684552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220dc22b1534eb09c3e3d2e32d5f4b8d3bb37073ac19f8c7b17009eadbc7d09f90264736f6c63430006060033454950373132446f6d61696e28737472696e67206e616d652c737472696e672076657273696f6e2c6164647265737320766572696679696e67436f6e74726163742c627974657333322073616c7429000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000fe22c61f33e6d39c04de80b7de4b1d83f75210c4000000000000000000000000000000000000000000000000000000000000000b6d696e7461626c65373231000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6d696e7461626c65373231000000000000000000000000000000000000000000

Deployed Bytecode

0x6080604052600436106102515760003560e01c80634f6ccce711610139578063a217fddf116100b6578063c87b56dd1161007a578063c87b56dd14610a92578063ca15c87314610abc578063cf2c52cb14610ae6578063d547741f14610b71578063e985e9c514610baa578063ff9fd26214610be557610251565b8063a217fddf14610932578063a22cb46514610947578063a3b0b5a314610982578063a5e584dc14610997578063b88d4fde146109c157610251565b80639010d07c116100fd5780639010d07c1461082457806391d14854146108545780639559c0bd1461088d57806395d89b41146108a25780639c8d4156146108b757610251565b80634f6ccce71461074f5780636352211e146107795780636c0360eb146107a357806370a08231146107b85780638ce7cee4146107eb57610251565b8063205c2878116101d25780632f2ff15d116101965780632f2ff15d146106135780632f745c591461064c5780633408e4701461068557806336568abe1461069a57806340c10f19146106d357806342842e0e1461070c57610251565b8063205c28781461051057806323b872dd14610549578063248a9ca31461058c5780632d0335ab146105b65780632e1a7d4d146105e957610251565b80630c53c51c116102195780630c53c51c146103d35780630f7e5970146104955780631653c39a146104aa57806318160ddd146104d457806320379ee5146104fb57610251565b806301ffc9a71461025657806306fdde031461029e57806307a974fc14610328578063081812fc14610352578063095ea7b314610398575b600080fd5b34801561026257600080fd5b5061028a6004803603602081101561027957600080fd5b50356001600160e01b031916610ca3565b604080519115158252519081900360200190f35b3480156102aa57600080fd5b506102b3610cc6565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102ed5781810151838201526020016102d5565b50505050905090810190601f16801561031a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561033457600080fd5b5061028a6004803603602081101561034b57600080fd5b5035610d5d565b34801561035e57600080fd5b5061037c6004803603602081101561037557600080fd5b5035610d72565b604080516001600160a01b039092168252519081900360200190f35b3480156103a457600080fd5b506103d1600480360360408110156103bb57600080fd5b506001600160a01b038135169060200135610dd4565b005b6102b3600480360360a08110156103e957600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561041357600080fd5b82018360208201111561042557600080fd5b803590602001918460018302840111600160201b8311171561044657600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550508235935050506020810135906040013560ff16610eaf565b3480156104a157600080fd5b506102b36111b2565b3480156104b657600080fd5b506102b3600480360360208110156104cd57600080fd5b50356111cf565b3480156104e057600080fd5b506104e9611261565b60408051918252519081900360200190f35b34801561050757600080fd5b506104e9611272565b34801561051c57600080fd5b506103d16004803603604081101561053357600080fd5b506001600160a01b038135169060200135611278565b34801561055557600080fd5b506103d16004803603606081101561056c57600080fd5b506001600160a01b0381358116916020810135909116906040013561133e565b34801561059857600080fd5b506104e9600480360360208110156105af57600080fd5b5035611395565b3480156105c257600080fd5b506104e9600480360360208110156105d957600080fd5b50356001600160a01b03166113aa565b3480156105f557600080fd5b506103d16004803603602081101561060c57600080fd5b50356113c5565b34801561061f57600080fd5b506103d16004803603604081101561063657600080fd5b50803590602001356001600160a01b03166113d9565b34801561065857600080fd5b506104e96004803603604081101561066f57600080fd5b506001600160a01b038135169060200135611445565b34801561069157600080fd5b506104e9611476565b3480156106a657600080fd5b506103d1600480360360408110156106bd57600080fd5b50803590602001356001600160a01b031661147a565b3480156106df57600080fd5b506103d1600480360360408110156106f657600080fd5b506001600160a01b0381351690602001356114db565b34801561071857600080fd5b506103d16004803603606081101561072f57600080fd5b506001600160a01b038135811691602081013590911690604001356115e2565b34801561075b57600080fd5b506104e96004803603602081101561077257600080fd5b50356115fd565b34801561078557600080fd5b5061037c6004803603602081101561079c57600080fd5b5035611619565b3480156107af57600080fd5b506102b3611647565b3480156107c457600080fd5b506104e9600480360360208110156107db57600080fd5b50356001600160a01b03166116a8565b3480156107f757600080fd5b506103d16004803603604081101561080e57600080fd5b506001600160a01b038135169060200135611710565b34801561083057600080fd5b5061037c6004803603604081101561084757600080fd5b508035906020013561195b565b34801561086057600080fd5b5061028a6004803603604081101561087757600080fd5b50803590602001356001600160a01b0316611979565b34801561089957600080fd5b506104e9611997565b3480156108ae57600080fd5b506102b361199c565b3480156108c357600080fd5b506103d1600480360360208110156108da57600080fd5b810190602081018135600160201b8111156108f457600080fd5b82018360208201111561090657600080fd5b803590602001918460208302840111600160201b8311171561092757600080fd5b5090925090506119fd565b34801561093e57600080fd5b506104e9611a41565b34801561095357600080fd5b506103d16004803603604081101561096a57600080fd5b506001600160a01b0381351690602001351515611a46565b34801561098e57600080fd5b506104e9611b4b565b3480156109a357600080fd5b506103d1600480360360208110156109ba57600080fd5b5035611b71565b3480156109cd57600080fd5b506103d1600480360360808110156109e457600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610a1e57600080fd5b820183602082011115610a3057600080fd5b803590602001918460018302840111600160201b83111715610a5157600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611b82945050505050565b348015610a9e57600080fd5b506102b360048036036020811015610ab557600080fd5b5035611be0565b348015610ac857600080fd5b506104e960048036036020811015610adf57600080fd5b5035611e63565b348015610af257600080fd5b506103d160048036036040811015610b0957600080fd5b6001600160a01b038235169190810190604081016020820135600160201b811115610b3357600080fd5b820183602082011115610b4557600080fd5b803590602001918460018302840111600160201b83111715610b6657600080fd5b509092509050611e7a565b348015610b7d57600080fd5b506103d160048036036040811015610b9457600080fd5b50803590602001356001600160a01b0316612068565b348015610bb657600080fd5b5061028a60048036036040811015610bcd57600080fd5b506001600160a01b03813581169160200135166120c1565b348015610bf157600080fd5b506103d160048036036040811015610c0857600080fd5b6001600160a01b038235169190810190604081016020820135600160201b811115610c3257600080fd5b820183602082011115610c4457600080fd5b803590602001918460208302840111600160201b83111715610c6557600080fd5b9190808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152509295506120ef945050505050565b6001600160e01b0319811660009081526020819052604090205460ff165b919050565b60068054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d525780601f10610d2757610100808354040283529160200191610d52565b820191906000526020600020905b815481529060010190602001808311610d3557829003601f168201915b505050505090505b90565b600f6020526000908152604090205460ff1681565b6000610d7d826122dd565b610db85760405162461bcd60e51b815260040180806020018281038252602c81526020018061371c602c913960400191505060405180910390fd5b506000908152600460205260409020546001600160a01b031690565b6000610ddf82611619565b9050806001600160a01b0316836001600160a01b03161415610e325760405162461bcd60e51b81526004018080602001828103825260218152602001806137c16021913960400191505060405180910390fd5b806001600160a01b0316610e446122f0565b6001600160a01b03161480610e655750610e6581610e606122f0565b6120c1565b610ea05760405162461bcd60e51b815260040180806020018281038252603881526020018061361f6038913960400191505060405180910390fd5b610eaa83836122fa565b505050565b6060610eb96133d8565b50604080516060810182526001600160a01b0388166000818152600e602090815290849020548352820152908101869052610ef78782878787612368565b610f325760405162461bcd60e51b81526004018080602001828103825260218152602001806137716021913960400191505060405180910390fd5b6001600160a01b0387166000908152600e6020526040902054610f5c90600163ffffffff61244516565b6001600160a01b0388166000818152600e602090815260408083209490945583519283523383820181905260609484018581528b51958501959095528a517f5845892132946850460bff5a0083f71031bc5bf9aadcd40f1de79423eac9b10b958d9592948d94919260808501928601918190849084905b83811015610feb578181015183820152602001610fd3565b50505050905090810190601f1680156110185780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a160006060306001600160a01b0316888a6040516020018083805190602001908083835b602083106110695780518252601f19909201916020918201910161104a565b6001836020036101000a038019825116818451168082178552505050505050905001826001600160a01b03166001600160a01b031660601b8152601401925050506040516020818303038152906040526040518082805190602001908083835b602083106110e85780518252601f1990920191602091820191016110c9565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d806000811461114a576040519150601f19603f3d011682016040523d82523d6000602084013e61114f565b606091505b5091509150816111a6576040805162461bcd60e51b815260206004820152601c60248201527f46756e6374696f6e2063616c6c206e6f74207375636365737366756c00000000604482015290519081900360640190fd5b98975050505050505050565b604051806040016040528060018152602001603160f81b81525081565b60606111da82611be0565b6040516020018080602001828103825283818151815260200191508051906020019080838360005b8381101561121a578181015183820152602001611202565b50505050905090810190601f1680156112475780820380516001836020036101000a031916815260200191505b5060408051601f1981840301815291905295945050505050565b600061126d600261249f565b905090565b600d5490565b61128181611619565b6001600160a01b03166112926122f0565b6001600160a01b0316146112d75760405162461bcd60e51b81526004018080602001828103825260288152602001806136576028913960400191505060405180910390fd5b6000818152600f60205260409020805460ff191660011790556112f9816124aa565b6040805182815290516000916001600160a01b038516917f67b714876402c93362735688659e2283b4a37fb21bab24bc759ca759ae851fd89181900360200190a35050565b61134f6113496122f0565b82612583565b61138a5760405162461bcd60e51b81526004018080602001828103825260318152602001806137e26031913960400191505060405180910390fd5b610eaa838383612627565b6000908152600a602052604090206002015490565b6001600160a01b03166000908152600e602052604090205490565b6113d66113d06122f0565b82611278565b50565b6000828152600a60205260409020600201546113fc906113f76122f0565b611979565b6114375760405162461bcd60e51b815260040180806020018281038252602f81526020018061347e602f913960400191505060405180910390fd5b6114418282612785565b5050565b6001600160a01b038216600090815260016020526040812061146d908363ffffffff6127f416565b90505b92915050565b4690565b6114826122f0565b6001600160a01b0316816001600160a01b0316146114d15760405162461bcd60e51b815260040180806020018281038252602f815260200180613813602f913960400191505060405180910390fd5b6114418282612800565b60006114e9816113f76122f0565b600b906115895760405162461bcd60e51b815260206004820190815282546002600019610100600184161502019091160460248301819052909182916044909101908490801561157a5780601f1061154f5761010080835404028352916020019161157a565b820191906000526020600020905b81548152906001019060200180831161155d57829003601f168201915b50509250505060405180910390fd5b506000828152600f602052604090205460ff16156115d85760405162461bcd60e51b815260040180806020018281038252602f8152602001806134df602f913960400191505060405180910390fd5b610eaa838361286f565b610eaa83838360405180602001604052806000815250611b82565b60008061161160028463ffffffff6129a916565b509392505050565b6000611470826040518060600160405280602981526020016136a9602991396002919063ffffffff6129c516565b60098054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d525780601f10610d2757610100808354040283529160200191610d52565b60006001600160a01b0382166116ef5760405162461bcd60e51b815260040180806020018281038252602a81526020018061367f602a913960400191505060405180910390fd5b6001600160a01b03821660009081526001602052604090206114709061249f565b61171981611619565b6001600160a01b031661172a6122f0565b6001600160a01b03161461176f5760405162461bcd60e51b81526004018080602001828103825260288152602001806136576028913960400191505060405180910390fd5b6000818152600f6020526040808220805460ff191660011790558051630b29e1cd60e11b81526004810184905290518392916001600160a01b038616917ff94915c6d1fd521cee85359239227480c7e8776d7caf1fc3bacad5c269b66a14913091631653c39a916024808201928892909190829003018186803b1580156117f557600080fd5b505afa158015611809573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052602081101561183257600080fd5b8101908080516040519392919084600160201b82111561185157600080fd5b90830190602082018581111561186657600080fd5b8251600160201b81118282018810171561187f57600080fd5b82525081516020918201929091019080838360005b838110156118ac578181015183820152602001611894565b50505050905090810190601f1680156118d95780820380516001836020036101000a031916815260200191505b50604081815260208083528651818401528651929550859450908401925085019080838360005b83811015611918578181015183820152602001611900565b50505050905090810190601f1680156119455780820380516001836020036101000a031916815260200191505b509250505060405180910390a4611441816124aa565b6000828152600a6020526040812061146d908363ffffffff6127f416565b6000828152600a6020526040812061146d908363ffffffff6129dc16565b601481565b60078054604080516020601f6002600019610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610d525780601f10610d2757610100808354040283529160200191610d52565b611441611a086122f0565b8383808060200260200160405190810160405280939291908181526020018383602002808284376000920191909152506120ef92505050565b600081565b611a4e6122f0565b6001600160a01b0316826001600160a01b03161415611ab4576040805162461bcd60e51b815260206004820152601960248201527f4552433732313a20617070726f766520746f2063616c6c657200000000000000604482015290519081900360640190fd5b8060056000611ac16122f0565b6001600160a01b03908116825260208083019390935260409182016000908120918716808252919093529120805460ff191692151592909217909155611b056122f0565b60408051841515815290516001600160a01b0392909216917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c319181900360200190a35050565b604080516d4445504f5349544f525f524f4c4560901b8152905190819003600e01902081565b6113d6611b7c6122f0565b82611710565b611b93611b8d6122f0565b83612583565b611bce5760405162461bcd60e51b81526004018080602001828103825260318152602001806137e26031913960400191505060405180910390fd5b611bda848484846129f1565b50505050565b6060611beb826122dd565b611c265760405162461bcd60e51b815260040180806020018281038252602f815260200180613792602f913960400191505060405180910390fd5b60008281526008602090815260409182902080548351601f6002600019610100600186161502019093169290920491820184900484028101840190945280845260609392830182828015611cbb5780601f10611c9057610100808354040283529160200191611cbb565b820191906000526020600020905b815481529060010190602001808311611c9e57829003601f168201915b505050505090506060611ccc611647565b9050805160001415611ce057509050610cc1565b815115611da15780826040516020018083805190602001908083835b60208310611d1b5780518252601f199092019160209182019101611cfc565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611d635780518252601f199092019160209182019101611d44565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050610cc1565b80611dab85612a43565b6040516020018083805190602001908083835b60208310611ddd5780518252601f199092019160209182019101611dbe565b51815160209384036101000a600019018019909216911617905285519190930192850191508083835b60208310611e255780518252601f199092019160209182019101611e06565b6001836020036101000a0380198251168184511680821785525050505050509050019250505060405160208183030381529060405292505050919050565b6000818152600a602052604081206114709061249f565b604080516d4445504f5349544f525f524f4c4560901b8152905190819003600e019020611ea9816113f76122f0565b600b90611f0f5760405162461bcd60e51b815260206004820190815282546002600019610100600184161502019091160460248301819052909182916044909101908490801561157a5780601f1061154f5761010080835404028352916020019161157a565b506020821415611f5557600083836020811015611f2b57600080fd5b50356000818152600f60205260409020805460ff191690559050611f4f858261286f565b50611bda565b606083836020811015611f6757600080fd5b810190602081018135600160201b811115611f8157600080fd5b820183602082011115611f9357600080fd5b803590602001918460208302840111600160201b83111715611fb457600080fd5b91908080602002602001604051908101604052809392919081815260200183836020028082843760009201829052508451949850939650929450505050505b8181101561205f576000600f600085848151811061200d57fe5b6020026020010151815260200190815260200160002060006101000a81548160ff0219169083151502179055506120578784838151811061204a57fe5b602002602001015161286f565b600101611ff3565b50505050505050565b6000828152600a6020526040902060020154612086906113f76122f0565b6114d15760405162461bcd60e51b81526004018080602001828103825260308152602001806135ca6030913960400191505060405180910390fd5b6001600160a01b03918216600090815260056020908152604080832093909416825291909152205460ff1690565b805160148111156121315760405162461bcd60e51b81526004018080602001828103825260288152602001806136f46028913960400191505060405180910390fd5b60005b8181101561225857600083828151811061214a57fe5b6020026020010151905061215d81611619565b6001600160a01b031661216e6122f0565b6001600160a01b031614816040516020018080613551602991396029018281526020019150506040516020818303038152906040529061222c5760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b838110156121f15781810151838201526020016121d9565b50505050905090810190601f16801561221e5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b506000818152600f60205260409020805460ff1916600117905561224f816124aa565b50600101612134565b50826001600160a01b03167ff871896b17e9cb7a64941c62c188a4f5c621b86800e3d15452ece01ce56073df836040518080602001828103825283818151815260200191508051906020019060200280838360005b838110156122c55781810151838201526020016122ad565b505050509050019250505060405180910390a2505050565b600061147060028363ffffffff612b1e16565b600061126d612b2a565b600081815260046020526040902080546001600160a01b0319166001600160a01b038416908117909155819061232f82611619565b6001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006001600160a01b0386166123af5760405162461bcd60e51b81526004018080602001828103825260258152602001806135fa6025913960400191505060405180910390fd5b60016123c26123bd87612b87565b612c13565b83868660405160008152602001604052604051808581526020018460ff1660ff1681526020018381526020018281526020019450505050506020604051602081039080840390855afa15801561241c573d6000803e3d6000fd5b505050602060405103516001600160a01b0316866001600160a01b031614905095945050505050565b60008282018381101561146d576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b600061147082612c5f565b60006124b582611619565b90506124c381600084610eaa565b6124ce6000836122fa565b600082815260086020526040902054600260001961010060018416150201909116041561250c57600082815260086020526040812061250c91613402565b6001600160a01b0381166000908152600160205260409020612534908363ffffffff612c6316565b5061254660028363ffffffff612c6f16565b5060405182906000906001600160a01b038416907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908390a45050565b600061258e826122dd565b6125c95760405162461bcd60e51b815260040180806020018281038252602c81526020018061359e602c913960400191505060405180910390fd5b60006125d483611619565b9050806001600160a01b0316846001600160a01b0316148061260f5750836001600160a01b031661260484610d72565b6001600160a01b0316145b8061261f575061261f81856120c1565b949350505050565b826001600160a01b031661263a82611619565b6001600160a01b03161461267f5760405162461bcd60e51b81526004018080602001828103825260298152602001806137486029913960400191505060405180910390fd5b6001600160a01b0382166126c45760405162461bcd60e51b815260040180806020018281038252602481526020018061357a6024913960400191505060405180910390fd5b6126cf838383610eaa565b6126da6000826122fa565b6001600160a01b0383166000908152600160205260409020612702908263ffffffff612c6316565b506001600160a01b038216600090815260016020526040902061272b908263ffffffff612c7b16565b5061273e6002828463ffffffff612c8716565b5080826001600160a01b0316846001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000828152600a602052604090206127a3908263ffffffff612c9d16565b15611441576127b06122f0565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600061146d8383612cb2565b6000828152600a6020526040902061281e908263ffffffff612d1616565b156114415761282b6122f0565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b6001600160a01b0382166128ca576040805162461bcd60e51b815260206004820181905260248201527f4552433732313a206d696e7420746f20746865207a65726f2061646472657373604482015290519081900360640190fd5b6128d3816122dd565b15612925576040805162461bcd60e51b815260206004820152601c60248201527f4552433732313a20746f6b656e20616c7265616479206d696e74656400000000604482015290519081900360640190fd5b61293160008383610eaa565b6001600160a01b0382166000908152600160205260409020612959908263ffffffff612c7b16565b5061296c6002828463ffffffff612c8716565b5060405181906001600160a01b038416906000907fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef908290a45050565b60008080806129b88686612d2b565b9097909650945050505050565b60006129d2848484612da6565b90505b9392505050565b600061146d836001600160a01b038416612e33565b6129fc848484612627565b612a0884848484612e4b565b611bda5760405162461bcd60e51b81526004018080602001828103825260328152602001806134ad6032913960400191505060405180910390fd5b606081612a6857506040805180820190915260018152600360fc1b6020820152610cc1565b8160005b8115612a8057600101600a82049150612a6c565b60608167ffffffffffffffff81118015612a9957600080fd5b506040519080825280601f01601f191660200182016040528015612ac4576020820181803683370190505b50859350905060001982015b8315612b1557600a840660300160f81b82828060019003935081518110612af357fe5b60200101906001600160f81b031916908160001a905350600a84049350612ad0565b50949350505050565b600061146d8383612e33565b600033301415612b825760606000368080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152505050503601516001600160a01b03169150610d5a9050565b503390565b600060405180608001604052806043815260200161350e60439139805190602001208260000151836020015184604001518051906020012060405160200180858152602001848152602001836001600160a01b03166001600160a01b03168152602001828152602001945050505050604051602081830303815290604052805190602001209050919050565b6000612c1d611272565b82604051602001808061190160f01b81525060020183815260200182815260200192505050604051602081830303815290604052805190602001209050919050565b5490565b600061146d8383612fcb565b600061146d8383613091565b600061146d8383613165565b60006129d284846001600160a01b0385166131af565b600061146d836001600160a01b038416613165565b81546000908210612cf45760405162461bcd60e51b815260040180806020018281038252602281526020018061345c6022913960400191505060405180910390fd5b826000018281548110612d0357fe5b9060005260206000200154905092915050565b600061146d836001600160a01b038416612fcb565b815460009081908310612d6f5760405162461bcd60e51b81526004018080602001828103825260228152602001806136d26022913960400191505060405180910390fd5b6000846000018481548110612d8057fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008281526001840160205260408120548281612e045760405162461bcd60e51b81526020600482018181528351602484015283519092839260449091019190850190808383600083156121f15781810151838201526020016121d9565b50846000016001820381548110612e1757fe5b9060005260206000209060020201600101549150509392505050565b60009081526001919091016020526040902054151590565b6000612e5f846001600160a01b0316613246565b612e6b5750600161261f565b6060612f91630a85bd0160e11b612e806122f0565b88878760405160240180856001600160a01b03166001600160a01b03168152602001846001600160a01b03166001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015612ef9578181015183820152602001612ee1565b50505050905090810190601f168015612f265780820380516001836020036101000a031916815260200191505b5095505050505050604051602081830303815290604052906001600160e01b0319166020820180516001600160e01b0383818316178352505050506040518060600160405280603281526020016134ad603291396001600160a01b038816919063ffffffff61324c16565b90506000818060200190516020811015612faa57600080fd5b50516001600160e01b031916630a85bd0160e11b1492505050949350505050565b600081815260018301602052604081205480156130875783546000198083019190810190600090879083908110612ffe57fe5b906000526020600020015490508087600001848154811061301b57fe5b60009182526020808320909101929092558281526001898101909252604090209084019055865487908061304b57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050611470565b6000915050611470565b6000818152600183016020526040812054801561308757835460001980830191908101906000908790839081106130c457fe5b90600052602060002090600202019050808760000184815481106130e457fe5b60009182526020808320845460029093020191825560019384015491840191909155835482528983019052604090209084019055865487908061312357fe5b60008281526020808220600260001990940193840201828155600190810183905592909355888152898201909252604082209190915594506114709350505050565b60006131718383612e33565b6131a757508154600181810184556000848152602080822090930184905584548482528286019093526040902091909155611470565b506000611470565b6000828152600184016020526040812054806132145750506040805180820182528381526020808201848152865460018181018955600089815284812095516002909302909501918255915190820155865486845281880190925292909120556129d5565b8285600001600183038154811061322757fe5b90600052602060002090600202016001018190555060009150506129d5565b3b151590565b60606129d284846000858561326085613246565b6132b1576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b602083106132f05780518252601f1990920191602091820191016132d1565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114613352576040519150601f19603f3d011682016040523d82523d6000602084013e613357565b606091505b5091509150613367828286613372565b979650505050505050565b606083156133815750816129d5565b8251156133915782518084602001fd5b60405162461bcd60e51b81526020600482018181528451602484015284518593919283926044019190850190808383600083156121f15781810151838201526020016121d9565b60405180606001604052806000815260200160006001600160a01b03168152602001606081525090565b50805460018160011615610100020316600290046000825580601f1061342857506113d6565b60009182526020918290206113d692610d5a92601f01048101905b808211156134575760008155600101613443565b509056fe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e6473416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e744552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724368696c644d696e7461626c654552433732313a20544f4b454e5f4558495354535f4f4e5f524f4f545f434841494e4d6574615472616e73616374696f6e2875696e74323536206e6f6e63652c616464726573732066726f6d2c62797465732066756e6374696f6e5369676e6174757265294368696c644d696e7461626c654552433732313a20494e56414c49445f544f4b454e5f4f574e4552204552433732313a207472616e7366657220746f20746865207a65726f20616464726573734552433732313a206f70657261746f7220717565727920666f72206e6f6e6578697374656e7420746f6b656e416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b654e61746976654d6574615472616e73616374696f6e3a20494e56414c49445f5349474e45524552433732313a20617070726f76652063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f76656420666f7220616c6c4368696c644d696e7461626c654552433732313a20494e56414c49445f544f4b454e5f4f574e45524552433732313a2062616c616e636520717565727920666f7220746865207a65726f20616464726573734552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656e456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e64734368696c644d696e7461626c654552433732313a20455843454544535f42415443485f4c494d49544552433732313a20617070726f76656420717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a207472616e73666572206f6620746f6b656e2074686174206973206e6f74206f776e5369676e657220616e64207369676e617475726520646f206e6f74206d617463684552433732314d657461646174613a2055524920717565727920666f72206e6f6e6578697374656e7420746f6b656e4552433732313a20617070726f76616c20746f2063757272656e74206f776e65724552433732313a207472616e736665722063616c6c6572206973206e6f74206f776e6572206e6f7220617070726f766564416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66a2646970667358221220dc22b1534eb09c3e3d2e32d5f4b8d3bb37073ac19f8c7b17009eadbc7d09f90264736f6c63430006060033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a0000000000000000000000000fe22c61f33e6d39c04de80b7de4b1d83f75210c4000000000000000000000000000000000000000000000000000000000000000b6d696e7461626c65373231000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000b6d696e7461626c65373231000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : name_ (string): mintable721
Arg [1] : symbol_ (string): mintable721
Arg [2] : childChainManager (address): 0xfe22c61f33e6d39c04de80b7de4b1d83f75210c4

-----Encoded View---------------
7 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 000000000000000000000000fe22c61f33e6d39c04de80b7de4b1d83f75210c4
Arg [3] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [4] : 6d696e7461626c65373231000000000000000000000000000000000000000000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [6] : 6d696e7461626c65373231000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

79538:6689:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;9;2:12;10413:150:0;;5:9:-1;2:2;;;27:1;24;17:12;2:2;10413:150:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;10413:150:0;-1:-1:-1;;;;;;10413:150:0;;:::i;:::-;;;;;;;;;;;;;;;;;;51901:100;;5:9:-1;2:2;;;27:1;24;17:12;2:2;51901:100:0;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8::-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;51901:100:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79755:48;;5:9:-1;2:2;;;27:1;24;17:12;2:2;79755:48:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;79755:48:0;;:::i;54687:221::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;54687:221:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;54687:221:0;;:::i;:::-;;;;-1:-1:-1;;;;;54687:221:0;;;;;;;;;;;;;;54217:404;;5:9:-1;2:2;;;27:1;24;17:12;2:2;54217:404:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;54217:404:0;;;;;;;;:::i;:::-;;76507:1142;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;76507:1142:0;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;76507:1142:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;76507:1142:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;76507:1142:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;76507:1142:0;;-1:-1:-1;;76507:1142:0;;;-1:-1:-1;;;76507:1142:0;;;;;;;;;;;:::i;73688:43::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;73688:43:0;;;:::i;85271:308::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;85271:308:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;85271:308:0;;:::i;53695:211::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;53695:211:0;;;:::i;:::-;;;;;;;;;;;;;;;;74698:101;;5:9:-1;2:2;;;27:1;24;17:12;2:2;74698:101:0;;;:::i;82321:280::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;82321:280:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;82321:280:0;;;;;;;;:::i;55577:305::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;55577:305:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;55577:305:0;;;;;;;;;;;;;;;;;:::i;69213:114::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;69213:114:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;69213:114:0;;:::i;78075:107::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;78075:107:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;78075:107:0;-1:-1:-1;;;;;78075:107:0;;:::i;82607:96::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;82607:96:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;82607:96:0;;:::i;69589:227::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;69589:227:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;69589:227:0;;;;;;-1:-1:-1;;;;;69589:227:0;;:::i;53457:162::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;53457:162:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;53457:162:0;;;;;;;;:::i;74807:161::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;74807:161:0;;;:::i;70798:209::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70798:209:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;70798:209:0;;;;;;-1:-1:-1;;;;;70798:209:0;;:::i;86012:212::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;86012:212:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;86012:212:0;;;;;;;;:::i;55953:151::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;55953:151:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;55953:151:0;;;;;;;;;;;;;;;;;:::i;53983:172::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;53983:172:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;53983:172:0;;:::i;51657:177::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;51657:177:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;51657:177:0;;:::i;53276:97::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;53276:97:0;;;:::i;51374:221::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;51374:221:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;51374:221:0;-1:-1:-1;;;;;51374:221:0;;:::i;84285:414::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;84285:414:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;84285:414:0;;;;;;;;:::i;68886:138::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;68886:138:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;68886:138:0;;;;;;;:::i;67847:139::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;67847:139:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;67847:139:0;;;;;;-1:-1:-1;;;;;67847:139:0;;:::i;79875:40::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;79875:40:0;;;:::i;52070:104::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;52070:104:0;;;:::i;83782:119::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;83782:119:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;83782:119:0;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;83782:119:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;83782:119:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;-1:-1;83782:119:0;;-1:-1:-1;83782:119:0;-1:-1:-1;83782:119:0;:::i;66592:49::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;66592:49:0;;;:::i;54980:295::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;54980:295:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;54980:295:0;;;;;;;;;;:::i;79680:68::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;79680:68:0;;;:::i;84705:120::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;84705:120:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;84705:120:0;;:::i;56175:285::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;56175:285:0;;;;;;15:3:-1;10;7:12;4:2;;;32:1;29;22:12;4:2;-1:-1;;;;;56175:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;56175:285:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;56175:285:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;56175:285:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;56175:285:0;;-1:-1:-1;56175:285:0;;-1:-1:-1;;;;;56175:285:0:i;52245:792::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;52245:792:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;52245:792:0;;:::i;68160:127::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;68160:127:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;68160:127:0;;:::i;81257:703::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;81257:703:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;81257:703:0;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;81257:703:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;81257:703:0;;;;;;100:9:-1;95:1;81:12;77:20;67:8;63:35;60:50;-1:-1;;;25:12;22:29;11:107;8:2;;;131:1;128;121:12;8:2;-1:-1;81257:703:0;;-1:-1:-1;81257:703:0;-1:-1:-1;81257:703:0;:::i;70061:230::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;70061:230:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;70061:230:0;;;;;;-1:-1:-1;;;;;70061:230:0;;:::i;55346:164::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;55346:164:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;;55346:164:0;;;;;;;;;;:::i;82965:811::-;;5:9:-1;2:2;;;27:1;24;17:12;2:2;82965:811:0;;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;;;;;82965:811:0;;;;;;;;;;;;;;;-1:-1:-1;;;11:28;;8:2;;;52:1;49;42:12;8:2;82965:811:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61;54:12;8:2;82965:811:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1;;;25:12;22:29;11:108;8:2;;;132:1;129;122:12;8:2;82965:811:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;82965:811:0;;-1:-1:-1;82965:811:0;;-1:-1:-1;;;;;82965:811:0:i;10413:150::-;-1:-1:-1;;;;;;10522:33:0;;10498:4;10522:33;;;;;;;;;;;;;10413:150;;;;:::o;51901:100::-;51988:5;51981:12;;;;;;;;-1:-1:-1;;51981:12:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51955:13;;51981:12;;51988:5;;51981:12;;51988:5;51981:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;51901:100;;:::o;79755:48::-;;;;;;;;;;;;;;;:::o;54687:221::-;54763:7;54791:16;54799:7;54791;:16::i;:::-;54783:73;;;;-1:-1:-1;;;54783:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;54876:24:0;;;;:15;:24;;;;;;-1:-1:-1;;;;;54876:24:0;;54687:221::o;54217:404::-;54298:13;54314:23;54329:7;54314:14;:23::i;:::-;54298:39;;54362:5;-1:-1:-1;;;;;54356:11:0;:2;-1:-1:-1;;;;;54356:11:0;;;54348:57;;;;-1:-1:-1;;;54348:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54442:5;-1:-1:-1;;;;;54426:21:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;54426:21:0;;:69;;;;54451:44;54475:5;54482:12;:10;:12::i;:::-;54451:23;:44::i;:::-;54418:161;;;;-1:-1:-1;;;54418:161:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;54592:21;54601:2;54605:7;54592:8;:21::i;:::-;54217:404;;;:::o;76507:1142::-;76708:12;76733:29;;:::i;:::-;-1:-1:-1;76765:152:0;;;;;;;;-1:-1:-1;;;;;76803:19:0;;-1:-1:-1;76803:19:0;;;:6;:19;;;;;;;;;76765:152;;;;;;;;;;;76952:45;76810:11;76765:152;76980:4;76986;76992;76952:6;:45::i;:::-;76930:128;;;;-1:-1:-1;;;76930:128:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;77147:19:0;;;;;;:6;:19;;;;;;:26;;77171:1;77147:26;:23;:26;:::i;:::-;-1:-1:-1;;;;;77125:19:0;;;;;;:6;:19;;;;;;;;:48;;;;77191:117;;;;;77255:10;77191:117;;;;;;;;;;;;;;;;;;;;;;;;;;77132:11;;77255:10;;77280:17;;77191:117;;;;;;;;;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;77191:117:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;77419:12;77433:23;77468:4;-1:-1:-1;;;;;77460:18:0;77510:17;77529:11;77493:48;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;77493:48:0;;;;;;;-1:-1:-1;;;;;77493:48:0;-1:-1:-1;;;;;77493:48:0;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;77493:48:0;;;77460:92;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;77460:92:0;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;77418:134:0;;;;77571:7;77563:48;;;;;-1:-1:-1;;;77563:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;77631:10;76507:1142;-1:-1:-1;;;;;;;;76507:1142:0:o;73688:43::-;;;;;;;;;;;;;;-1:-1:-1;;;73688:43:0;;;;:::o;85271:308::-;85348:12;85551:17;85560:7;85551:8;:17::i;:::-;85540:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;85540:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;85540:29:0;;;-1:-1:-1;;26:21;;;22:32;6:49;;85540:29:0;;;;85271:308;-1:-1:-1;;;;;85271:308:0:o;53695:211::-;53756:7;53877:21;:12;:19;:21::i;:::-;53870:28;;53695:211;:::o;74698:101::-;74776:15;;74698:101;:::o;82321:280::-;82412:16;82420:7;82412;:16::i;:::-;-1:-1:-1;;;;;82396:32:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;82396:32:0;;82388:85;;;;-1:-1:-1;;;82388:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82484:24;;;;:15;:24;;;;;:31;;-1:-1:-1;;82484:31:0;82511:4;82484:31;;;82526:14;82500:7;82526:5;:14::i;:::-;82556:37;;;;;;;;82579:3;;-1:-1:-1;;;;;82556:37:0;;;;;;;;;;;;82321:280;;:::o;55577:305::-;55738:41;55757:12;:10;:12::i;:::-;55771:7;55738:18;:41::i;:::-;55730:103;;;;-1:-1:-1;;;55730:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55846:28;55856:4;55862:2;55866:7;55846:9;:28::i;69213:114::-;69270:7;69297:12;;;:6;:12;;;;;:22;;;;69213:114::o;78075:107::-;-1:-1:-1;;;;;78162:12:0;78128:13;78162:12;;;:6;:12;;;;;;;78075:107::o;82607:96::-;82662:33;82673:12;:10;:12::i;:::-;82687:7;82662:10;:33::i;:::-;82607:96;:::o;69589:227::-;69681:12;;;;:6;:12;;;;;:22;;;69673:45;;69705:12;:10;:12::i;:::-;69673:7;:45::i;:::-;69665:105;;;;-1:-1:-1;;;69665:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;69783:25;69794:4;69800:7;69783:10;:25::i;:::-;69589:227;;:::o;53457:162::-;-1:-1:-1;;;;;53581:20:0;;53554:7;53581:20;;;:13;:20;;;;;:30;;53605:5;53581:30;:23;:30;:::i;:::-;53574:37;;53457:162;;;;;:::o;74807:161::-;74921:9;74807:161;:::o;70798:209::-;70896:12;:10;:12::i;:::-;-1:-1:-1;;;;;70885:23:0;:7;-1:-1:-1;;;;;70885:23:0;;70877:83;;;;-1:-1:-1;;;70877:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70973:26;70985:4;70991:7;70973:11;:26::i;86012:212::-;66637:4;72826:27;66637:4;72840:12;:10;:12::i;72826:27::-;72868:10;72804:85;;;;;-1:-1:-1;;;72804:85:0;;;;;;;;;;;;-1:-1:-1;;72804:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86109:24:0::1;::::0;;;:15:::1;:24;::::0;;;;;::::1;;86108:25;86100:85;;;;-1:-1:-1::0;;;86100:85:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;86196:20;86202:4;86208:7;86196:5;:20::i;55953:151::-:0;56057:39;56074:4;56080:2;56084:7;56057:39;;;;;;;;;;;;:16;:39::i;53983:172::-;54058:7;;54100:22;:12;54116:5;54100:22;:15;:22;:::i;:::-;-1:-1:-1;54078:44:0;53983:172;-1:-1:-1;;;53983:172:0:o;51657:177::-;51729:7;51756:70;51773:7;51756:70;;;;;;;;;;;;;;;;;:12;;:70;;:16;:70;:::i;53276:97::-;53357:8;53350:15;;;;;;;;-1:-1:-1;;53350:15:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;53324:13;;53350:15;;53357:8;;53350:15;;53357:8;53350:15;;;;;;;;;;;;;;;;;;;;;;;;51374:221;51446:7;-1:-1:-1;;;;;51474:19:0;;51466:74;;;;-1:-1:-1;;;51466:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;51558:20:0;;;;;;:13;:20;;;;;:29;;:27;:29::i;84285:414::-;84390:16;84398:7;84390;:16::i;:::-;-1:-1:-1;;;;;84374:32:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;84374:32:0;;84366:85;;;;-1:-1:-1;;;84366:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84462:24;;;;:15;:24;;;;;;:31;;-1:-1:-1;;84462:31:0;84489:4;84462:31;;;84628:33;;-1:-1:-1;;;84628:33:0;;;;;;;;;;84478:7;;84462:24;-1:-1:-1;;;;;84582:80:0;;;;;84628:4;;:24;;:33;;;;;84462:24;;84628:33;;;;;;;;:4;:33;;;2:2:-1;;;;27:1;24;17:12;2:2;84628:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;84628:33:0;;;;;;39:16:-1;36:1;17:17;2:54;101:4;84628:33:0;80:15:-1;;;-1:-1;;76:31;65:43;;120:4;113:20;15:2;7:11;;4:2;;;31:1;28;21:12;4:2;84628:33:0;;;;;;;;;;;;;-1:-1:-1;;;14:3;11:20;8:2;;;44:1;41;34:12;8:2;62:21;;;;123:4;114:14;;138:31;;;135:2;;;182:1;179;172:12;135:2;213:10;;-1:-1;;;244:29;;285:43;;;282:58;-1:-1;233:115;230:2;;;361:1;358;351:12;230:2;372:25;;-1:-1;84628:33:0;;420:4:-1;411:14;;;;84628:33:0;;;;;411:14:-1;84628:33:0;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;84628:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;84628:33:0;;;;84582:80;;;;;;;;;;;;84628:33;;-1:-1:-1;84628:33:0;;-1:-1:-1;84582:80:0;;;;-1:-1:-1;84582:80:0;;;;;;;8:100:-1;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;84582:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;84675:14;84681:7;84675:5;:14::i;68886:138::-;68959:7;68986:12;;;:6;:12;;;;;:30;;69010:5;68986:30;:23;:30;:::i;67847:139::-;67916:4;67940:12;;;:6;:12;;;;;:38;;67970:7;67940:38;:29;:38;:::i;79875:40::-;79913:2;79875:40;:::o;52070:104::-;52159:7;52152:14;;;;;;;;-1:-1:-1;;52152:14:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52126:13;;52152:14;;52159:7;;52152:14;;52159:7;52152:14;;;;;;;;;;;;;;;;;;;;;;;;83782:119;83854:39;83870:12;:10;:12::i;:::-;83884:8;;83854:39;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;83854:15:0;;-1:-1:-1;;;83854:39:0:i;66592:49::-;66637:4;66592:49;:::o;54980:295::-;55095:12;:10;:12::i;:::-;-1:-1:-1;;;;;55083:24:0;:8;-1:-1:-1;;;;;55083:24:0;;;55075:62;;;;;-1:-1:-1;;;55075:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;55195:8;55150:18;:32;55169:12;:10;:12::i;:::-;-1:-1:-1;;;;;55150:32:0;;;;;;;;;;;;;;;;;-1:-1:-1;55150:32:0;;;:42;;;;;;;;;;;;:53;;-1:-1:-1;;55150:53:0;;;;;;;;;;;55234:12;:10;:12::i;:::-;55219:48;;;;;;;;;;-1:-1:-1;;;;;55219:48:0;;;;;;;;;;;;;;54980:295;;:::o;79680:68::-;79721:27;;;-1:-1:-1;;;79721:27:0;;;;;;;;;;;;79680:68;:::o;84705:120::-;84772:45;84795:12;:10;:12::i;:::-;84809:7;84772:22;:45::i;56175:285::-;56307:41;56326:12;:10;:12::i;:::-;56340:7;56307:18;:41::i;:::-;56299:103;;;;-1:-1:-1;;;56299:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56413:39;56427:4;56433:2;56437:7;56446:5;56413:13;:39::i;:::-;56175:285;;;;:::o;52245:792::-;52318:13;52352:16;52360:7;52352;:16::i;:::-;52344:76;;;;-1:-1:-1;;;52344:76:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52459:19;;;;:10;:19;;;;;;;;;52433:45;;;;;;-1:-1:-1;;52433:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:23;;:45;;;52459:19;52433:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52489:18;52510:9;:7;:9::i;:::-;52489:30;;52601:4;52595:18;52617:1;52595:23;52591:72;;;-1:-1:-1;52642:9:0;-1:-1:-1;52635:16:0;;52591:72;52767:23;;:27;52763:108;;52842:4;52848:9;52825:33;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;52825::0;;;;;;;;;;-1:-1:-1;52825:33:0;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;52825:33:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;52825:33:0;;;52811:48;;;;;;52763:108;53003:4;53009:18;:7;:16;:18::i;:::-;52986:42;;;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;299:10;344;;263:2;259:12;;;254:3;250:22;-1:-1;;246:30;311:9;;295:26;;;340:21;;377:20;365:33;;52986:42:0;;;;;;;;;;-1:-1:-1;52986:42:0;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;52986:42:0;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;52986:42:0;;;52972:57;;;;52245:792;;;:::o;68160:127::-;68223:7;68250:12;;;:6;:12;;;;;:29;;:27;:29::i;81257:703::-;79721:27;;;-1:-1:-1;;;79721:27:0;;;;;;;;;;;;72826;79721;72840:12;:10;:12::i;72826:27::-;72868:10;72804:85;;;;;-1:-1:-1;;;72804:85:0;;;;;;;;;;;;-1:-1:-1;;72804:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;81453:2:0::1;81431:24:::0;::::1;81427:524;;;81472:15;81501:11;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::1;4:2;-1:-1:::0;81490:34:0::1;81566:5;81539:24:::0;;;:15:::1;81490:34;81539:24:::0;;;;:32;;-1:-1:-1;;81539:32:0::1;::::0;;81490:34;-1:-1:-1;81586:20:0::1;81592:4:::0;81490:34;81586:5:::1;:20::i;:::-;81427:524;;;;81667:25;81706:11;;15:2:-1;10:3;7:11;4:2;;;31:1;28::::0;21:12:::1;4:2;81695:36:0::0;::::1;::::0;::::1;::::0;::::1;::::0;::::1;-1:-1:-1::0;;;11:28;::::1;8:2;;;52:1;49::::0;42:12:::1;8:2;81695:36:0;;41:9:-1;34:4;18:14;14:25;11:40;8:2;;;64:1;61::::0;54:12:::1;8:2;81695:36:0;;;;;;101:9:-1;95:2;81:12;77:21;67:8;63:36;60:51;-1:-1:::0;;;25:12:::1;22:29;11:108;8:2;;;132:1;129::::0;122:12:::1;8:2;81695:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16:::0;::::1;74:27:::0;;;-1:-1;81763:15:0;;81695:36;;-1:-1:-1;81763:15:0;;-1:-1:-1;99:1;;-1:-1;;;;;81793:147:0::1;81813:6;81809:1;:10;81793:147;;;81876:5;81845:15;:28;81861:8;81870:1;81861:11;;;;;;;;;;;;;;81845:28;;;;;;;;;;;;:36;;;;;;;;;;;;;;;;;;81900:24;81906:4;81912:8;81921:1;81912:11;;;;;;;;;;;;;;81900:5;:24::i;:::-;81821:3;;81793:147;;;;81427:524;;81257:703:::0;;;;:::o;70061:230::-;70154:12;;;;:6;:12;;;;;:22;;;70146:45;;70178:12;:10;:12::i;70146:45::-;70138:106;;;;-1:-1:-1;;;70138:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55346:164;-1:-1:-1;;;;;55467:25:0;;;55443:4;55467:25;;;:18;:25;;;;;;;;:35;;;;;;;;;;;;;;;55346:164::o;82965:811::-;83066:15;;79913:2;83100:21;;;83092:74;;;;-1:-1:-1;;;83092:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;83270:9;83265:306;83285:6;83281:1;:10;83265:306;;;83315:15;83333:8;83342:1;83333:11;;;;;;;;;;;;;;83315:29;;83385:16;83393:7;83385;:16::i;:::-;-1:-1:-1;;;;;83369:32:0;:12;:10;:12::i;:::-;-1:-1:-1;;;;;83369:32:0;;83472:7;83410:70;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;83410:70:0;;;83361:121;;;;;-1:-1:-1;;;83361:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;83361:121:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;83497:24:0;;;;:15;:24;;;;;:31;;-1:-1:-1;;83497:31:0;83524:4;83497:31;;;83543:14;83513:7;83543:5;:14::i;:::-;-1:-1:-1;83293:3:0;;83265:306;;;;83753:2;-1:-1:-1;;;;;83738:28:0;;83757:8;83738:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;83738:28:0;;;;;;;;;;;;;;;;;82965:811;;;:::o;57927:127::-;57992:4;58016:30;:12;58038:7;58016:30;:21;:30;:::i;80586:169::-;80676:22;80723:24;:22;:24::i;63945:192::-;64020:24;;;;:15;:24;;;;;:29;;-1:-1:-1;;;;;;64020:29:0;-1:-1:-1;;;;;64020:29:0;;;;;;;;:24;;64074:23;64020:24;64074:14;:23::i;:::-;-1:-1:-1;;;;;64065:46:0;;;;;;;;;;;63945:192;;:::o;78190:486::-;78368:4;-1:-1:-1;;;;;78393:20:0;;78385:70;;;;-1:-1:-1;;;78385:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78509:159;78537:47;78556:27;78576:6;78556:19;:27::i;:::-;78537:18;:47::i;:::-;78603:4;78626;78649;78509:159;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;78509:159:0;;;;;;;;-1:-1:-1;;;;;78486:182:0;:6;-1:-1:-1;;;;;78486:182:0;;78466:202;;78190:486;;;;;;;:::o;14006:179::-;14064:7;14096:5;;;14120:6;;;;14112:46;;;;;-1:-1:-1;;;14112:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;44580:123;44649:7;44676:19;44684:3;44676:7;:19::i;60475:545::-;60535:13;60551:23;60566:7;60551:14;:23::i;:::-;60535:39;;60605:48;60626:5;60641:1;60645:7;60605:20;:48::i;:::-;60694:29;60711:1;60715:7;60694:8;:29::i;:::-;60782:19;;;;:10;:19;;;;;60776:33;;-1:-1:-1;;60776:33:0;;;;;;;;;;;:38;60772:97;;60838:19;;;;:10;:19;;;;;60831:26;;;:::i;:::-;-1:-1:-1;;;;;60881:20:0;;;;;;:13;:20;;;;;:36;;60909:7;60881:36;:27;:36;:::i;:::-;-1:-1:-1;60930:28:0;:12;60950:7;60930:28;:19;:28;:::i;:::-;-1:-1:-1;60976:36:0;;61004:7;;61000:1;;-1:-1:-1;;;;;60976:36:0;;;;;61000:1;;60976:36;60475:545;;:::o;58221:355::-;58314:4;58339:16;58347:7;58339;:16::i;:::-;58331:73;;;;-1:-1:-1;;;58331:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;58415:13;58431:23;58446:7;58431:14;:23::i;:::-;58415:39;;58484:5;-1:-1:-1;;;;;58473:16:0;:7;-1:-1:-1;;;;;58473:16:0;;:51;;;;58517:7;-1:-1:-1;;;;;58493:31:0;:20;58505:7;58493:11;:20::i;:::-;-1:-1:-1;;;;;58493:31:0;;58473:51;:94;;;;58528:39;58552:5;58559:7;58528:23;:39::i;:::-;58465:103;58221:355;-1:-1:-1;;;;58221:355:0:o;61357:599::-;61482:4;-1:-1:-1;;;;;61455:31:0;:23;61470:7;61455:14;:23::i;:::-;-1:-1:-1;;;;;61455:31:0;;61447:85;;;;-1:-1:-1;;;61447:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;61569:16:0;;61561:65;;;;-1:-1:-1;;;61561:65:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61639:39;61660:4;61666:2;61670:7;61639:20;:39::i;:::-;61743:29;61760:1;61764:7;61743:8;:29::i;:::-;-1:-1:-1;;;;;61785:19:0;;;;;;:13;:19;;;;;:35;;61812:7;61785:35;:26;:35;:::i;:::-;-1:-1:-1;;;;;;61831:17:0;;;;;;:13;:17;;;;;:30;;61853:7;61831:30;:21;:30;:::i;:::-;-1:-1:-1;61874:29:0;:12;61891:7;61900:2;61874:29;:16;:29;:::i;:::-;;61940:7;61936:2;-1:-1:-1;;;;;61921:27:0;61930:4;-1:-1:-1;;;;;61921:27:0;;;;;;;;;;;61357:599;;;:::o;72041:188::-;72115:12;;;;:6;:12;;;;;:33;;72140:7;72115:33;:24;:33;:::i;:::-;72111:111;;;72197:12;:10;:12::i;:::-;-1:-1:-1;;;;;72170:40:0;72188:7;-1:-1:-1;;;;;72170:40:0;72182:4;72170:40;;;;;;;;;;72041:188;;:::o;36340:137::-;36411:7;36446:22;36450:3;36462:5;36446:3;:22::i;72237:192::-;72312:12;;;;:6;:12;;;;;:36;;72340:7;72312:36;:27;:36;:::i;:::-;72308:114;;;72397:12;:10;:12::i;:::-;-1:-1:-1;;;;;72370:40:0;72388:7;-1:-1:-1;;;;;72370:40:0;72382:4;72370:40;;;;;;;;;;72237:192;;:::o;59842:404::-;-1:-1:-1;;;;;59922:16:0;;59914:61;;;;;-1:-1:-1;;;59914:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59995:16;60003:7;59995;:16::i;:::-;59994:17;59986:58;;;;;-1:-1:-1;;;59986:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;60057:45;60086:1;60090:2;60094:7;60057:20;:45::i;:::-;-1:-1:-1;;;;;60115:17:0;;;;;;:13;:17;;;;;:30;;60137:7;60115:30;:21;:30;:::i;:::-;-1:-1:-1;60158:29:0;:12;60175:7;60184:2;60158:29;:16;:29;:::i;:::-;-1:-1:-1;60205:33:0;;60230:7;;-1:-1:-1;;;;;60205:33:0;;;60222:1;;60205:33;;60222:1;;60205:33;59842:404;;:::o;45042:236::-;45122:7;;;;45182:22;45186:3;45198:5;45182:3;:22::i;:::-;45151:53;;;;-1:-1:-1;45042:236:0;-1:-1:-1;;;;;45042:236:0:o;46328:213::-;46435:7;46486:44;46491:3;46511;46517:12;46486:4;:44::i;:::-;46478:53;-1:-1:-1;46328:213:0;;;;;;:::o;33998:167::-;34078:4;34102:55;34112:3;-1:-1:-1;;;;;34132:23:0;;34102:9;:55::i;57342:272::-;57456:28;57466:4;57472:2;57476:7;57456:9;:28::i;:::-;57503:48;57526:4;57532:2;57536:7;57545:5;57503:22;:48::i;:::-;57495:111;;;;-1:-1:-1;;;57495:111:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;46823:746;46879:13;47100:10;47096:53;;-1:-1:-1;47127:10:0;;;;;;;;;;;;-1:-1:-1;;;47127:10:0;;;;;;47096:53;47174:5;47159:12;47215:78;47222:9;;47215:78;;47248:8;;47279:2;47271:10;;;;47215:78;;;47303:19;47335:6;47325:17;;;5:9:-1;2:2;;;27:1;24;17:12;2:2;47325:17:0;;;;;;;;;;;;;;;;;;;;;;;;;;21:6:-1;;108:14;47325:17:0;87:42:-1;143:17;;-1:-1;47325:17:0;-1:-1:-1;47397:5:0;;-1:-1:-1;47303:39:0;-1:-1:-1;;;47369:10:0;;47413:117;47420:9;;47413:117;;47489:2;47482:4;:9;47477:2;:14;47464:29;;47446:6;47453:7;;;;;;;47446:15;;;;;;;;;;;:47;-1:-1:-1;;;;;47446:47:0;;;;;;;;-1:-1:-1;47516:2:0;47508:10;;;;47413:117;;;-1:-1:-1;47554:6:0;46823:746;-1:-1:-1;;;;46823:746:0:o;44341:151::-;44425:4;44449:35;44459:3;44479;44449:9;:35::i;78793:641::-;78864:22;78908:10;78930:4;78908:27;78904:499;;;78952:18;78973:8;;78952:29;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30:3:-1;22:6;14;1:33;99:1;81:16;;74:27;;;;-1:-1;;;;79012:8:0;79223:17;79217:24;-1:-1:-1;;;;;79191:134:0;;-1:-1:-1;79051:289:0;;-1:-1:-1;79051:289:0;;-1:-1:-1;79381:10:0;78793:641;:::o;77657:410::-;77767:7;75843:100;;;;;;;;;;;;;;;;;75823:127;;;;;;77921:6;:12;;;77956:6;:11;;;78000:6;:24;;;77990:35;;;;;;77840:204;;;;;;;;;;;;;;;;-1:-1:-1;;;;;77840:204:0;-1:-1:-1;;;;;77840:204:0;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;77840:204:0;;;77812:247;;;;;;77792:267;;77657:410;;;:::o;75337:258::-;75436:7;75538:20;:18;:20::i;:::-;75560:11;75509:63;;;;;;-1:-1:-1;;;75509:63:0;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;75509:63:0;;;75481:106;;;;;;75461:126;;75337:258;;;:::o;41159:110::-;41242:19;;41159:110::o;35427:137::-;35497:4;35521:35;35529:3;35549:5;35521:7;:35::i;44115:142::-;44192:4;44216:33;44224:3;44244;44216:7;:33::i;35120:131::-;35187:4;35211:32;35216:3;35236:5;35211:4;:32::i;43764:185::-;43853:4;43877:64;43882:3;43902;-1:-1:-1;;;;;43916:23:0;;43877:4;:64::i;33426:152::-;33496:4;33520:50;33525:3;-1:-1:-1;;;;;33545:23:0;;33520:4;:50::i;31378:204::-;31473:18;;31445:7;;31473:26;-1:-1:-1;31465:73:0;;;;-1:-1:-1;;;31465:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31556:3;:11;;31568:5;31556:18;;;;;;;;;;;;;;;;31549:25;;31378:204;;;;:::o;33754:158::-;33827:4;33851:53;33859:3;-1:-1:-1;;;;;33879:23:0;;33851:7;:53::i;41624:279::-;41728:19;;41691:7;;;;41728:27;-1:-1:-1;41720:74:0;;;;-1:-1:-1;;;41720:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;41807:22;41832:3;:12;;41845:5;41832:19;;;;;;;;;;;;;;;;;;41807:44;;41870:5;:10;;;41882:5;:12;;;41862:33;;;;;41624:279;;;;;:::o;43121:319::-;43215:7;43254:17;;;:12;;;:17;;;;;;43305:12;43290:13;43282:36;;;;-1:-1:-1;;;43282:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;43282:36:0;;43372:3;:12;;43396:1;43385:8;:12;43372:26;;;;;;;;;;;;;;;;;;:33;;;43365:40;;;43121:319;;;;;:::o;30710:129::-;30783:4;30807:19;;;:12;;;;;:19;;;;;;:24;;;30710:129::o;63222:604::-;63343:4;63370:15;:2;-1:-1:-1;;;;;63370:13:0;;:15::i;:::-;63365:60;;-1:-1:-1;63409:4:0;63402:11;;63365:60;63435:23;63461:252;-1:-1:-1;;;63574:12:0;:10;:12::i;:::-;63601:4;63620:7;63642:5;63477:181;;;;;;-1:-1:-1;;;;;63477:181:0;-1:-1:-1;;;;;63477:181:0;;;;;;-1:-1:-1;;;;;63477:181:0;-1:-1:-1;;;;;63477:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;23:1:-1;8:100;33:3;30:1;27:10;8:100;;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;;12:14;63477:181:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49:4:-1;39:7;30;26:21;22:32;13:7;6:49;63477:181:0;;;;-1:-1:-1;;;;;63477:181:0;;38:4:-1;29:7;25:18;67:10;61:17;-1:-1;;;;;199:8;192:4;186;182:15;179:29;167:10;160:49;0:215;;;63477:181:0;63461:252;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;63461:15:0;;;:252;;:15;:252;:::i;:::-;63435:278;;63724:13;63751:10;63740:32;;;;;15:2:-1;10:3;7:11;4:2;;;31:1;28;21:12;4:2;-1:-1;63740:32:0;-1:-1:-1;;;;;;63791:26:0;-1:-1:-1;;;63791:26:0;;-1:-1:-1;;;63222:604:0;;;;;;:::o;29080:1544::-;29146:4;29285:19;;;:12;;;:19;;;;;;29321:15;;29317:1300;;29756:18;;-1:-1:-1;;29707:14:0;;;;29756:22;;;;29683:21;;29756:3;;:22;;30043;;;;;;;;;;;;;;30023:42;;30189:9;30160:3;:11;;30172:13;30160:26;;;;;;;;;;;;;;;;;;;:38;;;;30266:23;;;30308:1;30266:12;;;:23;;;;;;30292:17;;;30266:43;;30418:17;;30266:3;;30418:17;;;;;;;;;;;;;;;;;;;;;;30513:3;:12;;:19;30526:5;30513:19;;;;;;;;;;;30506:26;;;30556:4;30549:11;;;;;;;;29317:1300;30600:5;30593:12;;;;;39306:1549;39370:4;39505:17;;;:12;;;:17;;;;;;39539:13;;39535:1313;;39971:19;;-1:-1:-1;;39924:12:0;;;;39971:23;;;;39900:21;;39971:3;;:23;;40268;;;;;;;;;;;;;;;;40239:52;;40416:9;40386:3;:12;;40399:13;40386:27;;;;;;;;;;;;;;;;:39;;:27;;;;;:39;;;;;;;;;;;;;;;40506:14;;40493:28;;:12;;;:28;;;;;40524:17;;;40493:48;;40650:18;;40493:3;;40650:18;;;;;;;;;;;;;;-1:-1:-1;;40650:18:0;;;;;;;;;;;;;;;;;;;;;40746:17;;;:12;;;:17;;;;;;40739:24;;;;40650:18;-1:-1:-1;40780:11:0;;-1:-1:-1;;;;40780:11:0;28490:414;28553:4;28575:21;28585:3;28590:5;28575:9;:21::i;:::-;28570:327;;-1:-1:-1;27:10;;39:1;23:18;;;45:23;;28613:11:0;:23;;;;;;;;;;;;;28796:18;;28774:19;;;:12;;;:19;;;;;;:40;;;;28829:11;;28570:327;-1:-1:-1;28880:5:0;28873:12;;38439:692;38515:4;38650:17;;;:12;;;:17;;;;;;38684:13;38680:444;;-1:-1:-1;;38769:38:0;;;;;;;;;;;;;;;;;;27:10:-1;;39:1;23:18;;;45:23;;38751:12:0;:57;;;;;;;;;;;;;;;;;;;;;;;;38966:19;;38946:17;;;:12;;;:17;;;;;;;:39;39000:11;;38680:444;39080:5;39044:3;:12;;39068:1;39057:8;:12;39044:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;39107:5;39100:12;;;;;19478:422;19845:20;19884:8;;;19478:422::o;22396:195::-;22499:12;22531:52;22553:6;22561:4;22567:1;22570:12;22499;23700:18;23711:6;23700:10;:18::i;:::-;23692:60;;;;;-1:-1:-1;;;23692:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;23826:12;23840:23;23867:6;-1:-1:-1;;;;;23867:11:0;23887:5;23895:4;23867:33;;;;;;;;;;;;;36:153:-1;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;23867:33:0;;;;;;;;;;;;;;;;;;;;;;;;;12:1:-1;19;14:27;;;;67:4;61:11;56:16;;134:4;130:9;123:4;105:16;101:27;97:43;94:1;90:51;84:4;77:65;157:16;154:1;147:27;211:16;208:1;201:4;198:1;194:12;179:49;5:228;;14:27;32:4;27:9;;5:228;;23825:75:0;;;;23918:52;23936:7;23945:10;23957:12;23918:17;:52::i;:::-;23911:59;23448:530;-1:-1:-1;;;;;;;23448:530:0:o;25988:742::-;26103:12;26132:7;26128:595;;;-1:-1:-1;26163:10:0;26156:17;;26128:595;26277:17;;:21;26273:439;;26540:10;26534:17;26601:15;26588:10;26584:2;26580:19;26573:44;26488:148;26676:20;;-1:-1:-1;;;26676:20:0;;;;;;;;;;;;;;;;;26683:12;;26676:20;;;;;;;;;;;;;;;27:10:-1;;8:100;;90:11;;;84:18;71:11;;;64:39;52:2;45:10;8:100;;79538:6689:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;79538:6689:0;;;;;;;;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://dc22b1534eb09c3e3d2e32d5f4b8d3bb37073ac19f8c7b17009eadbc7d09f902
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading