Contract 0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb40

 
Txn Hash
Block
From
To
Value [Txn Fee]
0x6aad31bb9cf7b09b0cc82e9e9ce2a697d3d2fe0b8779a3bd848112deff55d32a84366742021-06-19 16:07:482 hrs 3 mins ago0xbed324bee6023165282784c808b6b5ab7e42a79e IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025706
0x668a1316a142bc5f3e9ba7805796f7878c75ab264b9ab48292ba72c366c3c8c684359582021-06-19 15:32:002 hrs 39 mins ago0x019d239a36a4fd4828253e8eccadd1dd2d0dd147 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025688
0xa60c999a136112696019d18199de645ad169439241722218d6cdad8b95bd8c7284357782021-06-19 15:23:002 hrs 48 mins ago0x019d239a36a4fd4828253e8eccadd1dd2d0dd147 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025694
0xc76d8e47e929da0f02e876da423b5985a465475737aaff095c5e6f192802805684357232021-06-19 15:20:152 hrs 51 mins ago0x019d239a36a4fd4828253e8eccadd1dd2d0dd147 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025688
0x903cb617caf960c10d30947b8d1361b898d50dcaa9e8eb70ffe6f7f9a4b6de7584356212021-06-19 15:15:092 hrs 56 mins ago0xd97d2fe146369e69755aa9090f0e74030a0a0789 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025706
0x85b0852cfafb5f5473da3c6d67ad04ee3dd90f41379443ed91a6e649c1a9da5f84353702021-06-19 15:02:363 hrs 8 mins ago0xd97d2fe146369e69755aa9090f0e74030a0a0789 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025712
0x886a9a2e457131a74170286d5f76335fe7c854f10de51d19553255aebdb20ab584346842021-06-19 14:25:193 hrs 46 mins ago0xd97d2fe146369e69755aa9090f0e74030a0a0789 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.000257
0x14464a8f70dcd90a9626e7c00db6eec2b74c3f319754052d65c86ff654da8d9f84343382021-06-19 14:08:014 hrs 3 mins ago0xd97d2fe146369e69755aa9090f0e74030a0a0789 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.000257
0xed8d5bab9f4d2d955992f5e48b7d1ef8b8fa93c3f01fa6198b0453a63a428a1484340912021-06-19 13:54:254 hrs 17 mins ago0xd97d2fe146369e69755aa9090f0e74030a0a0789 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025694
0x4971695cb9dde2517142da210cad1a7b1c959fb4fd7a0e020aa7cd42a516d12d84339912021-06-19 13:49:154 hrs 22 mins ago0x519933b63383a172f2db2aa6e5786f82f660f0ea IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.000257
0x6cdaf64d42728ad041c1876bc7714d8cafc00f8df56944dfef36c1d3fd130eee84339842021-06-19 13:48:544 hrs 22 mins ago0xd97d2fe146369e69755aa9090f0e74030a0a0789 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025592
0x0c1a5b93e6e08ffa05e5c67b53e0b4931d973737e6533fb2db968ef88300f44d84337872021-06-19 13:39:034 hrs 32 mins ago0x2342795636ae8eb62a78a2621cbc5bc5db4d501e IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.000257
0x31b481b5981bc53f1b610ea0a05d72a56050621db3369142effa371f3f3daa6184337172021-06-19 13:35:334 hrs 35 mins ago0x2342795636ae8eb62a78a2621cbc5bc5db4d501e IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.000257
0x87341656a2570db09562e5d347e9cdfcff4b14c193729203cb4aebc76263a9a884337042021-06-19 13:34:544 hrs 36 mins ago0x2342795636ae8eb62a78a2621cbc5bc5db4d501e IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.000257
0x829320f72fb170079d2f577ef14a7a75444f2af0b515f3bb867689c26ab7f0cb84336582021-06-19 13:32:364 hrs 38 mins ago0x7c35b0c0ffd4fcbd11fcd4b82efa57bddcf15fd1 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.000119815
0x979facc3a1aa2d9caa62f851ebb95a73c0622ea6bd1601813ad32ee78bfc864384336452021-06-19 13:31:574 hrs 39 mins ago0x7c35b0c0ffd4fcbd11fcd4b82efa57bddcf15fd1 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.000119815
0x305200f858bdc0c6a3e9f5b128cba2ff780dada1dbca5e294aaff53c9ac751d484336352021-06-19 13:31:274 hrs 40 mins ago0x7c35b0c0ffd4fcbd11fcd4b82efa57bddcf15fd1 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.000119815
0x57fc5fdfe9ae88fb6fb7d95614e4b5bc527581fdf6055350de46f23a9c7638fe84332472021-06-19 13:12:004 hrs 59 mins ago0xcbfd578d6230954113f2acaabf2444894a1bacf4 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025712
0xb5f12183af1e87f57b9a6b6f066dcf8b8c0cbf83a5270df5dfbdc165fa4d613b84326882021-06-19 12:43:475 hrs 27 mins ago0x8e224b70c1a6db147852bde9332bd266255b941b IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025592
0x8d468b97322e809ca238296d6bf5bbf30868c83c692f00920aef3054168457f584325582021-06-19 12:36:595 hrs 34 mins ago0xb4bc8b1ea52014fa63b1bc10e2fccdb2d4d7b833 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025592
0xe7fcaafc79a6d6516517a2f33ac17614c028c5cdbb097e4fdf2e7eb576698a8384324422021-06-19 12:30:145 hrs 41 mins ago0xce11788364d913ddcc91da25343e11208e3b39f8 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025718
0x756f54826addc9dc88ba57b971b90db14d3bda50f05a16e40fb0a2869b16fcdd84323892021-06-19 12:27:355 hrs 43 mins ago0xce11788364d913ddcc91da25343e11208e3b39f8 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025712
0x1408db2aa65e59f5d9f99be5593485b2fc8b97cd6ec1a45b4429c3c624b6df5584321372021-06-19 12:14:595 hrs 56 mins ago0xce11788364d913ddcc91da25343e11208e3b39f8 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.000257
0xc87214272c4ca27eb812306b134dab970c4711a82aa40da11d57b033f4b9e62c84320952021-06-19 12:12:535 hrs 58 mins ago0xce11788364d913ddcc91da25343e11208e3b39f8 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025712
0x4a19312b60111342f935af7d63388eb720ab6f8a7a2fc0892cd5f2ee06a1453984310112021-06-19 11:17:316 hrs 53 mins ago0xd97d2fe146369e69755aa9090f0e74030a0a0789 IN  0xe97a1b9f5d4b849f0d78f58adb7dd91e90e0fb400 BNB0.00025592
[ Download CSV Export 
Parent Txn Hash Block From To Value
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ArcaneItems

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at BscScan.com on 2021-04-19
*/

// File: src/lib/math/SafeMath.sol

pragma solidity >=0.4.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, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, 'SafeMath: addition overflow');

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

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

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(
        uint256 a,
        uint256 b,
        string memory errorMessage
    ) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

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

    function min(uint256 x, uint256 y) internal pure returns (uint256 z) {
        z = x < y ? x : y;
    }

    // babylonian method (https://en.wikipedia.org/wiki/Methods_of_computing_square_roots#Babylonian_method)
    function sqrt(uint256 y) internal pure returns (uint256 z) {
        if (y > 3) {
            z = y;
            uint256 x = y / 2 + 1;
            while (x < z) {
                z = x;
                x = (y / x + x) / 2;
            }
        } else if (y != 0) {
            z = 1;
        }
    }
}

// File: src/lib/token/BEP20/IBEP20.sol

pragma solidity >=0.4.0;

interface IBEP20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the token decimals.
     */
    function decimals() external view returns (uint8);

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

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

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external view returns (address);

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

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

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

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

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

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

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

// File: src/lib/utils/Address.sol

pragma solidity ^0.6.2;

/**
 * @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) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            codehash := extcodehash(account)
        }
        return (codehash != accountHash && codehash != 0x0);
    }

    /**
     * @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');
        return _functionCallWithValue(target, data, value, errorMessage);
    }

    function _functionCallWithValue(
        address target,
        bytes memory data,
        uint256 weiValue,
        string memory errorMessage
    ) private returns (bytes memory) {
        require(isContract(target), 'Address: call to non-contract');

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{value: weiValue}(data);
        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: src/lib/token/BEP20/SafeBEP20.sol

pragma solidity ^0.6.0;




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

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

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

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

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

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

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

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

// File: src/lib/GSN/Context.sol

pragma solidity >=0.4.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.
 */
contract Context {
    // Empty internal constructor, to prevent people from mistakenly deploying
    // an instance of this contract, which should be used via inheritance.
    constructor() internal {}

    function _msgSender() internal view returns (address payable) {
        return msg.sender;
    }

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

// File: src/lib/access/Ownable.sol

pragma solidity >=0.4.0;


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

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

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

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

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

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

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public onlyOwner {
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     */
    function _transferOwnership(address newOwner) internal {
        require(newOwner != address(0), 'Ownable: new owner is the zero address');
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// File: src/lib/token/BEP20/BEP20.sol

pragma solidity >=0.4.0;






/**
 * @dev Implementation of the {IBEP20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {BEP20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-BEP20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin guidelines: functions revert instead
 * of returning `false` on failure. This behavior is nonetheless conventional
 * and does not conflict with the expectations of BEP20 applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IBEP20-approve}.
 */
contract BEP20 is Context, IBEP20, Ownable {
    using SafeMath for uint256;
    using Address for address;

    mapping(address => uint256) internal _balances;

    mapping(address => mapping(address => uint256)) internal _allowances;

    uint256 internal _totalSupply;

    string private _name;
    string private _symbol;
    uint8 private _decimals;

    /**
     * @dev Sets the values for {name} and {symbol}, initializes {decimals} with
     * a default value of 18.
     *
     * To select a different value for {decimals}, use {_setupDecimals}.
     *
     * All three of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name, string memory symbol) public {
        _name = name;
        _symbol = symbol;
        _decimals = 18;
    }

    /**
     * @dev Returns the bep token owner.
     */
    function getOwner() external override view returns (address) {
        return owner();
    }

    /**
     * @dev Returns the token name.
     */
    function name() public override view returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the token decimals.
     */
    function decimals() public override view returns (uint8) {
        return _decimals;
    }

    /**
     * @dev Returns the token symbol.
     */
    function symbol() public override view returns (string memory) {
        return _symbol;
    }

    /**
     * @dev See {BEP20-totalSupply}.
     */
    function totalSupply() public override view returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {BEP20-balanceOf}.
     */
    function balanceOf(address account) public override view returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {BEP20-transfer}.
     *
     * Requirements:
     *
     * - `recipient` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address recipient, uint256 amount) public virtual override returns (bool) {
        _transfer(_msgSender(), recipient, amount);
        return true;
    }

    /**
     * @dev See {BEP20-allowance}.
     */
    function allowance(address owner, address spender) public override view returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {BEP20-approve}.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public override returns (bool) {
        _approve(_msgSender(), spender, amount);
        return true;
    }

    /**
     * @dev See {BEP20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {BEP20};
     *
     * Requirements:
     * - `sender` and `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     * - the caller must have allowance for `sender`'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address sender,
        address recipient,
        uint256 amount
    ) public virtual override returns (bool) {
        _transfer(sender, recipient, amount);
        _approve(
            sender,
            _msgSender(),
            _allowances[sender][_msgSender()].sub(amount, 'BEP20: transfer amount exceeds allowance')
        );
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender].add(addedValue));
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {BEP20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public returns (bool) {
        _approve(
            _msgSender(),
            spender,
            _allowances[_msgSender()][spender].sub(subtractedValue, 'BEP20: decreased allowance below zero')
        );
        return true;
    }

    /**
     * @dev Creates `amount` tokens and assigns them to `msg.sender`, increasing
     * the total supply.
     *
     * Requirements
     *
     * - `msg.sender` must be the token owner
     */
    function mint(uint256 amount) public onlyOwner returns (bool) {
        _mint(_msgSender(), amount);
        return true;
    }

    /**
     * @dev Moves tokens `amount` from `sender` to `recipient`.
     *
     * This is internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `sender` cannot be the zero address.
     * - `recipient` cannot be the zero address.
     * - `sender` must have a balance of at least `amount`.
     */
    function _transfer(
        address sender,
        address recipient,
        uint256 amount
    ) internal virtual {
        require(sender != address(0), 'BEP20: transfer from the zero address');
        require(recipient != address(0), 'BEP20: transfer to the zero address');

        _balances[sender] = _balances[sender].sub(amount, 'BEP20: transfer amount exceeds balance');
        _balances[recipient] = _balances[recipient].add(amount);
        emit Transfer(sender, recipient, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements
     *
     * - `to` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), 'BEP20: mint to the zero address');

        _totalSupply = _totalSupply.add(amount);
        _balances[account] = _balances[account].add(amount);
        emit Transfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal {
        require(account != address(0), 'BEP20: burn from the zero address');

        _balances[account] = _balances[account].sub(amount, 'BEP20: burn amount exceeds balance');
        _totalSupply = _totalSupply.sub(amount);
        emit Transfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner`s tokens.
     *
     * This is internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal {
        require(owner != address(0), 'BEP20: approve from the zero address');
        require(spender != address(0), 'BEP20: approve to the zero address');

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`.`amount` is then deducted
     * from the caller's allowance.
     *
     * See {_burn} and {_approve}.
     */
    function _burnFrom(address account, uint256 amount) internal {
        _burn(account, amount);
        _approve(
            account,
            _msgSender(),
            _allowances[account][_msgSender()].sub(amount, 'BEP20: burn amount exceeds allowance')
        );
    }
}

// File: src/lib/access/AccessControl.sol

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: src/lib/token/ERC721/ERC721.sol

pragma solidity >=0.6.0 <0.8.0;


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

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

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

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

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

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

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

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

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

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

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


pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Implementation of the {IERC721Receiver} interface.
 *
 * Accepts all token transfers.
 * Make sure the contract is able to use its token with {IERC721-safeTransferFrom}, {IERC721-approve} or {IERC721-setApprovalForAll}.
 */
contract ERC721Holder is IERC721Receiver {
    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address,
        address,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }
}


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

pragma solidity >=0.6.0 <0.8.0;

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

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

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

    /**
     * @dev See {IERC165-supportsInterface}.
     *
     * Time complexity O(1), guaranteed to always use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId)
        public
        view
        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/utils/EnumerableSet.sol

pragma solidity >=0.6.0 <0.8.0;

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

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

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

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

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

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

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

            bytes32 lastvalue = set._values[lastIndex];

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

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

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

            return true;
        } else {
            return false;
        }
    }

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

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

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

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

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

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

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

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

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

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

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

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

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

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

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

    // UintSet

    struct UintSet {
        Set _inner;
    }

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

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

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

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

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

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

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

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

    // UintToAddressMap

    struct UintToAddressMap {
        Map _inner;
    }

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

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

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

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

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

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

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

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

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

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 override returns (uint256) {
        require(
            owner != address(0),
            "ERC721: balance query for the zero address"
        );

        return _holderTokens[owner].length();
    }

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

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

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

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

        string memory _tokenURI = _tokenURIs[tokenId];

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

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

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

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

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

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

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

        _approve(to, tokenId);
    }

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

        return _tokenApprovals[tokenId];
    }

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

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

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

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

        _transfer(from, to, tokenId);
    }

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

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

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

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

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

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

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

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

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

        _holderTokens[to].add(tokenId);

        _tokenOwners.set(tokenId, to);

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

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

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

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

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

        _holderTokens[owner].remove(tokenId);

        _tokenOwners.remove(tokenId);

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

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

        _beforeTokenTransfer(from, to, tokenId);

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

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

        _tokenOwners.set(tokenId, to);

        emit Transfer(from, to, tokenId);
    }

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

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

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

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

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

// File: src/ArcaneItems.sol

pragma solidity 0.6.12;







contract ArcaneItems is ERC721, Ownable {
    using Counters for Counters.Counter;

    // Map the number of tokens per itemId
    mapping(uint16 => uint256) public itemCount;

    // Map the number of tokens burnt per itemId
    mapping(uint16 => uint256) public itemBurnCount;

    // Used for generating the tokenId of new NFT minted
    // Counters.Counter private _tokenIds;

    // Map the itemId for each tokenId
    mapping(uint256 => uint16) public itemIds;

    // Map the itemName for a tokenId
    mapping(uint16 => string) public itemNames;

    constructor(string memory _baseURI) public ERC721("Arcane Items", "AI") {
        _setBaseURI(_baseURI);
    }

    /**
     * @dev Get itemId for a specific tokenId.
     */
    function getItemId(uint256 _tokenId) external view returns (uint16) {
        return itemIds[_tokenId];
    }

    /**
     * @dev Get the associated itemName for a specific itemId.
     */
    function getItemName(uint16 _itemId)
        external
        view
        returns (string memory)
    {
        return itemNames[_itemId];
    }

    /**
     * @dev Get the associated itemName for a unique tokenId.
     */
    function getItemNameOfTokenId(uint256 _tokenId)
        external
        view
        returns (string memory)
    {
        uint16 itemId = itemIds[_tokenId];
        return itemNames[itemId];
    }

    /**
     * @dev Mint NFTs. Only the owner can call it.
     */
    function mint(
        address _to,
        string calldata _tokenURI,
        uint16 _itemId,
        uint256 _tokenId
    ) external onlyOwner returns (uint256) {
        // uint256 newId = _tokenIds.current();
        // _tokenIds.increment();
        itemIds[_tokenId] = _itemId;
        itemCount[_itemId] = itemCount[_itemId].add(1);
        _mint(_to, _tokenId);
        _setTokenURI(_tokenId, _tokenURI);
        return _tokenId;
    }

    /**
     * @dev Set a unique name for each itemId. It is supposed to be called once.
     */
    function setItemName(uint16 _itemId, string calldata _name)
        external
        onlyOwner
    {
        itemNames[_itemId] = _name;
    }

    /**
     * @dev Burn a NFT token. Callable by owner only.
     */
    function burn(uint256 _tokenId) external onlyOwner {
        uint16 itemIdBurnt = itemIds[_tokenId];
        itemCount[itemIdBurnt] = itemCount[itemIdBurnt].sub(1);
        itemBurnCount[itemIdBurnt] = itemBurnCount[itemIdBurnt].add(1);
        _burn(_tokenId);
    }
}

// File: src/ArcaneItemMintingStation.sol

pragma solidity ^0.6.0;







/** @title ArcaneItemMintingStation.
@dev It is a contract that allow different factories to mint
Arcane Collectibles/Items.
*/

contract ArcaneItemMintingStation is AccessControl {
    ArcaneItems public arcaneItems;

    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    // Modifier for minting roles
    modifier onlyMinter() {
        require(hasRole(MINTER_ROLE, _msgSender()), "Not a minting role");
        _;
    }

    // Modifier for admin roles
    modifier onlyOwner() {
        require(hasRole(DEFAULT_ADMIN_ROLE, _msgSender()), "Not an admin role");
        _;
    }

    constructor(ArcaneItems _arcaneItems) public {
        arcaneItems = _arcaneItems;
        _setupRole(DEFAULT_ADMIN_ROLE, _msgSender());
    }

    /**
     * @dev Mint NFTs from the ArcaneItems contract.
     * Users can specify what itemId they want to mint. Users can claim once.
     * There is a limit on how many are distributed. It requires RUNE balance to be > 0.
     */
    function mint(
        address _tokenReceiver,
        string calldata _tokenURI,
        uint16 _itemId,
        uint256 _tokenId
    ) external onlyMinter returns (uint256) {
        uint256 tokenId =
            arcaneItems.mint(_tokenReceiver, _tokenURI, _itemId, _tokenId);
        return tokenId;
    }

    /**
     * @dev Set up names for items.
     * Only the main admins can set it.
     */
    function setItemName(uint8 _itemId, string calldata _itemName)
        external
        onlyOwner
    {
        arcaneItems.setItemName(_itemId, _itemName);
    }

    /**
     * @dev It transfers the ownership of the NFT contract
     * to a new address.
     * Only the main admins can set it.
     */
    function changeOwnershipNFTContract(address _newOwner) external onlyOwner {
        arcaneItems.transferOwnership(_newOwner);
    }
}

// File: src/ArcaneItemFactoryV1.sol

pragma solidity 0.6.12;
pragma experimental ABIEncoderV2;








contract ArcaneItemFactoryV1 is Ownable {
    using SafeMath for uint256;
    using SafeBEP20 for IBEP20;

    ArcaneItemMintingStation public itemMintingStation;

    IBEP20 public runeToken;

    // starting block
    uint256 public startBlockNumber;

    // Number of RUNEs a user needs to pay to acquire a token
    uint256 public tokenPrice;

    // IPFS hash for new json
    string private ipfsHash;

    // Map the token number to URI
    mapping(uint16 => string) private itemIdURIs;

    // ArcaneRecipe[] public recipes;
    mapping(address => mapping(address => ArcaneRecipe)) public recipes;

    // Is minting enabled
    bool private mintingEnabled = true;

    uint8 public constant version = 1;

    IBEP20 public elToken;
    IBEP20 public tirToken;

    // Vault address
    address public vaultAddress;

    // Event to notify when NFT is successfully minted
    event ItemMint(
        address indexed to,
        uint256 indexed tokenId,
        uint16 indexed itemId
    );

    struct ArcaneRecipe {
        uint16 version;
        uint16 itemId;
        mapping(uint8 => ArcaneRecipeModifier) mods;
    }

    struct ArcaneRecipeModifier {
        uint8 variant;
        uint16 minRange;
        uint16 maxRange;
        uint16 difficulty;
    }

    struct ArcaneItem {
        uint16 version;
        uint16 itemId;
        ArcaneItemModifier[] mods;
    }

    struct ArcaneItemModifier {
        uint8 variant;
        uint16 value;
    }

    constructor(
        ArcaneItemMintingStation _itemMintingStation,
        IBEP20 _runeToken,
        uint256 _tokenPrice,
        string memory _ipfsHash,
        uint256 _startBlockNumber
    ) public {
        itemMintingStation = _itemMintingStation;
        runeToken = _runeToken;
        tokenPrice = _tokenPrice;
        ipfsHash = _ipfsHash;
        startBlockNumber = _startBlockNumber;
        elToken = BEP20(0x210C14fbeCC2BD9B6231199470DA12AD45F64D45);
        tirToken = BEP20(0x125a3E00a9A11317d4d95349E68Ba0bC744ADDc4);
        vaultAddress = address(0x602a27bBf954b6945534a84C8c88FB8cA9E92B7F);
    }

    function setRecipe(address _item1, address _item2, uint16 _version, uint16 _itemId) external onlyOwner {
        recipes[_item1][_item2].version = _version;
        recipes[_item1][_item2].itemId = _itemId;
    }

    function setRecipeMod(address _item1, address _item2, uint8 _index, uint8 _variant, uint16 _minRange, uint16 _maxRange, uint16 _difficulty) external onlyOwner {
        // ArcaneRecipe memory recipe = recipes[_item1][_item2];

        recipes[_item1][_item2].mods[_index].variant = _variant;
        recipes[_item1][_item2].mods[_index].minRange = _minRange;
        recipes[_item1][_item2].mods[_index].maxRange = _maxRange;
        recipes[_item1][_item2].mods[_index].difficulty = _difficulty;
    }

    uint public randNonce;

    /**
     * @dev Allow to change the IPFS hash
     * Only the owner can set it.
     */
    function updateIpfsHash(string memory _ipfsHash) external onlyOwner {
        ipfsHash = _ipfsHash;
    }

    function random(uint _modulus) internal returns(uint) {
        randNonce += 1;
        return uint(keccak256(abi.encodePacked(now, block.difficulty, msg.sender, randNonce))) % (_modulus + 1);
    }
    
    function stringToUint(string memory s) internal view returns (uint256) {
        bytes memory b = bytes(s);
        uint256 result = 0;
        for (uint i = 0; i < b.length; i++) { // c = b[i] was not needed
            if (uint8(b[i]) >= 48 && uint8(b[i]) <= 57) {
                result = result * 10 + (uint8(b[i]) - 48); // bytes and int are not compatible with the operator -.
            }
        }
        return result; // this was missing
    }

    function uintToString(uint256 v) internal view returns (string memory) {
        if (v == 0) return "0";

        uint256 maxlength = 100;
        bytes memory reversed = new bytes(maxlength);
        uint i = 0;
        while (v != 0) {
            uint remainder = v % 10;
            v = v / 10;
            reversed[i++] = byte(48 + uint8(remainder));
        }
        bytes memory s = new bytes(i); // i + 1 is inefficient
        for (uint j = 0; j < i; j++) {
            s[j] = reversed[i - j - 1]; // to avoid the off-by-one error
        }
        string memory str = string(s);  // memory isn't implicitly convertible to storage
        return str;
    }

    function getSlice(uint256 begin, uint256 end, string memory text) public pure returns (string memory) {
        bytes memory a = new bytes(end-begin+1);
        for(uint i=0;i<=end-begin;i++){
            a[i] = bytes(text)[i+begin-1];
        }
        return string(a);    
    }

    function concat(string memory a, string memory b, string memory c, string memory d, string memory e) internal pure returns (string memory) {
        return string(abi.encodePacked(a, b, c, d, e));
    }

    function pad(string memory str, uint8 length) internal pure returns (string memory) {
        string memory padding = "000000000";

        return getSlice(0, length - bytes(str).length, padding);
    }

    // function pad(string memory str, uint8 length) internal pure returns (string memory) {
    //     string memory padding = "000000000";

    //     if (length > bytes(str).length) {
    //         return string(abi.encodePacked(getSlice(0, length - bytes(str).length, padding), str));
    //     } else {
    //         return str;
    //     }
    // }

    function getTokenIdFromRecipe(ArcaneRecipe storage recipe) internal returns (uint256) {
        string memory _version = uintToString(recipe.version);
        string memory itemId = uintToString(recipe.itemId);
        string memory mod1 = uintToString(recipe.mods[0].variant);
        string memory mod2 = recipe.mods[0].minRange == recipe.mods[0].maxRange ? uintToString(recipe.mods[0].minRange) : uintToString(recipe.mods[0].minRange + random(recipe.mods[0].maxRange - recipe.mods[0].minRange));
        string memory mod3 = uintToString(recipe.mods[1].variant);
        string memory mod4 = recipe.mods[1].minRange == recipe.mods[1].maxRange ? uintToString(recipe.mods[1].minRange) : uintToString(recipe.mods[1].minRange + random(recipe.mods[1].maxRange - recipe.mods[1].minRange));
        string memory mod5 = uintToString(recipe.mods[2].variant);
        string memory mod6 = recipe.mods[2].minRange == recipe.mods[2].maxRange ? uintToString(recipe.mods[2].minRange) : uintToString(recipe.mods[2].minRange + random(recipe.mods[2].maxRange - recipe.mods[2].minRange));

        ///return stringToUint(string("1", abi.encodePacked(pad(_version, 3), pad(itemId, 5), pad(mod1, 3), pad(mod2, 3), pad(mod3, 3), pad(mod4, 3), pad(mod5, 3), pad(mod6, 3))));

        string memory moreMods = string(abi.encodePacked("1", random(100), "1", random(100), "1", random(100), "1", random(100), "1", random(100)));

        return stringToUint(string(abi.encodePacked("1001000011", bytes(mod2).length > 1 ? "0" : "00", mod2, "100", mod4, "100", mod6, moreMods)));
    }

    /**
     * @dev Mint NFTs from the ItemMintingStation contract.
     * Users can specify what itemId they want to mint. Users can claim once.
     */
    function transmute(address _item1, address _item2) external {
        require(mintingEnabled == true, "Minting disabled");
        
        address senderAddress = _msgSender();

        ArcaneRecipe storage recipe = recipes[_item1][_item2];

        // Check block time is not too late
        require(block.number > startBlockNumber, "too early");

        // Send RUNE tokens to this contract
        if (tokenPrice > 0) {
            runeToken.safeTransferFrom(senderAddress, vaultAddress, tokenPrice);
        }

        elToken.safeTransferFrom(senderAddress, vaultAddress, 1 ether);
        tirToken.safeTransferFrom(senderAddress, vaultAddress, 1 ether);

        string memory tokenURI = itemIdURIs[recipe.itemId];

        uint16 _itemId = recipe.itemId;
        uint256 _tokenId = getTokenIdFromRecipe(recipe);

        uint256 tokenId =
            itemMintingStation.mint(
                senderAddress,
                tokenURI,
                _itemId,
                _tokenId
            );

        emit ItemMint(senderAddress, tokenId, _itemId);
    }

    /**
     * @dev It transfers the RUNE tokens back to the chef address.
     * Only callable by the owner.
     */
    function claimFee(uint256 _amount) external onlyOwner {
        runeToken.safeTransfer(_msgSender(), _amount);
    }

    /**
     * @dev Set up json extensions for items
     * Assign tokenURI to look for each itemId in the mint function
     * Only the owner can set it.
     */
    function setItemJson(
        uint16 _itemId,
        string calldata _itemIdJson
    ) external onlyOwner {
        itemIdURIs[_itemId] = string(abi.encodePacked(ipfsHash, _itemIdJson));
    }

    /**
     * @dev Allow to set up the start number
     * Only the owner can set it.
     */
    function setStartBlockNumber(uint256 _newStartBlockNumber)
        external
        onlyOwner
    {
        require(_newStartBlockNumber > block.number, "too short");
        startBlockNumber = _newStartBlockNumber;
    }

    /**
     * @dev Allow to change the token price
     * Only the owner can set it.
     */
    function updateTokenPrice(uint256 _newTokenPrice) external onlyOwner {
        tokenPrice = _newTokenPrice;
    }

    function setMintingEnabled(bool _mintingEnabled) external onlyOwner {
        mintingEnabled = _mintingEnabled;
    }
}

Contract ABI

[{"inputs":[{"internalType":"string","name":"_baseURI","type":"string"}],"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":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"approve","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"baseURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"getApproved","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getItemId","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"_itemId","type":"uint16"}],"name":"getItemName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"getItemNameOfTokenId","outputs":[{"internalType":"string","name":"","type":"string"}],"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":"uint16","name":"","type":"uint16"}],"name":"itemBurnCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"itemCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"itemIds","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint16","name":"","type":"uint16"}],"name":"itemNames","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"string","name":"_tokenURI","type":"string"},{"internalType":"uint16","name":"_itemId","type":"uint16"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"mint","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"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":"uint16","name":"_itemId","type":"uint16"},{"internalType":"string","name":"_name","type":"string"}],"name":"setItemName","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":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60806040523480156200001157600080fd5b506040516200470f3803806200470f8339818101604052810190620000379190620003fe565b6040518060400160405280600c81526020017f417263616e65204974656d7300000000000000000000000000000000000000008152506040518060400160405280600281526020017f4149000000000000000000000000000000000000000000000000000000000000815250620000bb6301ffc9a760e01b6200020060201b60201c565b8160069080519060200190620000d3929190620002fc565b508060079080519060200190620000ec929190620002fc565b50620001056380ac58cd60e01b6200020060201b60201c565b6200011d635b5e139f60e01b6200020060201b60201c565b6200013563780e9d6360e01b6200020060201b60201c565b5050600062000149620002d860201b60201c565b905080600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508073ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a350620001f981620002e060201b60201c565b5062000549565b63ffffffff60e01b817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614156200026c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401620002639062000485565b60405180910390fd5b6001600080837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060006101000a81548160ff02191690831515021790555050565b600033905090565b8060099080519060200190620002f8929190620002fc565b5050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200033f57805160ff191683800117855562000370565b8280016001018555821562000370579182015b828111156200036f57825182559160200191906001019062000352565b5b5090506200037f919062000383565b5090565b5b808211156200039e57600081600090555060010162000384565b5090565b600082601f830112620003b457600080fd5b8151620003cb620003c582620004d5565b620004a7565b91508082526020830160208301858383011115620003e857600080fd5b620003f583828462000513565b50505092915050565b6000602082840312156200041157600080fd5b600082015167ffffffffffffffff8111156200042c57600080fd5b6200043a84828501620003a2565b91505092915050565b600062000452601c8362000502565b91507f4552433136353a20696e76616c696420696e74657266616365206964000000006000830152602082019050919050565b60006020820190508181036000830152620004a08162000443565b9050919050565b6000604051905081810181811067ffffffffffffffff82111715620004cb57600080fd5b8060405250919050565b600067ffffffffffffffff821115620004ed57600080fd5b601f19601f8301169050602081019050919050565b600082825260208201905092915050565b60005b838110156200053357808201518184015260208101905062000516565b8381111562000543576000848401525b50505050565b6141b680620005596000396000f3fe608060405234801561001057600080fd5b50600436106101da5760003560e01c80638da5cb5b11610104578063c87b56dd116100a2578063e5057e0e11610071578063e5057e0e146105b3578063e985e9c5146105e3578063f2fde38b14610613578063f3d55b4a1461062f576101da565b8063c87b56dd14610507578063cc2afd9a14610537578063cf05047414610567578063cf6efc6814610597576101da565b8063a85c2592116100de578063a85c25921461045b578063a9a76ece1461048b578063b3dc00fe146104bb578063b88d4fde146104eb576101da565b80638da5cb5b1461040357806395d89b4114610421578063a22cb4651461043f576101da565b806337638f131161017c5780636352211e1161014b5780636352211e1461037b5780636c0360eb146103ab57806370a08231146103c9578063715018a6146103f9576101da565b806337638f13146102e357806342842e0e1461031357806342966c681461032f5780634f6ccce71461034b576101da565b8063095ea7b3116101b8578063095ea7b31461025d57806318160ddd1461027957806323b872dd146102975780632f745c59146102b3576101da565b806301ffc9a7146101df57806306fdde031461020f578063081812fc1461022d575b600080fd5b6101f960048036038101906101f491906131bd565b61065f565b6040516102069190613c1c565b60405180910390f35b6102176106c6565b6040516102249190613c37565b60405180910390f35b61024760048036038101906102429190613290565b610768565b6040516102549190613bb5565b60405180910390f35b61027760048036038101906102729190613181565b6107ed565b005b610281610905565b60405161028e9190613ef4565b60405180910390f35b6102b160048036038101906102ac9190612ffb565b610916565b005b6102cd60048036038101906102c89190613181565b610976565b6040516102da9190613ef4565b60405180910390f35b6102fd60048036038101906102f8919061320f565b6109d1565b60405161030a9190613ef4565b60405180910390f35b61032d60048036038101906103289190612ffb565b6109e9565b005b61034960048036038101906103449190613290565b610a09565b005b61036560048036038101906103609190613290565b610b6f565b6040516103729190613ef4565b60405180910390f35b61039560048036038101906103909190613290565b610b92565b6040516103a29190613bb5565b60405180910390f35b6103b3610bc9565b6040516103c09190613c37565b60405180910390f35b6103e360048036038101906103de9190612f96565b610c6b565b6040516103f09190613ef4565b60405180910390f35b610401610d2a565b005b61040b610e82565b6040516104189190613bb5565b60405180910390f35b610429610eac565b6040516104369190613c37565b60405180910390f35b610459600480360381019061045491906130c5565b610f4e565b005b61047560048036038101906104709190613290565b6110cf565b6040516104829190613c37565b60405180910390f35b6104a560048036038101906104a09190613290565b6111b3565b6040516104b29190613ed9565b60405180910390f35b6104d560048036038101906104d09190613290565b6111de565b6040516104e29190613ed9565b60405180910390f35b6105056004803603810190610500919061304a565b6111ff565b005b610521600480360381019061051c9190613290565b611261565b60405161052e9190613c37565b60405180910390f35b610551600480360381019061054c919061320f565b6113ec565b60405161055e9190613c37565b60405180910390f35b610581600480360381019061057c9190613101565b61149c565b60405161058e9190613ef4565b60405180910390f35b6105b160048036038101906105ac9190613238565b611615565b005b6105cd60048036038101906105c8919061320f565b6116dc565b6040516105da9190613ef4565b60405180910390f35b6105fd60048036038101906105f89190612fbf565b6116f4565b60405161060a9190613c1c565b60405180910390f35b61062d60048036038101906106289190612f96565b611788565b005b6106496004803603810190610644919061320f565b61182b565b6040516106569190613c37565b60405180910390f35b6000806000837bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916815260200190815260200160002060009054906101000a900460ff169050919050565b606060068054600181600116156101000203166002900480601f01602080910402602001604051908101604052809291908181526020018280546001816001161561010002031660029004801561075e5780601f106107335761010080835404028352916020019161075e565b820191906000526020600020905b81548152906001019060200180831161074157829003601f168201915b5050505050905090565b6000610773826118e8565b6107b2576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016107a990613dd9565b60405180910390fd5b6004600083815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050919050565b60006107f882610b92565b90508073ffffffffffffffffffffffffffffffffffffffff168373ffffffffffffffffffffffffffffffffffffffff161415610869576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161086090613e79565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16610888611905565b73ffffffffffffffffffffffffffffffffffffffff1614806108b757506108b6816108b1611905565b6116f4565b5b6108f6576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ed90613d59565b60405180910390fd5b610900838361190d565b505050565b600061091160026119c6565b905090565b610927610921611905565b826119db565b610966576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161095d90613e99565b60405180910390fd5b610971838383611ab9565b505050565b60006109c982600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611cd090919063ffffffff16565b905092915050565b600c6020528060005260406000206000915090505481565b610a04838383604051806020016040528060008152506111ff565b505050565b610a11611905565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610aa0576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610a9790613e19565b60405180910390fd5b6000600d600083815260200190815260200160002060009054906101000a900461ffff169050610af56001600b60008461ffff1661ffff16815260200190815260200160002054611cea90919063ffffffff16565b600b60008361ffff1661ffff16815260200190815260200160002081905550610b436001600c60008461ffff1661ffff16815260200190815260200160002054611d3490919063ffffffff16565b600c60008361ffff1661ffff16815260200190815260200160002081905550610b6b82611d89565b5050565b600080610b86836002611ec390919063ffffffff16565b50905080915050919050565b6000610bc282604051806060016040528060298152602001614158602991396002611eef9092919063ffffffff16565b9050919050565b606060098054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610c615780601f10610c3657610100808354040283529160200191610c61565b820191906000526020600020905b815481529060010190602001808311610c4457829003601f168201915b5050505050905090565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610cdc576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610cd390613d79565b60405180910390fd5b610d23600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020611f0e565b9050919050565b610d32611905565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614610dc1576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610db890613e19565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a36000600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550565b6000600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b606060078054600181600116156101000203166002900480601f016020809104026020016040519081016040528092919081815260200182805460018160011615610100020316600290048015610f445780601f10610f1957610100808354040283529160200191610f44565b820191906000526020600020905b815481529060010190602001808311610f2757829003601f168201915b5050505050905090565b610f56611905565b73ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610fc4576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401610fbb90613d19565b60405180910390fd5b8060056000610fd1611905565b73ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060006101000a81548160ff0219169083151502179055508173ffffffffffffffffffffffffffffffffffffffff1661107e611905565b73ffffffffffffffffffffffffffffffffffffffff167f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31836040516110c39190613c1c565b60405180910390a35050565b60606000600d600084815260200190815260200160002060009054906101000a900461ffff169050600e60008261ffff1661ffff1681526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156111a65780601f1061117b576101008083540402835291602001916111a6565b820191906000526020600020905b81548152906001019060200180831161118957829003601f168201915b5050505050915050919050565b6000600d600083815260200190815260200160002060009054906101000a900461ffff169050919050565b600d6020528060005260406000206000915054906101000a900461ffff1681565b61121061120a611905565b836119db565b61124f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161124690613e99565b60405180910390fd5b61125b84848484611f23565b50505050565b606061126c826118e8565b6112ab576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016112a290613e59565b60405180910390fd5b6060600860008481526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156113545780601f1061132957610100808354040283529160200191611354565b820191906000526020600020905b81548152906001019060200180831161133757829003601f168201915b5050505050905060006009805460018160011615610100020316600290049050141561138357809150506113e7565b6000815111156113b8576009816040516020016113a1929190613b91565b6040516020818303038152906040529150506113e7565b60096113c384611f7f565b6040516020016113d4929190613b91565b6040516020818303038152906040529150505b919050565b600e6020528060005260406000206000915090508054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156114945780601f1061146957610100808354040283529160200191611494565b820191906000526020600020905b81548152906001019060200180831161147757829003601f168201915b505050505081565b60006114a6611905565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614611535576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161152c90613e19565b60405180910390fd5b82600d600084815260200190815260200160002060006101000a81548161ffff021916908361ffff1602179055506115926001600b60008661ffff1661ffff16815260200190815260200160002054611d3490919063ffffffff16565b600b60008561ffff1661ffff168152602001908152602001600020819055506115bb86836120c6565b6116098286868080601f016020809104026020016040519081016040528093929190818152602001838380828437600081840152601f19601f82011690508083019250505050505050612254565b81905095945050505050565b61161d611905565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146116ac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016116a390613e19565b60405180910390fd5b8181600e60008661ffff1661ffff16815260200190815260200160002091906116d6929190612d15565b50505050565b600b6020528060005260406000206000915090505481565b6000600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060009054906101000a900460ff16905092915050565b611790611905565b73ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff161461181f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161181690613e19565b60405180910390fd5b611828816122c8565b50565b6060600e60008361ffff1661ffff1681526020019081526020016000208054600181600116156101000203166002900480601f0160208091040260200160405190810160405280929190818152602001828054600181600116156101000203166002900480156118dc5780601f106118b1576101008083540402835291602001916118dc565b820191906000526020600020905b8154815290600101906020018083116118bf57829003601f168201915b50505050509050919050565b60006118fe8260026123f890919063ffffffff16565b9050919050565b600033905090565b816004600083815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550808273ffffffffffffffffffffffffffffffffffffffff1661198083610b92565b73ffffffffffffffffffffffffffffffffffffffff167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92560405160405180910390a45050565b60006119d482600001612412565b9050919050565b60006119e6826118e8565b611a25576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611a1c90613d39565b60405180910390fd5b6000611a3083610b92565b90508073ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff161480611a9f57508373ffffffffffffffffffffffffffffffffffffffff16611a8784610768565b73ffffffffffffffffffffffffffffffffffffffff16145b80611ab05750611aaf81856116f4565b5b91505092915050565b8273ffffffffffffffffffffffffffffffffffffffff16611ad982610b92565b73ffffffffffffffffffffffffffffffffffffffff1614611b2f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b2690613e39565b60405180910390fd5b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415611b9f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611b9690613cf9565b60405180910390fd5b611baa838383612423565b611bb560008261190d565b611c0681600160008673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061242890919063ffffffff16565b50611c5881600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061244290919063ffffffff16565b50611c6f8183600261245c9092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff168473ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a4505050565b6000611cdf8360000183612491565b60001c905092915050565b6000611d2c83836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506124fe565b905092915050565b600080828401905083811015611d7f576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611d7690613cd9565b60405180910390fd5b8091505092915050565b6000611d9482610b92565b9050611da281600084612423565b611dad60008361190d565b60006008600084815260200190815260200160002080546001816001161561010002031660029004905014611dfc57600860008381526020019081526020016000206000611dfb9190612d95565b5b611e4d82600160008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061242890919063ffffffff16565b50611e6282600261255990919063ffffffff16565b5081600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b600080600080611ed68660000186612573565b915091508160001c8160001c9350935050509250929050565b6000611f02846000018460001b846125f6565b60001c90509392505050565b6000611f1c82600001612687565b9050919050565b611f2e848484611ab9565b611f3a84848484612698565b611f79576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401611f7090613c79565b60405180910390fd5b50505050565b60606000821415611fc7576040518060400160405280600181526020017f300000000000000000000000000000000000000000000000000000000000000081525090506120c1565b600082905060005b60008214611ff1578080600101915050600a8281611fe957fe5b049150611fcf565b60608167ffffffffffffffff8111801561200a57600080fd5b506040519080825280601f01601f19166020018201604052801561203d5781602001600182028036833780820191505090505b50905060006001830390508593505b600084146120b957600a848161205e57fe5b0660300160f81b8282806001900393508151811061207857fe5b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a905350600a84816120b157fe5b04935061204c565b819450505050505b919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415612136576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161212d90613db9565b60405180910390fd5b61213f816118e8565b1561217f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161217690613cb9565b60405180910390fd5b61218b60008383612423565b6121dc81600160008573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002061244290919063ffffffff16565b506121f38183600261245c9092919063ffffffff16565b50808273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b61225d826118e8565b61229c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161229390613df9565b60405180910390fd5b806008600084815260200190815260200160002090805190602001906122c3929190612ddd565b505050565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415612338576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161232f90613c99565b60405180910390fd5b8073ffffffffffffffffffffffffffffffffffffffff16600a60009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a380600a60006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff16021790555050565b600061240a836000018360001b6127fc565b905092915050565b600081600001805490509050919050565b505050565b600061243a836000018360001b61281f565b905092915050565b6000612454836000018360001b612907565b905092915050565b6000612488846000018460001b8473ffffffffffffffffffffffffffffffffffffffff1660001b612977565b90509392505050565b6000818360000180549050116124dc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016124d390613c59565b60405180910390fd5b8260000182815481106124eb57fe5b9060005260206000200154905092915050565b6000838311158290612546576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161253d9190613c37565b60405180910390fd5b5060008385039050809150509392505050565b600061256b836000018360001b612a53565b905092915050565b600080828460000180549050116125bf576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016125b690613d99565b60405180910390fd5b60008460000184815481106125d057fe5b906000526020600020906002020190508060000154816001015492509250509250929050565b60008084600101600085815260200190815260200160002054905060008114158390612658576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161264f9190613c37565b60405180910390fd5b5084600001600182038154811061266b57fe5b9060005260206000209060020201600101549150509392505050565b600081600001805490509050919050565b60006126b98473ffffffffffffffffffffffffffffffffffffffff16612b6c565b6126c657600190506127f4565b606061278d63150b7a0260e01b6126db611905565b8887876040516024016126f19493929190613bd0565b604051602081830303815290604052907bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff8381831617835250505050604051806060016040528060328152602001614126603291398773ffffffffffffffffffffffffffffffffffffffff16612bb79092919063ffffffff16565b90506000818060200190518101906127a591906131e6565b905063150b7a0260e01b7bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916817bffffffffffffffffffffffffffffffffffffffffffffffffffffffff191614925050505b949350505050565b600080836001016000848152602001908152602001600020541415905092915050565b600080836001016000848152602001908152602001600020549050600081146128fb576000600182039050600060018660000180549050039050600086600001828154811061286a57fe5b906000526020600020015490508087600001848154811061288757fe5b90600052602060002001819055506001830187600101600083815260200190815260200160002081905550866000018054806128bf57fe5b60019003818190600052602060002001600090559055866001016000878152602001908152602001600020600090556001945050505050612901565b60009150505b92915050565b60006129138383612bcf565b61296c578260000182908060018154018082558091505060019003906000526020600020016000909190919091505582600001805490508360010160008481526020019081526020016000208190555060019050612971565b600090505b92915050565b6000808460010160008581526020019081526020016000205490506000811415612a1e57846000016040518060400160405280868152602001858152509080600181540180825580915050600190039060005260206000209060020201600090919091909150600082015181600001556020820151816001015550508460000180549050856001016000868152602001908152602001600020819055506001915050612a4c565b82856000016001830381548110612a3157fe5b90600052602060002090600202016001018190555060009150505b9392505050565b60008083600101600084815260200190815260200160002054905060008114612b605760006001820390506000600186600001805490500390506000866000018281548110612a9e57fe5b9060005260206000209060020201905080876000018481548110612abe57fe5b9060005260206000209060020201600082015481600001556001820154816001015590505060018301876001016000836000015481526020019081526020016000208190555086600001805480612b1157fe5b6001900381819060005260206000209060020201600080820160009055600182016000905550509055866001016000878152602001908152602001600020600090556001945050505050612b66565b60009150505b92915050565b60008060007fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47060001b9050833f9150808214158015612bae57506000801b8214155b92505050919050565b6060612bc68484600085612bf2565b90509392505050565b600080836001016000848152602001908152602001600020541415905092915050565b6060612bfd85612b6c565b612c3c576040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612c3390613eb9565b60405180910390fd5b600060608673ffffffffffffffffffffffffffffffffffffffff168587604051612c669190613b7a565b60006040518083038185875af1925050503d8060008114612ca3576040519150601f19603f3d011682016040523d82523d6000602084013e612ca8565b606091505b50915091508115612cbd578092505050612d0d565b600081511115612cd05780518082602001fd5b836040517f08c379a0000000000000000000000000000000000000000000000000000000008152600401612d049190613c37565b60405180910390fd5b949350505050565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612d5657803560ff1916838001178555612d84565b82800160010185558215612d84579182015b82811115612d83578235825591602001919060010190612d68565b5b509050612d919190612e5d565b5090565b50805460018160011615610100020316600290046000825580601f10612dbb5750612dda565b601f016020900490600052602060002090810190612dd99190612e5d565b5b50565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10612e1e57805160ff1916838001178555612e4c565b82800160010185558215612e4c579182015b82811115612e4b578251825591602001919060010190612e30565b5b509050612e599190612e5d565b5090565b5b80821115612e76576000816000905550600101612e5e565b5090565b600081359050612e89816140b2565b92915050565b600081359050612e9e816140c9565b92915050565b600081359050612eb3816140e0565b92915050565b600081519050612ec8816140e0565b92915050565b600082601f830112612edf57600080fd5b8135612ef2612eed82613f3c565b613f0f565b91508082526020830160208301858383011115612f0e57600080fd5b612f1983828461405f565b50505092915050565b60008083601f840112612f3457600080fd5b8235905067ffffffffffffffff811115612f4d57600080fd5b602083019150836001820283011115612f6557600080fd5b9250929050565b600081359050612f7b816140f7565b92915050565b600081359050612f908161410e565b92915050565b600060208284031215612fa857600080fd5b6000612fb684828501612e7a565b91505092915050565b60008060408385031215612fd257600080fd5b6000612fe085828601612e7a565b9250506020612ff185828601612e7a565b9150509250929050565b60008060006060848603121561301057600080fd5b600061301e86828701612e7a565b935050602061302f86828701612e7a565b925050604061304086828701612f81565b9150509250925092565b6000806000806080858703121561306057600080fd5b600061306e87828801612e7a565b945050602061307f87828801612e7a565b935050604061309087828801612f81565b925050606085013567ffffffffffffffff8111156130ad57600080fd5b6130b987828801612ece565b91505092959194509250565b600080604083850312156130d857600080fd5b60006130e685828601612e7a565b92505060206130f785828601612e8f565b9150509250929050565b60008060008060006080868803121561311957600080fd5b600061312788828901612e7a565b955050602086013567ffffffffffffffff81111561314457600080fd5b61315088828901612f22565b9450945050604061316388828901612f6c565b925050606061317488828901612f81565b9150509295509295909350565b6000806040838503121561319457600080fd5b60006131a285828601612e7a565b92505060206131b385828601612f81565b9150509250929050565b6000602082840312156131cf57600080fd5b60006131dd84828501612ea4565b91505092915050565b6000602082840312156131f857600080fd5b600061320684828501612eb9565b91505092915050565b60006020828403121561322157600080fd5b600061322f84828501612f6c565b91505092915050565b60008060006040848603121561324d57600080fd5b600061325b86828701612f6c565b935050602084013567ffffffffffffffff81111561327857600080fd5b61328486828701612f22565b92509250509250925092565b6000602082840312156132a257600080fd5b60006132b084828501612f81565b91505092915050565b6132c281613fdd565b82525050565b6132d181613fcb565b82525050565b6132e081613fef565b82525050565b60006132f182613f7d565b6132fb8185613f93565b935061330b81856020860161406e565b613314816140a1565b840191505092915050565b600061332a82613f7d565b6133348185613fa4565b935061334481856020860161406e565b80840191505092915050565b600061335b82613f88565b6133658185613faf565b935061337581856020860161406e565b61337e816140a1565b840191505092915050565b600061339482613f88565b61339e8185613fc0565b93506133ae81856020860161406e565b80840191505092915050565b6000815460018116600081146133d757600181146133fc57613440565b607f60028304166133e88187613fc0565b955060ff1983168652808601935050613440565b6002820461340a8187613fc0565b955061341585613f68565b60005b8281101561343757815481890152600182019150602081019050613418565b82880195505050505b505092915050565b6000613455602283613faf565b91507f456e756d657261626c655365743a20696e646578206f7574206f6620626f756e60008301527f64730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b60006134bb603283613faf565b91507f4552433732313a207472616e7366657220746f206e6f6e20455243373231526560008301527f63656976657220696d706c656d656e74657200000000000000000000000000006020830152604082019050919050565b6000613521602683613faf565b91507f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008301527f64647265737300000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613587601c83613faf565b91507f4552433732313a20746f6b656e20616c7265616479206d696e746564000000006000830152602082019050919050565b60006135c7601b83613faf565b91507f536166654d6174683a206164646974696f6e206f766572666c6f7700000000006000830152602082019050919050565b6000613607602483613faf565b91507f4552433732313a207472616e7366657220746f20746865207a65726f2061646460008301527f72657373000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b600061366d601983613faf565b91507f4552433732313a20617070726f766520746f2063616c6c6572000000000000006000830152602082019050919050565b60006136ad602c83613faf565b91507f4552433732313a206f70657261746f7220717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613713603883613faf565b91507f4552433732313a20617070726f76652063616c6c6572206973206e6f74206f7760008301527f6e6572206e6f7220617070726f76656420666f7220616c6c00000000000000006020830152604082019050919050565b6000613779602a83613faf565b91507f4552433732313a2062616c616e636520717565727920666f7220746865207a6560008301527f726f2061646472657373000000000000000000000000000000000000000000006020830152604082019050919050565b60006137df602283613faf565b91507f456e756d657261626c654d61703a20696e646578206f7574206f6620626f756e60008301527f64730000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613845602083613faf565b91507f4552433732313a206d696e7420746f20746865207a65726f20616464726573736000830152602082019050919050565b6000613885602c83613faf565b91507f4552433732313a20617070726f76656420717565727920666f72206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b60006138eb602c83613faf565b91507f4552433732314d657461646174613a2055524920736574206f66206e6f6e657860008301527f697374656e7420746f6b656e00000000000000000000000000000000000000006020830152604082019050919050565b6000613951602083613faf565b91507f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726000830152602082019050919050565b6000613991602983613faf565b91507f4552433732313a207472616e73666572206f6620746f6b656e2074686174206960008301527f73206e6f74206f776e00000000000000000000000000000000000000000000006020830152604082019050919050565b60006139f7602f83613faf565b91507f4552433732314d657461646174613a2055524920717565727920666f72206e6f60008301527f6e6578697374656e7420746f6b656e00000000000000000000000000000000006020830152604082019050919050565b6000613a5d602183613faf565b91507f4552433732313a20617070726f76616c20746f2063757272656e74206f776e6560008301527f72000000000000000000000000000000000000000000000000000000000000006020830152604082019050919050565b6000613ac3603183613faf565b91507f4552433732313a207472616e736665722063616c6c6572206973206e6f74206f60008301527f776e6572206e6f7220617070726f7665640000000000000000000000000000006020830152604082019050919050565b6000613b29601d83613faf565b91507f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006000830152602082019050919050565b613b6581614027565b82525050565b613b7481614055565b82525050565b6000613b86828461331f565b915081905092915050565b6000613b9d82856133ba565b9150613ba98284613389565b91508190509392505050565b6000602082019050613bca60008301846132c8565b92915050565b6000608082019050613be560008301876132b9565b613bf260208301866132c8565b613bff6040830185613b6b565b8181036060830152613c1181846132e6565b905095945050505050565b6000602082019050613c3160008301846132d7565b92915050565b60006020820190508181036000830152613c518184613350565b905092915050565b60006020820190508181036000830152613c7281613448565b9050919050565b60006020820190508181036000830152613c92816134ae565b9050919050565b60006020820190508181036000830152613cb281613514565b9050919050565b60006020820190508181036000830152613cd28161357a565b9050919050565b60006020820190508181036000830152613cf2816135ba565b9050919050565b60006020820190508181036000830152613d12816135fa565b9050919050565b60006020820190508181036000830152613d3281613660565b9050919050565b60006020820190508181036000830152613d52816136a0565b9050919050565b60006020820190508181036000830152613d7281613706565b9050919050565b60006020820190508181036000830152613d928161376c565b9050919050565b60006020820190508181036000830152613db2816137d2565b9050919050565b60006020820190508181036000830152613dd281613838565b9050919050565b60006020820190508181036000830152613df281613878565b9050919050565b60006020820190508181036000830152613e12816138de565b9050919050565b60006020820190508181036000830152613e3281613944565b9050919050565b60006020820190508181036000830152613e5281613984565b9050919050565b60006020820190508181036000830152613e72816139ea565b9050919050565b60006020820190508181036000830152613e9281613a50565b9050919050565b60006020820190508181036000830152613eb281613ab6565b9050919050565b60006020820190508181036000830152613ed281613b1c565b9050919050565b6000602082019050613eee6000830184613b5c565b92915050565b6000602082019050613f096000830184613b6b565b92915050565b6000604051905081810181811067ffffffffffffffff82111715613f3257600080fd5b8060405250919050565b600067ffffffffffffffff821115613f5357600080fd5b601f19601f8301169050602081019050919050565b60008190508160005260206000209050919050565b600081519050919050565b600081519050919050565b600082825260208201905092915050565b600081905092915050565b600082825260208201905092915050565b600081905092915050565b6000613fd682614035565b9050919050565b6000613fe882614035565b9050919050565b60008115159050919050565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b600061ffff82169050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b8381101561408c578082015181840152602081019050614071565b8381111561409b576000848401525b50505050565b6000601f19601f8301169050919050565b6140bb81613fcb565b81146140c657600080fd5b50565b6140d281613fef565b81146140dd57600080fd5b50565b6140e981613ffb565b81146140f457600080fd5b50565b61410081614027565b811461410b57600080fd5b50565b61411781614055565b811461412257600080fd5b5056fe4552433732313a207472616e7366657220746f206e6f6e20455243373231526563656976657220696d706c656d656e7465724552433732313a206f776e657220717565727920666f72206e6f6e6578697374656e7420746f6b656ea2646970667358221220d0e4fa2341ed912162b0c2180a6b9bd9d78d586fbe7ff9141db9b286d82da9c264736f6c634300060c003300000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000

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

00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000007697066733a2f2f00000000000000000000000000000000000000000000000000

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 0000000000000000000000000000000000000000000000000000000000000007
Arg [2] : 697066733a2f2f00000000000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

91954:2554:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;52891:183;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;78211:92;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;81076:291;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;80606:404;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;80059:203;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;82101:376;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;79788:195;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;92191:47;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;82548:185;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;94233:272;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;80339:205;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77913:231;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;79615:89;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;77599:252;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;22426:140;;;:::i;:::-;;21784:79;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;78372:96;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;81439:327;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;93158:205;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;92717:111;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;92391:41;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;82804:365;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;78539:833;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;92480:42;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;93441:456;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;94005:147;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;92089:43;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;81837:197;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;22721:109;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;92918:151;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;52891:183;53004:4;53033:20;:33;53054:11;53033:33;;;;;;;;;;;;;;;;;;;;;;;;;;;53026:40;;52891:183;;;:::o;78211:92::-;78257:13;78290:5;78283:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78211:92;:::o;81076:291::-;81180:7;81227:16;81235:7;81227;:16::i;:::-;81205:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;81335:15;:24;81351:7;81335:24;;;;;;;;;;;;;;;;;;;;;81328:31;;81076:291;;;:::o;80606:404::-;80687:13;80703:16;80711:7;80703;:16::i;:::-;80687:32;;80744:5;80738:11;;:2;:11;;;;80730:57;;;;;;;;;;;;:::i;:::-;;;;;;;;;80838:5;80822:21;;:12;:10;:12::i;:::-;:21;;;:62;;;;80847:37;80864:5;80871:12;:10;:12::i;:::-;80847:16;:37::i;:::-;80822:62;80800:168;;;;;;;;;;;;:::i;:::-;;;;;;;;;80981:21;80990:2;80994:7;80981:8;:21::i;:::-;80606:404;;;:::o;80059:203::-;80112:7;80233:21;:12;:19;:21::i;:::-;80226:28;;80059:203;:::o;82101:376::-;82310:41;82329:12;:10;:12::i;:::-;82343:7;82310:18;:41::i;:::-;82288:140;;;;;;;;;;;;:::i;:::-;;;;;;;;;82441:28;82451:4;82457:2;82461:7;82441:9;:28::i;:::-;82101:376;;;:::o;79788:195::-;79913:7;79945:30;79969:5;79945:13;:20;79959:5;79945:20;;;;;;;;;;;;;;;:23;;:30;;;;:::i;:::-;79938:37;;79788:195;;;;:::o;92191:47::-;;;;;;;;;;;;;;;;;:::o;82548:185::-;82686:39;82703:4;82709:2;82713:7;82686:39;;;;;;;;;;;;:16;:39::i;:::-;82548:185;;;:::o;94233:272::-;22006:12;:10;:12::i;:::-;21996:22;;:6;;;;;;;;;;;:22;;;21988:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;94295:18:::1;94316:7;:17;94324:8;94316:17;;;;;;;;;;;;;;;;;;;;;94295:38;;94369:29;94396:1;94369:9;:22;94379:11;94369:22;;;;;;;;;;;;;;;;:26;;:29;;;;:::i;:::-;94344:9;:22;94354:11;94344:22;;;;;;;;;;;;;;;:54;;;;94438:33;94469:1;94438:13;:26;94452:11;94438:26;;;;;;;;;;;;;;;;:30;;:33;;;;:::i;:::-;94409:13;:26;94423:11;94409:26;;;;;;;;;;;;;;;:62;;;;94482:15;94488:8;94482:5;:15::i;:::-;22066:1;94233:272:::0;:::o;80339:205::-;80442:7;80468:15;80489:22;80505:5;80489:12;:15;;:22;;;;:::i;:::-;80467:44;;;80529:7;80522:14;;;80339:205;;;:::o;77913:231::-;77977:7;78017:119;78052:7;78017:119;;;;;;;;;;;;;;;;;:12;:16;;:119;;;;;:::i;:::-;77997:139;;77913:231;;;:::o;79615:89::-;79655:13;79688:8;79681:15;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79615:89;:::o;77599:252::-;77663:7;77722:1;77705:19;;:5;:19;;;;77683:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;77814:29;:13;:20;77828:5;77814:20;;;;;;;;;;;;;;;:27;:29::i;:::-;77807:36;;77599:252;;;:::o;22426:140::-;22006:12;:10;:12::i;:::-;21996:22;;:6;;;;;;;;;;;:22;;;21988:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;22525:1:::1;22488:40;;22509:6;;;;;;;;;;;22488:40;;;;;;;;;;;;22556:1;22539:6;;:19;;;;;;;;;;;;;;;;;;22426:140::o:0;21784:79::-;21822:7;21849:6;;;;;;;;;;;21842:13;;21784:79;:::o;78372:96::-;78420:13;78453:7;78446:14;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78372:96;:::o;81439:327::-;81586:12;:10;:12::i;:::-;81574:24;;:8;:24;;;;81566:62;;;;;;;;;;;;:::i;:::-;;;;;;;;;81686:8;81641:18;:32;81660:12;:10;:12::i;:::-;81641:32;;;;;;;;;;;;;;;:42;81674:8;81641:42;;;;;;;;;;;;;;;;:53;;;;;;;;;;;;;;;;;;81739:8;81710:48;;81725:12;:10;:12::i;:::-;81710:48;;;81749:8;81710:48;;;;;;:::i;:::-;;;;;;;;81439:327;;:::o;93158:205::-;93256:13;93287;93303:7;:17;93311:8;93303:17;;;;;;;;;;;;;;;;;;;;;93287:33;;93338:9;:17;93348:6;93338:17;;;;;;;;;;;;;;;93331:24;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93158:205;;;:::o;92717:111::-;92777:6;92803:7;:17;92811:8;92803:17;;;;;;;;;;;;;;;;;;;;;92796:24;;92717:111;;;:::o;92391:41::-;;;;;;;;;;;;;;;;;;;;;;:::o;82804:365::-;82993:41;83012:12;:10;:12::i;:::-;83026:7;82993:18;:41::i;:::-;82971:140;;;;;;;;;;;;:::i;:::-;;;;;;;;;83122:39;83136:4;83142:2;83146:7;83155:5;83122:13;:39::i;:::-;82804:365;;;;:::o;78539:833::-;78640:13;78693:16;78701:7;78693;:16::i;:::-;78671:113;;;;;;;;;;;;:::i;:::-;;;;;;;;;78797:23;78823:10;:19;78834:7;78823:19;;;;;;;;;;;78797:45;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78944:1;78924:8;78918:22;;;;;;;;;;;;;;;;:27;78914:76;;;78969:9;78962:16;;;;;78914:76;79120:1;79100:9;79094:23;:27;79090:112;;;79169:8;79179:9;79152:37;;;;;;;;;:::i;:::-;;;;;;;;;;;;;79138:52;;;;;79090:112;79334:8;79344:18;:7;:16;:18::i;:::-;79317:46;;;;;;;;;:::i;:::-;;;;;;;;;;;;;79303:61;;;78539:833;;;;:::o;92480:42::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;93441:456::-;93600:7;22006:12;:10;:12::i;:::-;21996:22;;:6;;;;;;;;;;;:22;;;21988:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;93724:7:::1;93704;:17;93712:8;93704:17;;;;;;;;;;;;:27;;;;;;;;;;;;;;;;;;93763:25;93786:1;93763:9;:18;93773:7;93763:18;;;;;;;;;;;;;;;;:22;;:25;;;;:::i;:::-;93742:9;:18;93752:7;93742:18;;;;;;;;;;;;;;;:46;;;;93799:20;93805:3;93810:8;93799:5;:20::i;:::-;93830:33;93843:8;93853:9;;93830:33;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:12;:33::i;:::-;93881:8;93874:15;;93441:456:::0;;;;;;;:::o;94005:147::-;22006:12;:10;:12::i;:::-;21996:22;;:6;;;;;;;;;;;:22;;;21988:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;94139:5:::1;;94118:9;:18;94128:7;94118:18;;;;;;;;;;;;;;;:26;;;;;;;:::i;:::-;;94005:147:::0;;;:::o;92089:43::-;;;;;;;;;;;;;;;;;:::o;81837:197::-;81962:4;81991:18;:25;82010:5;81991:25;;;;;;;;;;;;;;;:35;82017:8;81991:35;;;;;;;;;;;;;;;;;;;;;;;;;81984:42;;81837:197;;;;:::o;22721:109::-;22006:12;:10;:12::i;:::-;21996:22;;:6;;;;;;;;;;;:22;;;21988:67;;;;;;;;;;;;:::i;:::-;;;;;;;;;22794:28:::1;22813:8;22794:18;:28::i;:::-;22721:109:::0;:::o;92918:151::-;93005:13;93043:9;:18;93053:7;93043:18;;;;;;;;;;;;;;;93036:25;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;92918:151;;;:::o;84716:119::-;84773:4;84797:30;84819:7;84797:12;:21;;:30;;;;:::i;:::-;84790:37;;84716:119;;;:::o;20370:98::-;20415:15;20450:10;20443:17;;20370:98;:::o;90979:158::-;91072:2;91045:15;:24;91061:7;91045:24;;;;;;;;;;;;:29;;;;;;;;;;;;;;;;;;91121:7;91117:2;91090:39;;91099:16;91107:7;91099;:16::i;:::-;91090:39;;;;;;;;;;;;90979:158;;:::o;71367:155::-;71463:7;71495:19;71503:3;:10;;71495:7;:19::i;:::-;71488:26;;71367:155;;;:::o;85002:428::-;85114:4;85158:16;85166:7;85158;:16::i;:::-;85136:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;85257:13;85273:16;85281:7;85273;:16::i;:::-;85257:32;;85319:5;85308:16;;:7;:16;;;:64;;;;85365:7;85341:31;;:20;85353:7;85341:11;:20::i;:::-;:31;;;85308:64;:113;;;;85389:32;85406:5;85413:7;85389:16;:32::i;:::-;85308:113;85300:122;;;85002:428;;;;:::o;88257:645::-;88423:4;88403:24;;:16;88411:7;88403;:16::i;:::-;:24;;;88381:115;;;;;;;;;;;;:::i;:::-;;;;;;;;;88529:1;88515:16;;:2;:16;;;;88507:65;;;;;;;;;;;;:::i;:::-;;;;;;;;;88585:39;88606:4;88612:2;88616:7;88585:20;:39::i;:::-;88689:29;88706:1;88710:7;88689:8;:29::i;:::-;88731:35;88758:7;88731:13;:19;88745:4;88731:19;;;;;;;;;;;;;;;:26;;:35;;;;:::i;:::-;;88777:30;88799:7;88777:13;:17;88791:2;88777:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;88820:29;88837:7;88846:2;88820:12;:16;;:29;;;;;:::i;:::-;;88886:7;88882:2;88867:27;;88876:4;88867:27;;;;;;;;;;;;88257:645;;;:::o;63645:169::-;63743:7;63783:22;63787:3;:10;;63799:5;63783:3;:22::i;:::-;63775:31;;63768:38;;63645:169;;;;:::o;1370:136::-;1428:7;1455:43;1459:1;1462;1455:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1448:50;;1370:136;;;;:::o;906:181::-;964:7;984:9;1000:1;996;:5;984:17;;1025:1;1020;:6;;1012:46;;;;;;;;;;;;:::i;:::-;;;;;;;;;1078:1;1071:8;;;906:181;;;;:::o;87400:520::-;87460:13;87476:16;87484:7;87476;:16::i;:::-;87460:32;;87505:48;87526:5;87541:1;87545:7;87505:20;:48::i;:::-;87594:29;87611:1;87615:7;87594:8;:29::i;:::-;87713:1;87682:10;:19;87693:7;87682:19;;;;;;;;;;;87676:33;;;;;;;;;;;;;;;;:38;87672:97;;87738:10;:19;87749:7;87738:19;;;;;;;;;;;;87731:26;;;;:::i;:::-;87672:97;87781:36;87809:7;87781:13;:20;87795:5;87781:20;;;;;;;;;;;;;;;:27;;:36;;;;:::i;:::-;;87830:28;87850:7;87830:12;:19;;:28;;;;:::i;:::-;;87904:7;87900:1;87876:36;;87885:5;87876:36;;;;;;;;;;;;87400:520;;:::o;71870:259::-;71977:7;71986;72012:11;72025:13;72042:22;72046:3;:10;;72058:5;72042:3;:22::i;:::-;72011:53;;;;72091:3;72083:12;;72113:5;72105:14;;72075:46;;;;;;71870:259;;;;;:::o;72596:238::-;72737:7;72780:44;72785:3;:10;;72805:3;72797:12;;72811;72780:4;:44::i;:::-;72772:53;;72757:69;;72596:238;;;;;:::o;63177:114::-;63237:7;63264:19;63272:3;:10;;63264:7;:19::i;:::-;63257:26;;63177:114;;;:::o;84051:352::-;84208:28;84218:4;84224:2;84228:7;84208:9;:28::i;:::-;84269:48;84292:4;84298:2;84302:7;84311:5;84269:22;:48::i;:::-;84247:148;;;;;;;;;;;;:::i;:::-;;;;;;;;;84051:352;;;;:::o;73081:748::-;73137:13;73367:1;73358:5;:10;73354:53;;;73385:10;;;;;;;;;;;;;;;;;;;;;73354:53;73417:12;73432:5;73417:20;;73448:14;73473:78;73488:1;73480:4;:9;73473:78;;73506:8;;;;;;;73537:2;73529:10;;;;;;;;;73473:78;;;73561:19;73593:6;73583:17;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73561:39;;73611:13;73636:1;73627:6;:10;73611:26;;73655:5;73648:12;;73671:119;73686:1;73678:4;:9;73671:119;;73748:2;73741:4;:9;;;;;;73735:2;:16;73722:31;;73704:6;73711:7;;;;;;;73704:15;;;;;;;;;;;:49;;;;;;;;;;;73776:2;73768:10;;;;;;;;;73671:119;;;73814:6;73800:21;;;;;;73081:748;;;;:::o;86767:404::-;86861:1;86847:16;;:2;:16;;;;86839:61;;;;;;;;;;;;:::i;:::-;;;;;;;;;86920:16;86928:7;86920;:16::i;:::-;86919:17;86911:58;;;;;;;;;;;;:::i;:::-;;;;;;;;;86982:45;87011:1;87015:2;87019:7;86982:20;:45::i;:::-;87040:30;87062:7;87040:13;:17;87054:2;87040:17;;;;;;;;;;;;;;;:21;;:30;;;;:::i;:::-;;87083:29;87100:7;87109:2;87083:12;:16;;:29;;;;;:::i;:::-;;87155:7;87151:2;87130:33;;87147:1;87130:33;;;;;;;;;;;;86767:404;;:::o;89058:275::-;89195:16;89203:7;89195;:16::i;:::-;89173:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;89316:9;89294:10;:19;89305:7;89294:19;;;;;;;;;;;:31;;;;;;;;;;;;:::i;:::-;;89058:275;;:::o;22936:229::-;23030:1;23010:22;;:8;:22;;;;23002:73;;;;;;;;;;;;:::i;:::-;;;;;;;;;23120:8;23091:38;;23112:6;;;;;;;;;;;23091:38;;;;;;;;;;;;23149:8;23140:6;;:17;;;;;;;;;;;;;;;;;;22936:229;:::o;71096:183::-;71207:4;71236:35;71246:3;:10;;71266:3;71258:12;;71236:9;:35::i;:::-;71229:42;;71096:183;;;;:::o;68548:110::-;68604:7;68631:3;:12;;:19;;;;68624:26;;68548:110;;;:::o;91750:126::-;;;;:::o;62667:160::-;62755:4;62784:35;62792:3;:10;;62812:5;62804:14;;62784:7;:35::i;:::-;62777:42;;62667:160;;;;:::o;62360:131::-;62427:4;62451:32;62456:3;:10;;62476:5;62468:14;;62451:4;:32::i;:::-;62444:39;;62360:131;;;;:::o;70471:210::-;70594:4;70618:55;70623:3;:10;;70643:3;70635:12;;70665:5;70657:14;;70649:23;;70618:4;:55::i;:::-;70611:62;;70471:210;;;;;:::o;58347:273::-;58441:7;58509:5;58488:3;:11;;:18;;;;:26;58466:110;;;;;;;;;;;;:::i;:::-;;;;;;;;;58594:3;:11;;58606:5;58594:18;;;;;;;;;;;;;;;;58587:25;;58347:273;;;;:::o;1809:226::-;1929:7;1962:1;1957;:6;;1965:12;1949:29;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;1989:9;2005:1;2001;:5;1989:17;;2026:1;2019:8;;;1809:226;;;;;:::o;70847:165::-;70942:4;70971:33;70979:3;:10;;70999:3;70991:12;;70971:7;:33::i;:::-;70964:40;;70847:165;;;;:::o;69023:348::-;69117:7;69126;69195:5;69173:3;:12;;:19;;;;:27;69151:111;;;;;;;;;;;;:::i;:::-;;;;;;;;;69275:22;69300:3;:12;;69313:5;69300:19;;;;;;;;;;;;;;;;;;69275:44;;69338:5;:10;;;69350:5;:12;;;69330:33;;;;;69023:348;;;;;:::o;69794:353::-;69922:7;69942:16;69961:3;:12;;:17;69974:3;69961:17;;;;;;;;;;;;69942:36;;70009:1;69997:8;:13;;70012:12;69989:36;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;70079:3;:12;;70103:1;70092:8;:12;70079:26;;;;;;;;;;;;;;;;;;:33;;;70072:40;;;69794:353;;;;;:::o;57884:109::-;57940:7;57967:3;:11;;:18;;;;57960:25;;57884:109;;;:::o;90228:743::-;90383:4;90405:15;:2;:13;;;:15::i;:::-;90400:60;;90444:4;90437:11;;;;90400:60;90470:23;90509:349;90588:45;;;90656:12;:10;:12::i;:::-;90691:4;90718:7;90748:5;90543:229;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90509:349;;;;;;;;;;;;;;;;;:2;:15;;;;:349;;;;;:::i;:::-;90470:388;;90869:13;90896:10;90885:32;;;;;;;;;;;;:::i;:::-;90869:48;;74602:10;90946:16;;90936:26;;;:6;:26;;;;90928:35;;;;90228:743;;;;;;;:::o;68296:157::-;68394:4;68444:1;68423:3;:12;;:17;68436:3;68423:17;;;;;;;;;;;;:22;;68416:29;;68296:157;;;;:::o;55994:1557::-;56060:4;56178:18;56199:3;:12;;:19;56212:5;56199:19;;;;;;;;;;;;56178:40;;56249:1;56235:10;:15;56231:1313;;56610:21;56647:1;56634:10;:14;56610:38;;56663:17;56704:1;56683:3;:11;;:18;;;;:22;56663:42;;56950:17;56970:3;:11;;56982:9;56970:22;;;;;;;;;;;;;;;;56950:42;;57116:9;57087:3;:11;;57099:13;57087:26;;;;;;;;;;;;;;;:38;;;;57235:1;57219:13;:17;57193:3;:12;;:23;57206:9;57193:23;;;;;;;;;;;:43;;;;57345:3;:11;;:17;;;;;;;;;;;;;;;;;;;;;;;;57440:3;:12;;:19;57453:5;57440:19;;;;;;;;;;;57433:26;;;57483:4;57476:11;;;;;;;;56231:1313;57527:5;57520:12;;;55994:1557;;;;;:::o;55404:414::-;55467:4;55489:21;55499:3;55504:5;55489:9;:21::i;:::-;55484:327;;55527:3;:11;;55544:5;55527:23;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;55710:3;:11;;:18;;;;55688:3;:12;;:19;55701:5;55688:19;;;;;;;;;;;:40;;;;55750:4;55743:11;;;;55484:327;55794:5;55787:12;;55404:414;;;;;:::o;65738:737::-;65848:4;65964:16;65983:3;:12;;:17;65996:3;65983:17;;;;;;;;;;;;65964:36;;66029:1;66017:8;:13;66013:455;;;66097:3;:12;;66115:36;;;;;;;;66131:3;66115:36;;;;66144:5;66115:36;;;66097:55;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;66310:3;:12;;:19;;;;66290:3;:12;;:17;66303:3;66290:17;;;;;;;;;;;:39;;;;66351:4;66344:11;;;;;66013:455;66424:5;66388:3;:12;;66412:1;66401:8;:12;66388:26;;;;;;;;;;;;;;;;;;:33;;:41;;;;66451:5;66444:12;;;65738:737;;;;;;:::o;66650:1562::-;66714:4;66830:16;66849:3;:12;;:17;66862:3;66849:17;;;;;;;;;;;;66830:36;;66895:1;66883:8;:13;66879:1326;;67257:21;67292:1;67281:8;:12;67257:36;;67308:17;67350:1;67328:3;:12;;:19;;;;:23;67308:43;;67596:26;67625:3;:12;;67638:9;67625:23;;;;;;;;;;;;;;;;;;67596:52;;67773:9;67743:3;:12;;67756:13;67743:27;;;;;;;;;;;;;;;;;;:39;;;;;;;;;;;;;;;;;;;67897:1;67881:13;:17;67850:3;:12;;:28;67863:9;:14;;;67850:28;;;;;;;;;;;:48;;;;68007:3;:12;;:18;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68103:3;:12;;:17;68116:3;68103:17;;;;;;;;;;;68096:24;;;68144:4;68137:11;;;;;;;;66879:1326;68188:5;68181:12;;;66650:1562;;;;;:::o;9977:641::-;10037:4;10299:16;10326:19;10348:66;10326:88;;;;10530:7;10518:20;10506:32;;10579:11;10567:8;:23;;:42;;;;;10606:3;10594:15;;:8;:15;;10567:42;10559:51;;;;9977:641;;;:::o;13114:230::-;13251:12;13283:53;13306:6;13314:4;13320:1;13323:12;13283:22;:53::i;:::-;13276:60;;13114:230;;;;;:::o;57637:161::-;57737:4;57789:1;57766:3;:12;;:19;57779:5;57766:19;;;;;;;;;;;;:24;;57759:31;;57637:161;;;;:::o;14602:1020::-;14775:12;14808:18;14819:6;14808:10;:18::i;:::-;14800:60;;;;;;;;;;;;:::i;:::-;;;;;;;;;14934:12;14948:23;14975:6;:11;;14994:8;15004:4;14975:34;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14933:76;;;;15024:7;15020:595;;;15055:10;15048:17;;;;;;15020:595;15189:1;15169:10;:17;:21;15165:439;;;15432:10;15426:17;15493:15;15480:10;15476:2;15472:19;15465:44;15380:148;15575:12;15568:20;;;;;;;;;;;:::i;:::-;;;;;;;;14602:1020;;;;;;;:::o;-1:-1:-1:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;;;;;;;:::o;5:130::-;;85:6;72:20;63:29;;97:33;124:5;97:33;:::i;:::-;57:78;;;;:::o;142:124::-;;219:6;206:20;197:29;;231:30;255:5;231:30;:::i;:::-;191:75;;;;:::o;273:128::-;;352:6;339:20;330:29;;364:32;390:5;364:32;:::i;:::-;324:77;;;;:::o;408:132::-;;491:6;485:13;476:22;;503:32;529:5;503:32;:::i;:::-;470:70;;;;:::o;548:440::-;;649:3;642:4;634:6;630:17;626:27;616:2;;667:1;664;657:12;616:2;704:6;691:20;726:64;741:48;782:6;741:48;:::i;:::-;726:64;:::i;:::-;717:73;;810:6;803:5;796:21;846:4;838:6;834:17;879:4;872:5;868:16;914:3;905:6;900:3;896:16;893:25;890:2;;;931:1;928;921:12;890:2;941:41;975:6;970:3;965;941:41;:::i;:::-;609:379;;;;;;;:::o;1011:337::-;;;1126:3;1119:4;1111:6;1107:17;1103:27;1093:2;;1144:1;1141;1134:12;1093:2;1177:6;1164:20;1154:30;;1204:18;1196:6;1193:30;1190:2;;;1236:1;1233;1226:12;1190:2;1270:4;1262:6;1258:17;1246:29;;1321:3;1313:4;1305:6;1301:17;1291:8;1287:32;1284:41;1281:2;;;1338:1;1335;1328:12;1281:2;1086:262;;;;;:::o;1356:128::-;;1435:6;1422:20;1413:29;;1447:32;1473:5;1447:32;:::i;:::-;1407:77;;;;:::o;1491:130::-;;1571:6;1558:20;1549:29;;1583:33;1610:5;1583:33;:::i;:::-;1543:78;;;;:::o;1628:241::-;;1732:2;1720:9;1711:7;1707:23;1703:32;1700:2;;;1748:1;1745;1738:12;1700:2;1783:1;1800:53;1845:7;1836:6;1825:9;1821:22;1800:53;:::i;:::-;1790:63;;1762:97;1694:175;;;;:::o;1876:366::-;;;1997:2;1985:9;1976:7;1972:23;1968:32;1965:2;;;2013:1;2010;2003:12;1965:2;2048:1;2065:53;2110:7;2101:6;2090:9;2086:22;2065:53;:::i;:::-;2055:63;;2027:97;2155:2;2173:53;2218:7;2209:6;2198:9;2194:22;2173:53;:::i;:::-;2163:63;;2134:98;1959:283;;;;;:::o;2249:491::-;;;;2387:2;2375:9;2366:7;2362:23;2358:32;2355:2;;;2403:1;2400;2393:12;2355:2;2438:1;2455:53;2500:7;2491:6;2480:9;2476:22;2455:53;:::i;:::-;2445:63;;2417:97;2545:2;2563:53;2608:7;2599:6;2588:9;2584:22;2563:53;:::i;:::-;2553:63;;2524:98;2653:2;2671:53;2716:7;2707:6;2696:9;2692:22;2671:53;:::i;:::-;2661:63;;2632:98;2349:391;;;;;:::o;2747:721::-;;;;;2911:3;2899:9;2890:7;2886:23;2882:33;2879:2;;;2928:1;2925;2918:12;2879:2;2963:1;2980:53;3025:7;3016:6;3005:9;3001:22;2980:53;:::i;:::-;2970:63;;2942:97;3070:2;3088:53;3133:7;3124:6;3113:9;3109:22;3088:53;:::i;:::-;3078:63;;3049:98;3178:2;3196:53;3241:7;3232:6;3221:9;3217:22;3196:53;:::i;:::-;3186:63;;3157:98;3314:2;3303:9;3299:18;3286:32;3338:18;3330:6;3327:30;3324:2;;;3370:1;3367;3360:12;3324:2;3390:62;3444:7;3435:6;3424:9;3420:22;3390:62;:::i;:::-;3380:72;;3265:193;2873:595;;;;;;;:::o;3475:360::-;;;3593:2;3581:9;3572:7;3568:23;3564:32;3561:2;;;3609:1;3606;3599:12;3561:2;3644:1;3661:53;3706:7;3697:6;3686:9;3682:22;3661:53;:::i;:::-;3651:63;;3623:97;3751:2;3769:50;3811:7;3802:6;3791:9;3787:22;3769:50;:::i;:::-;3759:60;;3730:95;3555:280;;;;;:::o;3842:741::-;;;;;;4016:3;4004:9;3995:7;3991:23;3987:33;3984:2;;;4033:1;4030;4023:12;3984:2;4068:1;4085:53;4130:7;4121:6;4110:9;4106:22;4085:53;:::i;:::-;4075:63;;4047:97;4203:2;4192:9;4188:18;4175:32;4227:18;4219:6;4216:30;4213:2;;;4259:1;4256;4249:12;4213:2;4287:65;4344:7;4335:6;4324:9;4320:22;4287:65;:::i;:::-;4269:83;;;;4154:204;4389:2;4407:52;4451:7;4442:6;4431:9;4427:22;4407:52;:::i;:::-;4397:62;;4368:97;4496:2;4514:53;4559:7;4550:6;4539:9;4535:22;4514:53;:::i;:::-;4504:63;;4475:98;3978:605;;;;;;;;:::o;4590:366::-;;;4711:2;4699:9;4690:7;4686:23;4682:32;4679:2;;;4727:1;4724;4717:12;4679:2;4762:1;4779:53;4824:7;4815:6;4804:9;4800:22;4779:53;:::i;:::-;4769:63;;4741:97;4869:2;4887:53;4932:7;4923:6;4912:9;4908:22;4887:53;:::i;:::-;4877:63;;4848:98;4673:283;;;;;:::o;4963:239::-;;5066:2;5054:9;5045:7;5041:23;5037:32;5034:2;;;5082:1;5079;5072:12;5034:2;5117:1;5134:52;5178:7;5169:6;5158:9;5154:22;5134:52;:::i;:::-;5124:62;;5096:96;5028:174;;;;:::o;5209:261::-;;5323:2;5311:9;5302:7;5298:23;5294:32;5291:2;;;5339:1;5336;5329:12;5291:2;5374:1;5391:63;5446:7;5437:6;5426:9;5422:22;5391:63;:::i;:::-;5381:73;;5353:107;5285:185;;;;:::o;5477:239::-;;5580:2;5568:9;5559:7;5555:23;5551:32;5548:2;;;5596:1;5593;5586:12;5548:2;5631:1;5648:52;5692:7;5683:6;5672:9;5668:22;5648:52;:::i;:::-;5638:62;;5610:96;5542:174;;;;:::o;5723:490::-;;;;5863:2;5851:9;5842:7;5838:23;5834:32;5831:2;;;5879:1;5876;5869:12;5831:2;5914:1;5931:52;5975:7;5966:6;5955:9;5951:22;5931:52;:::i;:::-;5921:62;;5893:96;6048:2;6037:9;6033:18;6020:32;6072:18;6064:6;6061:30;6058:2;;;6104:1;6101;6094:12;6058:2;6132:65;6189:7;6180:6;6169:9;6165:22;6132:65;:::i;:::-;6114:83;;;;5999:204;5825:388;;;;;:::o;6220:241::-;;6324:2;6312:9;6303:7;6299:23;6295:32;6292:2;;;6340:1;6337;6330:12;6292:2;6375:1;6392:53;6437:7;6428:6;6417:9;6413:22;6392:53;:::i;:::-;6382:63;;6354:97;6286:175;;;;:::o;6468:137::-;6567:32;6593:5;6567:32;:::i;:::-;6562:3;6555:45;6549:56;;:::o;6612:113::-;6695:24;6713:5;6695:24;:::i;:::-;6690:3;6683:37;6677:48;;:::o;6732:104::-;6809:21;6824:5;6809:21;:::i;:::-;6804:3;6797:34;6791:45;;:::o;6843:343::-;;6953:38;6985:5;6953:38;:::i;:::-;7003:70;7066:6;7061:3;7003:70;:::i;:::-;6996:77;;7078:52;7123:6;7118:3;7111:4;7104:5;7100:16;7078:52;:::i;:::-;7151:29;7173:6;7151:29;:::i;:::-;7146:3;7142:39;7135:46;;6933:253;;;;;:::o;7193:356::-;;7321:38;7353:5;7321:38;:::i;:::-;7371:88;7452:6;7447:3;7371:88;:::i;:::-;7364:95;;7464:52;7509:6;7504:3;7497:4;7490:5;7486:16;7464:52;:::i;:::-;7537:6;7532:3;7528:16;7521:23;;7301:248;;;;;:::o;7556:347::-;;7668:39;7701:5;7668:39;:::i;:::-;7719:71;7783:6;7778:3;7719:71;:::i;:::-;7712:78;;7795:52;7840:6;7835:3;7828:4;7821:5;7817:16;7795:52;:::i;:::-;7868:29;7890:6;7868:29;:::i;:::-;7863:3;7859:39;7852:46;;7648:255;;;;;:::o;7910:360::-;;8040:39;8073:5;8040:39;:::i;:::-;8091:89;8173:6;8168:3;8091:89;:::i;:::-;8084:96;;8185:52;8230:6;8225:3;8218:4;8211:5;8207:16;8185:52;:::i;:::-;8258:6;8253:3;8249:16;8242:23;;8020:250;;;;;:::o;8302:884::-;;8439:5;8433:12;8473:1;8462:9;8458:17;8486:1;8481:268;;;;8760:1;8755:425;;;;8451:729;;8481:268;8559:4;8555:1;8544:9;8540:17;8536:28;8578:89;8660:6;8655:3;8578:89;:::i;:::-;8571:96;;8705:4;8701:9;8690;8686:25;8681:3;8674:38;8735:6;8730:3;8726:16;8719:23;;8488:261;8481:268;;8755:425;8824:1;8813:9;8809:17;8840:89;8922:6;8917:3;8840:89;:::i;:::-;8833:96;;8951:38;8983:5;8951:38;:::i;:::-;9005:1;9013:130;9027:6;9024:1;9021:13;9013:130;;;9092:7;9086:14;9082:1;9077:3;9073:11;9066:35;9133:1;9124:7;9120:15;9109:26;;9049:4;9046:1;9042:12;9037:17;;9013:130;;;9166:6;9161:3;9157:16;9150:23;;8762:418;;;8451:729;;8409:777;;;;;:::o;9195:371::-;;9355:67;9419:2;9414:3;9355:67;:::i;:::-;9348:74;;9455:34;9451:1;9446:3;9442:11;9435:55;9524:4;9519:2;9514:3;9510:12;9503:26;9557:2;9552:3;9548:12;9541:19;;9341:225;;;:::o;9575:387::-;;9735:67;9799:2;9794:3;9735:67;:::i;:::-;9728:74;;9835:34;9831:1;9826:3;9822:11;9815:55;9904:20;9899:2;9894:3;9890:12;9883:42;9953:2;9948:3;9944:12;9937:19;;9721:241;;;:::o;9971:375::-;;10131:67;10195:2;10190:3;10131:67;:::i;:::-;10124:74;;10231:34;10227:1;10222:3;10218:11;10211:55;10300:8;10295:2;10290:3;10286:12;10279:30;10337:2;10332:3;10328:12;10321:19;;10117:229;;;:::o;10355:328::-;;10515:67;10579:2;10574:3;10515:67;:::i;:::-;10508:74;;10615:30;10611:1;10606:3;10602:11;10595:51;10674:2;10669:3;10665:12;10658:19;;10501:182;;;:::o;10692:327::-;;10852:67;10916:2;10911:3;10852:67;:::i;:::-;10845:74;;10952:29;10948:1;10943:3;10939:11;10932:50;11010:2;11005:3;11001:12;10994:19;;10838:181;;;:::o;11028:373::-;;11188:67;11252:2;11247:3;11188:67;:::i;:::-;11181:74;;11288:34;11284:1;11279:3;11275:11;11268:55;11357:6;11352:2;11347:3;11343:12;11336:28;11392:2;11387:3;11383:12;11376:19;;11174:227;;;:::o;11410:325::-;;11570:67;11634:2;11629:3;11570:67;:::i;:::-;11563:74;;11670:27;11666:1;11661:3;11657:11;11650:48;11726:2;11721:3;11717:12;11710:19;;11556:179;;;:::o;11744:381::-;;11904:67;11968:2;11963:3;11904:67;:::i;:::-;11897:74;;12004:34;12000:1;11995:3;11991:11;11984:55;12073:14;12068:2;12063:3;12059:12;12052:36;12116:2;12111:3;12107:12;12100:19;;11890:235;;;:::o;12134:393::-;;12294:67;12358:2;12353:3;12294:67;:::i;:::-;12287:74;;12394:34;12390:1;12385:3;12381:11;12374:55;12463:26;12458:2;12453:3;12449:12;12442:48;12518:2;12513:3;12509:12;12502:19;;12280:247;;;:::o;12536:379::-;;12696:67;12760:2;12755:3;12696:67;:::i;:::-;12689:74;;12796:34;12792:1;12787:3;12783:11;12776:55;12865:12;12860:2;12855:3;12851:12;12844:34;12906:2;12901:3;12897:12;12890:19;;12682:233;;;:::o;12924:371::-;;13084:67;13148:2;13143:3;13084:67;:::i;:::-;13077:74;;13184:34;13180:1;13175:3;13171:11;13164:55;13253:4;13248:2;13243:3;13239:12;13232:26;13286:2;13281:3;13277:12;13270:19;;13070:225;;;:::o;13304:332::-;;13464:67;13528:2;13523:3;13464:67;:::i;:::-;13457:74;;13564:34;13560:1;13555:3;13551:11;13544:55;13627:2;13622:3;13618:12;13611:19;;13450:186;;;:::o;13645:381::-;;13805:67;13869:2;13864:3;13805:67;:::i;:::-;13798:74;;13905:34;13901:1;13896:3;13892:11;13885:55;13974:14;13969:2;13964:3;13960:12;13953:36;14017:2;14012:3;14008:12;14001:19;;13791:235;;;:::o;14035:381::-;;14195:67;14259:2;14254:3;14195:67;:::i;:::-;14188:74;;14295:34;14291:1;14286:3;14282:11;14275:55;14364:14;14359:2;14354:3;14350:12;14343:36;14407:2;14402:3;14398:12;14391:19;;14181:235;;;:::o;14425:332::-;;14585:67;14649:2;14644:3;14585:67;:::i;:::-;14578:74;;14685:34;14681:1;14676:3;14672:11;14665:55;14748:2;14743:3;14739:12;14732:19;;14571:186;;;:::o;14766:378::-;;14926:67;14990:2;14985:3;14926:67;:::i;:::-;14919:74;;15026:34;15022:1;15017:3;15013:11;15006:55;15095:11;15090:2;15085:3;15081:12;15074:33;15135:2;15130:3;15126:12;15119:19;;14912:232;;;:::o;15153:384::-;;15313:67;15377:2;15372:3;15313:67;:::i;:::-;15306:74;;15413:34;15409:1;15404:3;15400:11;15393:55;15482:17;15477:2;15472:3;15468:12;15461:39;15528:2;15523:3;15519:12;15512:19;;15299:238;;;:::o;15546:370::-;;15706:67;15770:2;15765:3;15706:67;:::i;:::-;15699:74;;15806:34;15802:1;15797:3;15793:11;15786:55;15875:3;15870:2;15865:3;15861:12;15854:25;15907:2;15902:3;15898:12;15891:19;;15692:224;;;:::o;15925:386::-;;16085:67;16149:2;16144:3;16085:67;:::i;:::-;16078:74;;16185:34;16181:1;16176:3;16172:11;16165:55;16254:19;16249:2;16244:3;16240:12;16233:41;16302:2;16297:3;16293:12;16286:19;;16071:240;;;:::o;16320:329::-;;16480:67;16544:2;16539:3;16480:67;:::i;:::-;16473:74;;16580:31;16576:1;16571:3;16567:11;16560:52;16640:2;16635:3;16631:12;16624:19;;16466:183;;;:::o;16657:110::-;16738:23;16755:5;16738:23;:::i;:::-;16733:3;16726:36;16720:47;;:::o;16774:113::-;16857:24;16875:5;16857:24;:::i;:::-;16852:3;16845:37;16839:48;;:::o;16894:271::-;;17047:93;17136:3;17127:6;17047:93;:::i;:::-;17040:100;;17157:3;17150:10;;17028:137;;;;:::o;17172:430::-;;17372:92;17460:3;17451:6;17372:92;:::i;:::-;17365:99;;17482:95;17573:3;17564:6;17482:95;:::i;:::-;17475:102;;17594:3;17587:10;;17353:249;;;;;:::o;17609:222::-;;17736:2;17725:9;17721:18;17713:26;;17750:71;17818:1;17807:9;17803:17;17794:6;17750:71;:::i;:::-;17707:124;;;;:::o;17838:672::-;;18083:3;18072:9;18068:19;18060:27;;18098:87;18182:1;18171:9;18167:17;18158:6;18098:87;:::i;:::-;18196:72;18264:2;18253:9;18249:18;18240:6;18196:72;:::i;:::-;18279;18347:2;18336:9;18332:18;18323:6;18279:72;:::i;:::-;18399:9;18393:4;18389:20;18384:2;18373:9;18369:18;18362:48;18424:76;18495:4;18486:6;18424:76;:::i;:::-;18416:84;;18054:456;;;;;;;:::o;18517:210::-;;18638:2;18627:9;18623:18;18615:26;;18652:65;18714:1;18703:9;18699:17;18690:6;18652:65;:::i;:::-;18609:118;;;;:::o;18734:310::-;;18881:2;18870:9;18866:18;18858:26;;18931:9;18925:4;18921:20;18917:1;18906:9;18902:17;18895:47;18956:78;19029:4;19020:6;18956:78;:::i;:::-;18948:86;;18852:192;;;;:::o;19051:416::-;;19251:2;19240:9;19236:18;19228:26;;19301:9;19295:4;19291:20;19287:1;19276:9;19272:17;19265:47;19326:131;19452:4;19326:131;:::i;:::-;19318:139;;19222:245;;;:::o;19474:416::-;;19674:2;19663:9;19659:18;19651:26;;19724:9;19718:4;19714:20;19710:1;19699:9;19695:17;19688:47;19749:131;19875:4;19749:131;:::i;:::-;19741:139;;19645:245;;;:::o;19897:416::-;;20097:2;20086:9;20082:18;20074:26;;20147:9;20141:4;20137:20;20133:1;20122:9;20118:17;20111:47;20172:131;20298:4;20172:131;:::i;:::-;20164:139;;20068:245;;;:::o;20320:416::-;;20520:2;20509:9;20505:18;20497:26;;20570:9;20564:4;20560:20;20556:1;20545:9;20541:17;20534:47;20595:131;20721:4;20595:131;:::i;:::-;20587:139;;20491:245;;;:::o;20743:416::-;;20943:2;20932:9;20928:18;20920:26;;20993:9;20987:4;20983:20;20979:1;20968:9;20964:17;20957:47;21018:131;21144:4;21018:131;:::i;:::-;21010:139;;20914:245;;;:::o;21166:416::-;;21366:2;21355:9;21351:18;21343:26;;21416:9;21410:4;21406:20;21402:1;21391:9;21387:17;21380:47;21441:131;21567:4;21441:131;:::i;:::-;21433:139;;21337:245;;;:::o;21589:416::-;;21789:2;21778:9;21774:18;21766:26;;21839:9;21833:4;21829:20;21825:1;21814:9;21810:17;21803:47;21864:131;21990:4;21864:131;:::i;:::-;21856:139;;21760:245;;;:::o;22012:416::-;;22212:2;22201:9;22197:18;22189:26;;22262:9;22256:4;22252:20;22248:1;22237:9;22233:17;22226:47;22287:131;22413:4;22287:131;:::i;:::-;22279:139;;22183:245;;;:::o;22435:416::-;;22635:2;22624:9;22620:18;22612:26;;22685:9;22679:4;22675:20;22671:1;22660:9;22656:17;22649:47;22710:131;22836:4;22710:131;:::i;:::-;22702:139;;22606:245;;;:::o;22858:416::-;;23058:2;23047:9;23043:18;23035:26;;23108:9;23102:4;23098:20;23094:1;23083:9;23079:17;23072:47;23133:131;23259:4;23133:131;:::i;:::-;23125:139;;23029:245;;;:::o;23281:416::-;;23481:2;23470:9;23466:18;23458:26;;23531:9;23525:4;23521:20;23517:1;23506:9;23502:17;23495:47;23556:131;23682:4;23556:131;:::i;:::-;23548:139;;23452:245;;;:::o;23704:416::-;;23904:2;23893:9;23889:18;23881:26;;23954:9;23948:4;23944:20;23940:1;23929:9;23925:17;23918:47;23979:131;24105:4;23979:131;:::i;:::-;23971:139;;23875:245;;;:::o;24127:416::-;;24327:2;24316:9;24312:18;24304:26;;24377:9;24371:4;24367:20;24363:1;24352:9;24348:17;24341:47;24402:131;24528:4;24402:131;:::i;:::-;24394:139;;24298:245;;;:::o;24550:416::-;;24750:2;24739:9;24735:18;24727:26;;24800:9;24794:4;24790:20;24786:1;24775:9;24771:17;24764:47;24825:131;24951:4;24825:131;:::i;:::-;24817:139;;24721:245;;;:::o;24973:416::-;;25173:2;25162:9;25158:18;25150:26;;25223:9;25217:4;25213:20;25209:1;25198:9;25194:17;25187:47;25248:131;25374:4;25248:131;:::i;:::-;25240:139;;25144:245;;;:::o;25396:416::-;;25596:2;25585:9;25581:18;25573:26;;25646:9;25640:4;25636:20;25632:1;25621:9;25617:17;25610:47;25671:131;25797:4;25671:131;:::i;:::-;25663:139;;25567:245;;;:::o;25819:416::-;;26019:2;26008:9;26004:18;25996:26;;26069:9;26063:4;26059:20;26055:1;26044:9;26040:17;26033:47;26094:131;26220:4;26094:131;:::i;:::-;26086:139;;25990:245;;;:::o;26242:416::-;;26442:2;26431:9;26427:18;26419:26;;26492:9;26486:4;26482:20;26478:1;26467:9;26463:17;26456:47;26517:131;26643:4;26517:131;:::i;:::-;26509:139;;26413:245;;;:::o;26665:416::-;;26865:2;26854:9;26850:18;26842:26;;26915:9;26909:4;26905:20;26901:1;26890:9;26886:17;26879:47;26940:131;27066:4;26940:131;:::i;:::-;26932:139;;26836:245;;;:::o;27088:416::-;;27288:2;27277:9;27273:18;27265:26;;27338:9;27332:4;27328:20;27324:1;27313:9;27309:17;27302:47;27363:131;27489:4;27363:131;:::i;:::-;27355:139;;27259:245;;;:::o;27511:218::-;;27636:2;27625:9;27621:18;27613:26;;27650:69;27716:1;27705:9;27701:17;27692:6;27650:69;:::i;:::-;27607:122;;;;:::o;27736:222::-;;27863:2;27852:9;27848:18;27840:26;;27877:71;27945:1;27934:9;27930:17;27921:6;27877:71;:::i;:::-;27834:124;;;;:::o;27965:256::-;;28027:2;28021:9;28011:19;;28065:4;28057:6;28053:17;28164:6;28152:10;28149:22;28128:18;28116:10;28113:34;28110:62;28107:2;;;28185:1;28182;28175:12;28107:2;28205:10;28201:2;28194:22;28005:216;;;;:::o;28228:321::-;;28371:18;28363:6;28360:30;28357:2;;;28403:1;28400;28393:12;28357:2;28470:4;28466:9;28459:4;28451:6;28447:17;28443:33;28435:41;;28534:4;28528;28524:15;28516:23;;28294:255;;;:::o;28556:158::-;;28624:3;28616:11;;28661:3;28658:1;28651:14;28693:4;28690:1;28680:18;28672:26;;28610:104;;;:::o;28721:121::-;;28814:5;28808:12;28798:22;;28779:63;;;:::o;28849:122::-;;28943:5;28937:12;28927:22;;28908:63;;;:::o;28979:162::-;;29093:6;29088:3;29081:19;29130:4;29125:3;29121:14;29106:29;;29074:67;;;;:::o;29150:144::-;;29285:3;29270:18;;29263:31;;;;:::o;29303:163::-;;29418:6;29413:3;29406:19;29455:4;29450:3;29446:14;29431:29;;29399:67;;;;:::o;29475:145::-;;29611:3;29596:18;;29589:31;;;;:::o;29628:91::-;;29690:24;29708:5;29690:24;:::i;:::-;29679:35;;29673:46;;;:::o;29726:99::-;;29796:24;29814:5;29796:24;:::i;:::-;29785:35;;29779:46;;;:::o;29832:85::-;;29905:5;29898:13;29891:21;29880:32;;29874:43;;;:::o;29924:144::-;;29996:66;29989:5;29985:78;29974:89;;29968:100;;;:::o;30075:84::-;;30147:6;30140:5;30136:18;30125:29;;30119:40;;;:::o;30166:121::-;;30239:42;30232:5;30228:54;30217:65;;30211:76;;;:::o;30294:72::-;;30356:5;30345:16;;30339:27;;;:::o;30374:145::-;30455:6;30450:3;30445;30432:30;30511:1;30502:6;30497:3;30493:16;30486:27;30425:94;;;:::o;30528:268::-;30593:1;30600:101;30614:6;30611:1;30608:13;30600:101;;;30690:1;30685:3;30681:11;30675:18;30671:1;30666:3;30662:11;30655:39;30636:2;30633:1;30629:10;30624:15;;30600:101;;;30716:6;30713:1;30710:13;30707:2;;;30781:1;30772:6;30767:3;30763:16;30756:27;30707:2;30577:219;;;;:::o;30804:97::-;;30892:2;30888:7;30883:2;30876:5;30872:14;30868:28;30858:38;;30852:49;;;:::o;30909:117::-;30978:24;30996:5;30978:24;:::i;:::-;30971:5;30968:35;30958:2;;31017:1;31014;31007:12;30958:2;30952:74;:::o;31033:111::-;31099:21;31114:5;31099:21;:::i;:::-;31092:5;31089:32;31079:2;;31135:1;31132;31125:12;31079:2;31073:71;:::o;31151:115::-;31219:23;31236:5;31219:23;:::i;:::-;31212:5;31209:34;31199:2;;31257:1;31254;31247:12;31199:2;31193:73;:::o;31273:115::-;31341:23;31358:5;31341:23;:::i;:::-;31334:5;31331:34;31321:2;;31379:1;31376;31369:12;31321:2;31315:73;:::o;31395:117::-;31464:24;31482:5;31464:24;:::i;:::-;31457:5;31454:35;31444:2;;31503:1;31500;31493:12;31444:2;31438:74;:::o

Swarm Source

ipfs://d0e4fa2341ed912162b0c2180a6b9bd9d78d586fbe7ff9141db9b286d82da9c2
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
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.