ETH Price: $3,402.16 (+2.03%)

Token

JRNY Club Reward Collection (JRNYREWARDS)
 

Overview

Max Total Supply

13,549 JRNYREWARDS

Holders

8,234

Market

Volume (24H)

N/A

Min Price (24H)

N/A

Max Price (24H)

N/A
0xac4fb11be6a063c91004eac536c728019adbf54b
Loading...
Loading
Loading...
Loading
Loading...
Loading

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

Contract Source Code Verified (Exact Match)

Contract Name:
JRNYRewardsNFT

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2022-04-13
*/

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

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


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

/**
 * @dev Elliptic Curve Digital Signature Algorithm (ECDSA) operations.
 *
 * These functions can be used to verify that a message was signed by the holder
 * of the private keys of a given address.
 */
library ECDSA {
    enum RecoverError {
        NoError,
        InvalidSignature,
        InvalidSignatureLength,
        InvalidSignatureS,
        InvalidSignatureV
    }

    function _throwError(RecoverError error) private pure {
        if (error == RecoverError.NoError) {
            return; // no error: do nothing
        } else if (error == RecoverError.InvalidSignature) {
            revert("ECDSA: invalid signature");
        } else if (error == RecoverError.InvalidSignatureLength) {
            revert("ECDSA: invalid signature length");
        } else if (error == RecoverError.InvalidSignatureS) {
            revert("ECDSA: invalid signature 's' value");
        } else if (error == RecoverError.InvalidSignatureV) {
            revert("ECDSA: invalid signature 'v' value");
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature` or error string. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     *
     * Documentation for signature generation:
     * - with https://web3js.readthedocs.io/en/v1.3.4/web3-eth-accounts.html#sign[Web3.js]
     * - with https://docs.ethers.io/v5/api/signer/#Signer-signMessage[ethers]
     *
     * _Available since v4.3._
     */
    function tryRecover(bytes32 hash, bytes memory signature) internal pure returns (address, RecoverError) {
        // Check the signature length
        // - case 65: r,s,v signature (standard)
        // - case 64: r,vs signature (cf https://eips.ethereum.org/EIPS/eip-2098) _Available since v4.1._
        if (signature.length == 65) {
            bytes32 r;
            bytes32 s;
            uint8 v;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                s := mload(add(signature, 0x40))
                v := byte(0, mload(add(signature, 0x60)))
            }
            return tryRecover(hash, v, r, s);
        } else if (signature.length == 64) {
            bytes32 r;
            bytes32 vs;
            // ecrecover takes the signature parameters, and the only way to get them
            // currently is to use assembly.
            assembly {
                r := mload(add(signature, 0x20))
                vs := mload(add(signature, 0x40))
            }
            return tryRecover(hash, r, vs);
        } else {
            return (address(0), RecoverError.InvalidSignatureLength);
        }
    }

    /**
     * @dev Returns the address that signed a hashed message (`hash`) with
     * `signature`. This address can then be used for verification purposes.
     *
     * The `ecrecover` EVM opcode allows for malleable (non-unique) signatures:
     * this function rejects them by requiring the `s` value to be in the lower
     * half order, and the `v` value to be either 27 or 28.
     *
     * IMPORTANT: `hash` _must_ be the result of a hash operation for the
     * verification to be secure: it is possible to craft signatures that
     * recover to arbitrary addresses for non-hashed data. A safe way to ensure
     * this is by receiving a hash of the original message (which may otherwise
     * be too long), and then calling {toEthSignedMessageHash} on it.
     */
    function recover(bytes32 hash, bytes memory signature) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, signature);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `r` and `vs` short-signature fields separately.
     *
     * See https://eips.ethereum.org/EIPS/eip-2098[EIP-2098 short signatures]
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address, RecoverError) {
        bytes32 s;
        uint8 v;
        assembly {
            s := and(vs, 0x7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff)
            v := add(shr(255, vs), 27)
        }
        return tryRecover(hash, v, r, s);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `r and `vs` short-signature fields separately.
     *
     * _Available since v4.2._
     */
    function recover(
        bytes32 hash,
        bytes32 r,
        bytes32 vs
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, r, vs);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Overload of {ECDSA-tryRecover} that receives the `v`,
     * `r` and `s` signature fields separately.
     *
     * _Available since v4.3._
     */
    function tryRecover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address, RecoverError) {
        // EIP-2 still allows signature malleability for ecrecover(). Remove this possibility and make the signature
        // unique. Appendix F in the Ethereum Yellow paper (https://ethereum.github.io/yellowpaper/paper.pdf), defines
        // the valid range for s in (301): 0 < s < secp256k1n ÷ 2 + 1, and for v in (302): v ∈ {27, 28}. Most
        // signatures from current libraries generate a unique signature with an s-value in the lower half order.
        //
        // If your library generates malleable signatures, such as s-values in the upper range, calculate a new s-value
        // with 0xFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFEBAAEDCE6AF48A03BBFD25E8CD0364141 - s1 and flip v from 27 to 28 or
        // vice versa. If your library also generates signatures with 0/1 for v instead 27/28, add 27 to v to accept
        // these malleable signatures as well.
        if (uint256(s) > 0x7FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF5D576E7357A4501DDFE92F46681B20A0) {
            return (address(0), RecoverError.InvalidSignatureS);
        }
        if (v != 27 && v != 28) {
            return (address(0), RecoverError.InvalidSignatureV);
        }

        // If the signature is valid (and not malleable), return the signer address
        address signer = ecrecover(hash, v, r, s);
        if (signer == address(0)) {
            return (address(0), RecoverError.InvalidSignature);
        }

        return (signer, RecoverError.NoError);
    }

    /**
     * @dev Overload of {ECDSA-recover} that receives the `v`,
     * `r` and `s` signature fields separately.
     */
    function recover(
        bytes32 hash,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal pure returns (address) {
        (address recovered, RecoverError error) = tryRecover(hash, v, r, s);
        _throwError(error);
        return recovered;
    }

    /**
     * @dev Returns an Ethereum Signed Message, created from a `hash`. This
     * produces hash corresponding to the one signed with the
     * https://eth.wiki/json-rpc/API#eth_sign[`eth_sign`]
     * JSON-RPC method as part of EIP-191.
     *
     * See {recover}.
     */
    function toEthSignedMessageHash(bytes32 hash) internal pure returns (bytes32) {
        // 32 is the length in bytes of hash,
        // enforced by the type signature above
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }

    /**
     * @dev Returns an Ethereum Signed Typed Data, created from a
     * `domainSeparator` and a `structHash`. This produces hash corresponding
     * to the one signed with the
     * https://eips.ethereum.org/EIPS/eip-712[`eth_signTypedData`]
     * JSON-RPC method as part of EIP-712.
     *
     * See {recover}.
     */
    function toTypedDataHash(bytes32 domainSeparator, bytes32 structHash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19\x01", domainSeparator, structHash));
    }
}

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

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

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

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

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

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

/**
 * @dev Implementation of the {IERC20} 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 {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * 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 {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

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

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

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

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

    /**
     * @dev See {IERC20-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 {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

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

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * 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);

        uint256 currentAllowance = _allowances[sender][_msgSender()];
        require(currentAllowance >= amount, "ERC20: transfer amount exceeds allowance");
        unchecked {
            _approve(sender, _msgSender(), currentAllowance - amount);
        }

        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 {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        _approve(_msgSender(), spender, _allowances[_msgSender()][spender] + 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 {IERC20-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 virtual returns (bool) {
        uint256 currentAllowance = _allowances[_msgSender()][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(_msgSender(), spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This 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), "ERC20: transfer from the zero address");
        require(recipient != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(sender, recipient, amount);

        uint256 senderBalance = _balances[sender];
        require(senderBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[sender] = senderBalance - amount;
        }
        _balances[recipient] += amount;

        emit Transfer(sender, recipient, amount);

        _afterTokenTransfer(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:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(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 virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This 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 virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

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

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

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}


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

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}


/**
 * @dev Interface of the optional ERC1155MetadataExtension interface, as defined
 * in the https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155MetadataURI is IERC1155 {
    /**
     * @dev Returns the URI for token type `id`.
     *
     * If the `\{id\}` substring is present in the URI, it must be replaced by
     * clients with the actual token type ID.
     */
    function uri(uint256 id) external view returns (string memory);
}


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

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

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

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

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

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

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

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

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

        uint256[] memory batchBalances = new uint256[](accounts.length);

        for (uint256 i = 0; i < accounts.length; ++i) {
            batchBalances[i] = balanceOf(accounts[i], ids[i]);
        }

        return batchBalances;
    }

    /**
     * @dev See {IERC1155-setApprovalForAll}.
     */
    function setApprovalForAll(address operator, bool approved) public virtual override {
        require(_msgSender() != operator, "ERC1155: setting approval status for self");

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _safeBatchTransferFrom(
        address from,
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");
        require(to != address(0), "ERC1155: transfer to the zero address");

        address operator = _msgSender();

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

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

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

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

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

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

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

        address operator = _msgSender();

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

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

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

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {_mint}.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function _mintBatch(
        address to,
        uint256[] memory ids,
        uint256[] memory amounts,
        bytes memory data
    ) internal virtual {
        require(to != address(0), "ERC1155: mint to the zero address");
        require(ids.length == amounts.length, "ERC1155: ids and amounts length mismatch");

        address operator = _msgSender();

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

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

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

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

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

        address operator = _msgSender();

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

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

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

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

        address operator = _msgSender();

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

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

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

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

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

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

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

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

        return array;
    }
}


contract JRNYRewardsNFT is ERC1155 {
    address public admin;
    string public name;
    string public symbol;
    string public metadata;
    
    mapping(uint256 => bool) minted;
    
    using ECDSA for bytes32;
    address signer = 0xb6625044f65F77418C54b73b9883B2Bed32Cc51C;
	address maintainer;

    modifier onlyAdmin {
        require(admin == msg.sender, "Not allowed");
        _;
    }

    constructor(
        string memory _name,
        string memory _symbol,
        string memory _metadata
    ) ERC1155("") {
        name = _name;
        symbol = _symbol;
        metadata = _metadata;
        admin = msg.sender;
    }

    function authorizedMint(uint _nftId, bool _unique, uint _nonce, bytes memory _signature) public {
        bytes32 hash = hashTransaction(msg.sender, _nftId, _unique, _nonce);
        require(!minted[uint(hash)], "Token already minted");
        require(matchSignerAdmin(signTransaction(hash), _signature), "Signature mismatch");
        minted[uint(hash)] = true;
        _mint(msg.sender, _nftId, 1, "");
    }

    function adminBatchMint(
        address[] memory _to,
        uint256[] memory _ids,
        uint256[] memory _values,
        bytes memory _data
    ) public onlyAdmin {
        for (uint256 i = 0; i < _to.length; i++) {
            _mint(_to[i], _ids[i], _values[i], _data);
        }
    }

    function updateMetadata(string memory _metadata) external {
		require (msg.sender == admin || msg.sender == maintainer, "Not allowed");
        metadata = _metadata;
    }

    function uri(uint256 _id) public view override returns (string memory) {
        return string(abi.encodePacked(metadata, uint2str(_id), ".json"));
    }

    function supportsInterface(bytes4 interfaceId)
        public
        view
        virtual
        override(ERC1155)
        returns (bool)
    {
        return super.supportsInterface(interfaceId);
    }
    
    function hasBeenMinted(address _sender, uint _nftId, bool _unique, uint _nonce) public view returns (bool) {
        return minted[uint(keccak256(abi.encode(_sender, _nftId, _unique, _nonce)))];
    }
    
    function hashTransaction(address _sender, uint _nftId, bool _unique, uint _nonce) public pure returns (bytes32) {
        bytes32 _hash = keccak256(abi.encode(_sender, _nftId, _unique, _nonce));
    	return _hash;
	}
	
	
	function signTransaction(bytes32 _hash) public pure returns (bytes32) {
	    return _hash.toEthSignedMessageHash();
	}

	function matchSignerAdmin(bytes32 _payload, bytes memory _signature) public view returns (bool) {
		return signer == _payload.recover(_signature);
	}

    function changeMaintainer(address newAddress) external onlyAdmin {
        maintainer = newAddress;
    }
	
	function changeAdmin(address newAdmin) external onlyAdmin {
	    admin = newAdmin;
	}
	
	function changeApprovedSigner(address newSigner) external onlyAdmin {
	    signer = newSigner;
	}

    function uint2str(uint _i) internal pure returns (string memory _uintAsString) {
        if (_i == 0) {
            return "0";
        }
        uint j = _i;
        uint len;
        while (j != 0) {
            len++;
            j /= 10;
        }
        bytes memory bstr = new bytes(len);
        uint k = len;
        while (_i != 0) {
            k = k-1;
            uint8 temp = (48 + uint8(_i - _i / 10 * 10));
            bytes1 b1 = bytes1(temp);
            bstr[k] = b1;
            _i /= 10;
        }
        return string(bstr);
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_metadata","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":false,"internalType":"bool","name":"approved","type":"bool"}],"name":"ApprovalForAll","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"values","type":"uint256[]"}],"name":"TransferBatch","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"operator","type":"address"},{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"id","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"TransferSingle","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"string","name":"value","type":"string"},{"indexed":true,"internalType":"uint256","name":"id","type":"uint256"}],"name":"URI","type":"event"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_to","type":"address[]"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_values","type":"uint256[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"adminBatchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_nftId","type":"uint256"},{"internalType":"bool","name":"_unique","type":"bool"},{"internalType":"uint256","name":"_nonce","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"authorizedMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"}],"name":"balanceOfBatch","outputs":[{"internalType":"uint256[]","name":"","type":"uint256[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newSigner","type":"address"}],"name":"changeApprovedSigner","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"changeMaintainer","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_nftId","type":"uint256"},{"internalType":"bool","name":"_unique","type":"bool"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"hasBeenMinted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_sender","type":"address"},{"internalType":"uint256","name":"_nftId","type":"uint256"},{"internalType":"bool","name":"_unique","type":"bool"},{"internalType":"uint256","name":"_nonce","type":"uint256"}],"name":"hashTransaction","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"address","name":"operator","type":"address"}],"name":"isApprovedForAll","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_payload","type":"bytes32"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"matchSignerAdmin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"metadata","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeBatchTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"id","type":"uint256"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"safeTransferFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"operator","type":"address"},{"internalType":"bool","name":"approved","type":"bool"}],"name":"setApprovalForAll","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_hash","type":"bytes32"}],"name":"signTransaction","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"pure","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":"string","name":"_metadata","type":"string"}],"name":"updateMetadata","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_id","type":"uint256"}],"name":"uri","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"}]

6080604052600880546001600160a01b03191673b6625044f65f77418c54b73b9883b2bed32cc51c1790553480156200003757600080fd5b5060405162002f6b38038062002f6b8339810160408190526200005a9162000249565b6040805160208101909152600081526200007481620000d3565b5082516200008a906004906020860190620000ec565b508151620000a0906005906020850190620000ec565b508051620000b6906006906020840190620000ec565b5050600380546001600160a01b03191633179055506200032d9050565b8051620000e8906002906020840190620000ec565b5050565b828054620000fa90620002da565b90600052602060002090601f0160209004810192826200011e576000855562000169565b82601f106200013957805160ff191683800117855562000169565b8280016001018555821562000169579182015b82811115620001695782518255916020019190600101906200014c565b50620001779291506200017b565b5090565b5b808211156200017757600081556001016200017c565b600082601f830112620001a457600080fd5b81516001600160401b0380821115620001c157620001c162000317565b604051601f8301601f19908116603f01168101908282118183101715620001ec57620001ec62000317565b816040528381526020925086838588010111156200020957600080fd5b600091505b838210156200022d57858201830151818301840152908201906200020e565b838211156200023f5760008385830101525b9695505050505050565b6000806000606084860312156200025f57600080fd5b83516001600160401b03808211156200027757600080fd5b620002858783880162000192565b945060208601519150808211156200029c57600080fd5b620002aa8783880162000192565b93506040860151915080821115620002c157600080fd5b50620002d08682870162000192565b9150509250925092565b600181811c90821680620002ef57607f821691505b602082108114156200031157634e487b7160e01b600052602260045260246000fd5b50919050565b634e487b7160e01b600052604160045260246000fd5b612c2e806200033d6000396000f3fe608060405234801561001057600080fd5b50600436106101815760003560e01c8063955c20b2116100d8578063d87b90d21161008c578063ed1261ba11610066578063ed1261ba146103fa578063f242432a1461040d578063f851a4401461042057600080fd5b8063d87b90d214610326578063e0f4ea901461039e578063e985e9c5146103b157600080fd5b8063a12ee7ba116100bd578063a12ee7ba1461029b578063a22cb465146102ae578063a5848ee1146102c157600080fd5b8063955c20b21461028057806395d89b411461029357600080fd5b8063392f37e91161013a57806385a318e11161011457806385a318e1146102475780638f2839701461025a578063918b5be11461026d57600080fd5b8063392f37e91461020c5780634e1273f4146102145780636613d13a1461023457600080fd5b806306fdde031161016b57806306fdde03146101cf5780630e89341c146101e45780632eb2c2d6146101f757600080fd5b8062fdd58e1461018657806301ffc9a7146101ac575b600080fd5b610199610194366004612328565b610465565b6040519081526020015b60405180910390f35b6101bf6101ba3660046124fd565b610528565b60405190151581526020016101a3565b6101d7610539565b6040516101a3919061285d565b6101d76101f23660046124a7565b6105c7565b61020a6102053660046121ef565b6105fb565b005b6101d76106aa565b610227610222366004612396565b6106b7565b6040516101a39190612825565b61020a6102423660046121a1565b6107f5565b61020a610255366004612588565b6108a3565b61020a6102683660046121a1565b6109f3565b61020a61027b366004612537565b610aa1565b61019961028e3660046124a7565b610b41565b6101d7610b9a565b61020a6102a93660046121a1565b610ba7565b61020a6102bc3660046122fe565b610c55565b6101996102cf366004612352565b6040805173ffffffffffffffffffffffffffffffffffffffff959095166020808701919091528582019490945291151560608501526080808501919091528151808503909101815260a09093019052815191012090565b6101bf610334366004612352565b6040805173ffffffffffffffffffffffffffffffffffffffff959095166020808701919091528582019490945291151560608501526080808501919091528151808503909101815260a0909301815282519282019290922060009081526007909152205460ff1690565b6101bf6103ac3660046124c0565b610d78565b6101bf6103bf3660046121bc565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205460ff1690565b61020a6104083660046123fa565b610da9565b61020a61041b366004612299565b610e85565b6003546104409073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101a3565b600073ffffffffffffffffffffffffffffffffffffffff83166104f55760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526020818152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052205490565b600061053382610f2d565b92915050565b6004805461054690612990565b80601f016020809104026020016040519081016040528092919081815260200182805461057290612990565b80156105bf5780601f10610594576101008083540402835291602001916105bf565b820191906000526020600020905b8154815290600101906020018083116105a257829003601f168201915b505050505081565b606060066105d483611010565b6040516020016105e5929190612660565b6040516020818303038152906040529050919050565b73ffffffffffffffffffffffffffffffffffffffff8516331480610624575061062485336103bf565b6106965760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016104ec565b6106a3858585858561116d565b5050505050565b6006805461054690612990565b606081518351146107305760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016104ec565b6000835167ffffffffffffffff81111561074c5761074c612ad7565b604051908082528060200260200182016040528015610775578160200160208202803683370190505b50905060005b84518110156107ed576107c085828151811061079957610799612aa8565b60200260200101518583815181106107b3576107b3612aa8565b6020026020010151610465565b8282815181106107d2576107d2612aa8565b60209081029190910101526107e681612a11565b905061077b565b509392505050565b60035473ffffffffffffffffffffffffffffffffffffffff16331461085c5760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064016104ec565b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6040805133602080830191909152818301879052851515606083015260808083018690528351808403909101815260a09092018352815191810191909120600081815260079092529190205460ff161561093f5760405162461bcd60e51b815260206004820152601460248201527f546f6b656e20616c7265616479206d696e74656400000000000000000000000060448201526064016104ec565b61095161094b82610b41565b83610d78565b61099d5760405162461bcd60e51b815260206004820152601260248201527f5369676e6174757265206d69736d61746368000000000000000000000000000060448201526064016104ec565b600081815260076020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600190811790915581519283019091529181526106a3913391889190611459565b60035473ffffffffffffffffffffffffffffffffffffffff163314610a5a5760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064016104ec565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035473ffffffffffffffffffffffffffffffffffffffff16331480610ade575060095473ffffffffffffffffffffffffffffffffffffffff1633145b610b2a5760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064016104ec565b8051610b3d906006906020840190611f62565b5050565b6000610533826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b6005805461054690612990565b60035473ffffffffffffffffffffffffffffffffffffffff163314610c0e5760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064016104ec565b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3373ffffffffffffffffffffffffffffffffffffffff83161415610ce15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016104ec565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610d8483836115a6565b60085473ffffffffffffffffffffffffffffffffffffffff9182169116149392505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314610e105760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064016104ec565b60005b84518110156106a357610e73858281518110610e3157610e31612aa8565b6020026020010151858381518110610e4b57610e4b612aa8565b6020026020010151858481518110610e6557610e65612aa8565b602002602001015185611459565b80610e7d81612a11565b915050610e13565b73ffffffffffffffffffffffffffffffffffffffff8516331480610eae5750610eae85336103bf565b610f205760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016104ec565b6106a385858585856115c2565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a26000000000000000000000000000000000000000000000000000000001480610fc057507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061053357507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610533565b60608161105057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561107a578061106481612a11565b91506110739050600a836128d1565b9150611054565b60008167ffffffffffffffff81111561109557611095612ad7565b6040519080825280601f01601f1916602001820160405280156110bf576020820181803683370190505b509050815b8515611164576110d5600182612949565b905060006110e4600a886128d1565b6110ef90600a61290c565b6110f99088612949565b6111049060306128ac565b905060008160f81b90508084848151811061112157611121612aa8565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061115b600a896128d1565b975050506110c4565b50949350505050565b81518351146111e45760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016104ec565b73ffffffffffffffffffffffffffffffffffffffff841661126d5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104ec565b3360005b84518110156113c457600085828151811061128e5761128e612aa8565b6020026020010151905060008583815181106112ac576112ac612aa8565b6020908102919091018101516000848152808352604080822073ffffffffffffffffffffffffffffffffffffffff8e16835290935291909120549091508181101561135f5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016104ec565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8e8116855292528083208585039055908b168252812080548492906113a9908490612894565b92505081905550505050806113bd90612a11565b9050611271565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161143b929190612838565b60405180910390a46114518187878787876117bf565b505050505050565b73ffffffffffffffffffffffffffffffffffffffff84166114e25760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104ec565b336114fc816000876114f3886119ed565b6106a3886119ed565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8916845290915281208054859290611539908490612894565b9091555050604080518581526020810185905273ffffffffffffffffffffffffffffffffffffffff80881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46106a381600087878787611a38565b60008060006115b58585611bbc565b915091506107ed81611c2c565b73ffffffffffffffffffffffffffffffffffffffff841661164b5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104ec565b3361165b8187876114f3886119ed565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8a168452909152902054838110156116ff5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016104ec565b60008581526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8b8116855292528083208785039055908816825281208054869290611749908490612894565b9091555050604080518681526020810186905273ffffffffffffffffffffffffffffffffffffffff808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46117b6828888888888611a38565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff84163b15611451576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c8190611836908990899088908890889060040161276a565b602060405180830381600087803b15801561185057600080fd5b505af1925050508015611880575060408051601f3d908101601f1916820190925261187d9181019061251a565b60015b6119365761188c612b06565b806308c379a014156118c657506118a1612b22565b806118ac57506118c8565b8060405162461bcd60e51b81526004016104ec919061285d565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016104ec565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146117b65760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016104ec565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611a2757611a27612aa8565b602090810291909101015292915050565b73ffffffffffffffffffffffffffffffffffffffff84163b15611451576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e6190611aaf90899089908890889088906004016127d5565b602060405180830381600087803b158015611ac957600080fd5b505af1925050508015611af9575060408051601f3d908101601f19168201909252611af69181019061251a565b60015b611b055761188c612b06565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146117b65760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016104ec565b600080825160411415611bf35760208301516040840151606085015160001a611be787828585611e20565b94509450505050611c25565b825160401415611c1d5760208301516040840151611c12868383611f1a565b935093505050611c25565b506000905060025b9250929050565b6000816004811115611c4057611c40612a79565b1415611c495750565b6001816004811115611c5d57611c5d612a79565b1415611cab5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104ec565b6002816004811115611cbf57611cbf612a79565b1415611d0d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016104ec565b6003816004811115611d2157611d21612a79565b1415611d955760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016104ec565b6004816004811115611da957611da9612a79565b1415611e1d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016104ec565b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611e575750600090506003611f11565b8460ff16601b14158015611e6f57508460ff16601c14155b15611e805750600090506004611f11565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611ed4573d6000803e3d6000fd5b5050604051601f19015191505073ffffffffffffffffffffffffffffffffffffffff8116611f0a57600060019250925050611f11565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b01611f5487828885611e20565b935093505050935093915050565b828054611f6e90612990565b90600052602060002090601f016020900481019282611f905760008555611fd6565b82601f10611fa957805160ff1916838001178555611fd6565b82800160010185558215611fd6579182015b82811115611fd6578251825591602001919060010190611fbb565b50611fe2929150611fe6565b5090565b5b80821115611fe25760008155600101611fe7565b600067ffffffffffffffff83111561201557612015612ad7565b60405161202c6020601f19601f87011601826129e4565b80915083815284848401111561204157600080fd5b83836020830137600060208583010152509392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461207d57600080fd5b919050565b600082601f83011261209357600080fd5b813560206120a082612870565b6040516120ad82826129e4565b8381528281019150858301600585901b870184018810156120cd57600080fd5b60005b858110156120f3576120e182612059565b845292840192908401906001016120d0565b5090979650505050505050565b600082601f83011261211157600080fd5b8135602061211e82612870565b60405161212b82826129e4565b8381528281019150858301600585901b8701840188101561214b57600080fd5b60005b858110156120f35781358452928401929084019060010161214e565b8035801515811461207d57600080fd5b600082601f83011261218b57600080fd5b61219a83833560208501611ffb565b9392505050565b6000602082840312156121b357600080fd5b61219a82612059565b600080604083850312156121cf57600080fd5b6121d883612059565b91506121e660208401612059565b90509250929050565b600080600080600060a0868803121561220757600080fd5b61221086612059565b945061221e60208701612059565b9350604086013567ffffffffffffffff8082111561223b57600080fd5b61224789838a01612100565b9450606088013591508082111561225d57600080fd5b61226989838a01612100565b9350608088013591508082111561227f57600080fd5b5061228c8882890161217a565b9150509295509295909350565b600080600080600060a086880312156122b157600080fd5b6122ba86612059565b94506122c860208701612059565b93506040860135925060608601359150608086013567ffffffffffffffff8111156122f257600080fd5b61228c8882890161217a565b6000806040838503121561231157600080fd5b61231a83612059565b91506121e66020840161216a565b6000806040838503121561233b57600080fd5b61234483612059565b946020939093013593505050565b6000806000806080858703121561236857600080fd5b61237185612059565b9350602085013592506123866040860161216a565b9396929550929360600135925050565b600080604083850312156123a957600080fd5b823567ffffffffffffffff808211156123c157600080fd5b6123cd86838701612082565b935060208501359150808211156123e357600080fd5b506123f085828601612100565b9150509250929050565b6000806000806080858703121561241057600080fd5b843567ffffffffffffffff8082111561242857600080fd5b61243488838901612082565b9550602087013591508082111561244a57600080fd5b61245688838901612100565b9450604087013591508082111561246c57600080fd5b61247888838901612100565b9350606087013591508082111561248e57600080fd5b5061249b8782880161217a565b91505092959194509250565b6000602082840312156124b957600080fd5b5035919050565b600080604083850312156124d357600080fd5b82359150602083013567ffffffffffffffff8111156124f157600080fd5b6123f08582860161217a565b60006020828403121561250f57600080fd5b813561219a81612bca565b60006020828403121561252c57600080fd5b815161219a81612bca565b60006020828403121561254957600080fd5b813567ffffffffffffffff81111561256057600080fd5b8201601f8101841361257157600080fd5b61258084823560208401611ffb565b949350505050565b6000806000806080858703121561259e57600080fd5b843593506125ae6020860161216a565b925060408501359150606085013567ffffffffffffffff8111156125d157600080fd5b61249b8782880161217a565b600081518084526020808501945080840160005b8381101561260d578151875295820195908201906001016125f1565b509495945050505050565b60008151808452612630816020860160208601612960565b601f01601f19169290920160200192915050565b60008151612656818560208601612960565b9290920192915050565b600080845481600182811c91508083168061267c57607f831692505b60208084108214156126b5577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156126c957600181146126f857612725565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650612725565b60008b81526020902060005b8681101561271d5781548b820152908501908301612704565b505084890196505b5050505050506127616127388286612644565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a060408301526127a360a08301866125dd565b82810360608401526127b581866125dd565b905082810360808401526127c98185612618565b98975050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a0608083015261281a60a0830184612618565b979650505050505050565b60208152600061219a60208301846125dd565b60408152600061284b60408301856125dd565b828103602084015261276181856125dd565b60208152600061219a6020830184612618565b600067ffffffffffffffff82111561288a5761288a612ad7565b5060051b60200190565b600082198211156128a7576128a7612a4a565b500190565b600060ff821660ff84168060ff038211156128c9576128c9612a4a565b019392505050565b600082612907577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561294457612944612a4a565b500290565b60008282101561295b5761295b612a4a565b500390565b60005b8381101561297b578181015183820152602001612963565b8381111561298a576000848401525b50505050565b600181811c908216806129a457607f821691505b602082108114156129de577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f19601f830116810181811067ffffffffffffffff82111715612a0a57612a0a612ad7565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612a4357612a43612a4a565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115612b1f5760046000803e5060005160e01c5b90565b600060443d1015612b305790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715612b7e57505050505090565b8285019150815181811115612b965750505050505090565b843d8701016020828501011115612bb05750505050505090565b612bbf602082860101876129e4565b509095945050505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611e1d57600080fdfea264697066735822122043c77ee726509dcc887292a29064f78034c1b6cc310705d00979abf82769fadd64736f6c63430008070033000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001b4a524e5920436c75622052657761726420436f6c6c656374696f6e0000000000000000000000000000000000000000000000000000000000000000000000000b4a524e59524557415244530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d564a673557385a5941434a4a59704c566f4663565869643459473343345a46394471504e41627a70455641502f00000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106101815760003560e01c8063955c20b2116100d8578063d87b90d21161008c578063ed1261ba11610066578063ed1261ba146103fa578063f242432a1461040d578063f851a4401461042057600080fd5b8063d87b90d214610326578063e0f4ea901461039e578063e985e9c5146103b157600080fd5b8063a12ee7ba116100bd578063a12ee7ba1461029b578063a22cb465146102ae578063a5848ee1146102c157600080fd5b8063955c20b21461028057806395d89b411461029357600080fd5b8063392f37e91161013a57806385a318e11161011457806385a318e1146102475780638f2839701461025a578063918b5be11461026d57600080fd5b8063392f37e91461020c5780634e1273f4146102145780636613d13a1461023457600080fd5b806306fdde031161016b57806306fdde03146101cf5780630e89341c146101e45780632eb2c2d6146101f757600080fd5b8062fdd58e1461018657806301ffc9a7146101ac575b600080fd5b610199610194366004612328565b610465565b6040519081526020015b60405180910390f35b6101bf6101ba3660046124fd565b610528565b60405190151581526020016101a3565b6101d7610539565b6040516101a3919061285d565b6101d76101f23660046124a7565b6105c7565b61020a6102053660046121ef565b6105fb565b005b6101d76106aa565b610227610222366004612396565b6106b7565b6040516101a39190612825565b61020a6102423660046121a1565b6107f5565b61020a610255366004612588565b6108a3565b61020a6102683660046121a1565b6109f3565b61020a61027b366004612537565b610aa1565b61019961028e3660046124a7565b610b41565b6101d7610b9a565b61020a6102a93660046121a1565b610ba7565b61020a6102bc3660046122fe565b610c55565b6101996102cf366004612352565b6040805173ffffffffffffffffffffffffffffffffffffffff959095166020808701919091528582019490945291151560608501526080808501919091528151808503909101815260a09093019052815191012090565b6101bf610334366004612352565b6040805173ffffffffffffffffffffffffffffffffffffffff959095166020808701919091528582019490945291151560608501526080808501919091528151808503909101815260a0909301815282519282019290922060009081526007909152205460ff1690565b6101bf6103ac3660046124c0565b610d78565b6101bf6103bf3660046121bc565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260016020908152604080832093909416825291909152205460ff1690565b61020a6104083660046123fa565b610da9565b61020a61041b366004612299565b610e85565b6003546104409073ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff90911681526020016101a3565b600073ffffffffffffffffffffffffffffffffffffffff83166104f55760405162461bcd60e51b815260206004820152602b60248201527f455243313135353a2062616c616e636520717565727920666f7220746865207a60448201527f65726f206164647265737300000000000000000000000000000000000000000060648201526084015b60405180910390fd5b5060009081526020818152604080832073ffffffffffffffffffffffffffffffffffffffff949094168352929052205490565b600061053382610f2d565b92915050565b6004805461054690612990565b80601f016020809104026020016040519081016040528092919081815260200182805461057290612990565b80156105bf5780601f10610594576101008083540402835291602001916105bf565b820191906000526020600020905b8154815290600101906020018083116105a257829003601f168201915b505050505081565b606060066105d483611010565b6040516020016105e5929190612660565b6040516020818303038152906040529050919050565b73ffffffffffffffffffffffffffffffffffffffff8516331480610624575061062485336103bf565b6106965760405162461bcd60e51b815260206004820152603260248201527f455243313135353a207472616e736665722063616c6c6572206973206e6f742060448201527f6f776e6572206e6f7220617070726f766564000000000000000000000000000060648201526084016104ec565b6106a3858585858561116d565b5050505050565b6006805461054690612990565b606081518351146107305760405162461bcd60e51b815260206004820152602960248201527f455243313135353a206163636f756e747320616e6420696473206c656e67746860448201527f206d69736d61746368000000000000000000000000000000000000000000000060648201526084016104ec565b6000835167ffffffffffffffff81111561074c5761074c612ad7565b604051908082528060200260200182016040528015610775578160200160208202803683370190505b50905060005b84518110156107ed576107c085828151811061079957610799612aa8565b60200260200101518583815181106107b3576107b3612aa8565b6020026020010151610465565b8282815181106107d2576107d2612aa8565b60209081029190910101526107e681612a11565b905061077b565b509392505050565b60035473ffffffffffffffffffffffffffffffffffffffff16331461085c5760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064016104ec565b600880547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b6040805133602080830191909152818301879052851515606083015260808083018690528351808403909101815260a09092018352815191810191909120600081815260079092529190205460ff161561093f5760405162461bcd60e51b815260206004820152601460248201527f546f6b656e20616c7265616479206d696e74656400000000000000000000000060448201526064016104ec565b61095161094b82610b41565b83610d78565b61099d5760405162461bcd60e51b815260206004820152601260248201527f5369676e6174757265206d69736d61746368000000000000000000000000000060448201526064016104ec565b600081815260076020908152604080832080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016600190811790915581519283019091529181526106a3913391889190611459565b60035473ffffffffffffffffffffffffffffffffffffffff163314610a5a5760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064016104ec565b600380547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b60035473ffffffffffffffffffffffffffffffffffffffff16331480610ade575060095473ffffffffffffffffffffffffffffffffffffffff1633145b610b2a5760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064016104ec565b8051610b3d906006906020840190611f62565b5050565b6000610533826040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b6005805461054690612990565b60035473ffffffffffffffffffffffffffffffffffffffff163314610c0e5760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064016104ec565b600980547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff92909216919091179055565b3373ffffffffffffffffffffffffffffffffffffffff83161415610ce15760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2073657474696e6720617070726f76616c2073746174757360448201527f20666f722073656c66000000000000000000000000000000000000000000000060648201526084016104ec565b33600081815260016020908152604080832073ffffffffffffffffffffffffffffffffffffffff87168085529083529281902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001686151590811790915590519081529192917f17307eab39ab6107e8899845ad3d59bd9653f200f220920489ca2b5937696c31910160405180910390a35050565b6000610d8483836115a6565b60085473ffffffffffffffffffffffffffffffffffffffff9182169116149392505050565b60035473ffffffffffffffffffffffffffffffffffffffff163314610e105760405162461bcd60e51b815260206004820152600b60248201527f4e6f7420616c6c6f77656400000000000000000000000000000000000000000060448201526064016104ec565b60005b84518110156106a357610e73858281518110610e3157610e31612aa8565b6020026020010151858381518110610e4b57610e4b612aa8565b6020026020010151858481518110610e6557610e65612aa8565b602002602001015185611459565b80610e7d81612a11565b915050610e13565b73ffffffffffffffffffffffffffffffffffffffff8516331480610eae5750610eae85336103bf565b610f205760405162461bcd60e51b815260206004820152602960248201527f455243313135353a2063616c6c6572206973206e6f74206f776e6572206e6f7260448201527f20617070726f766564000000000000000000000000000000000000000000000060648201526084016104ec565b6106a385858585856115c2565b60007fffffffff0000000000000000000000000000000000000000000000000000000082167fd9b67a26000000000000000000000000000000000000000000000000000000001480610fc057507fffffffff0000000000000000000000000000000000000000000000000000000082167f0e89341c00000000000000000000000000000000000000000000000000000000145b8061053357507f01ffc9a7000000000000000000000000000000000000000000000000000000007fffffffff00000000000000000000000000000000000000000000000000000000831614610533565b60608161105057505060408051808201909152600181527f3000000000000000000000000000000000000000000000000000000000000000602082015290565b8160005b811561107a578061106481612a11565b91506110739050600a836128d1565b9150611054565b60008167ffffffffffffffff81111561109557611095612ad7565b6040519080825280601f01601f1916602001820160405280156110bf576020820181803683370190505b509050815b8515611164576110d5600182612949565b905060006110e4600a886128d1565b6110ef90600a61290c565b6110f99088612949565b6111049060306128ac565b905060008160f81b90508084848151811061112157611121612aa8565b60200101907effffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff1916908160001a90535061115b600a896128d1565b975050506110c4565b50949350505050565b81518351146111e45760405162461bcd60e51b815260206004820152602860248201527f455243313135353a2069647320616e6420616d6f756e7473206c656e6774682060448201527f6d69736d6174636800000000000000000000000000000000000000000000000060648201526084016104ec565b73ffffffffffffffffffffffffffffffffffffffff841661126d5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104ec565b3360005b84518110156113c457600085828151811061128e5761128e612aa8565b6020026020010151905060008583815181106112ac576112ac612aa8565b6020908102919091018101516000848152808352604080822073ffffffffffffffffffffffffffffffffffffffff8e16835290935291909120549091508181101561135f5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016104ec565b60008381526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8e8116855292528083208585039055908b168252812080548492906113a9908490612894565b92505081905550505050806113bd90612a11565b9050611271565b508473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167f4a39dc06d4c0dbc64b70af90fd698a233a518aa5d07e595d983b8c0526c8f7fb878760405161143b929190612838565b60405180910390a46114518187878787876117bf565b505050505050565b73ffffffffffffffffffffffffffffffffffffffff84166114e25760405162461bcd60e51b815260206004820152602160248201527f455243313135353a206d696e7420746f20746865207a65726f2061646472657360448201527f730000000000000000000000000000000000000000000000000000000000000060648201526084016104ec565b336114fc816000876114f3886119ed565b6106a3886119ed565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8916845290915281208054859290611539908490612894565b9091555050604080518581526020810185905273ffffffffffffffffffffffffffffffffffffffff80881692600092918516917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46106a381600087878787611a38565b60008060006115b58585611bbc565b915091506107ed81611c2c565b73ffffffffffffffffffffffffffffffffffffffff841661164b5760405162461bcd60e51b815260206004820152602560248201527f455243313135353a207472616e7366657220746f20746865207a65726f20616460448201527f647265737300000000000000000000000000000000000000000000000000000060648201526084016104ec565b3361165b8187876114f3886119ed565b60008481526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8a168452909152902054838110156116ff5760405162461bcd60e51b815260206004820152602a60248201527f455243313135353a20696e73756666696369656e742062616c616e636520666f60448201527f72207472616e736665720000000000000000000000000000000000000000000060648201526084016104ec565b60008581526020818152604080832073ffffffffffffffffffffffffffffffffffffffff8b8116855292528083208785039055908816825281208054869290611749908490612894565b9091555050604080518681526020810186905273ffffffffffffffffffffffffffffffffffffffff808916928a821692918616917fc3d58168c5ae7397731d063d5bbf3d657854427343f4c083240f7aacaa2d0f62910160405180910390a46117b6828888888888611a38565b50505050505050565b73ffffffffffffffffffffffffffffffffffffffff84163b15611451576040517fbc197c8100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063bc197c8190611836908990899088908890889060040161276a565b602060405180830381600087803b15801561185057600080fd5b505af1925050508015611880575060408051601f3d908101601f1916820190925261187d9181019061251a565b60015b6119365761188c612b06565b806308c379a014156118c657506118a1612b22565b806118ac57506118c8565b8060405162461bcd60e51b81526004016104ec919061285d565b505b60405162461bcd60e51b815260206004820152603460248201527f455243313135353a207472616e7366657220746f206e6f6e204552433131353560448201527f526563656976657220696d706c656d656e74657200000000000000000000000060648201526084016104ec565b7fffffffff0000000000000000000000000000000000000000000000000000000081167fbc197c8100000000000000000000000000000000000000000000000000000000146117b65760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016104ec565b60408051600180825281830190925260609160009190602080830190803683370190505090508281600081518110611a2757611a27612aa8565b602090810291909101015292915050565b73ffffffffffffffffffffffffffffffffffffffff84163b15611451576040517ff23a6e6100000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85169063f23a6e6190611aaf90899089908890889088906004016127d5565b602060405180830381600087803b158015611ac957600080fd5b505af1925050508015611af9575060408051601f3d908101601f19168201909252611af69181019061251a565b60015b611b055761188c612b06565b7fffffffff0000000000000000000000000000000000000000000000000000000081167ff23a6e6100000000000000000000000000000000000000000000000000000000146117b65760405162461bcd60e51b815260206004820152602860248201527f455243313135353a204552433131353552656365697665722072656a6563746560448201527f6420746f6b656e7300000000000000000000000000000000000000000000000060648201526084016104ec565b600080825160411415611bf35760208301516040840151606085015160001a611be787828585611e20565b94509450505050611c25565b825160401415611c1d5760208301516040840151611c12868383611f1a565b935093505050611c25565b506000905060025b9250929050565b6000816004811115611c4057611c40612a79565b1415611c495750565b6001816004811115611c5d57611c5d612a79565b1415611cab5760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e6174757265000000000000000060448201526064016104ec565b6002816004811115611cbf57611cbf612a79565b1415611d0d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016104ec565b6003816004811115611d2157611d21612a79565b1415611d955760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016104ec565b6004816004811115611da957611da9612a79565b1415611e1d5760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c60448201527f756500000000000000000000000000000000000000000000000000000000000060648201526084016104ec565b50565b6000807f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a0831115611e575750600090506003611f11565b8460ff16601b14158015611e6f57508460ff16601c14155b15611e805750600090506004611f11565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015611ed4573d6000803e3d6000fd5b5050604051601f19015191505073ffffffffffffffffffffffffffffffffffffffff8116611f0a57600060019250925050611f11565b9150600090505b94509492505050565b6000807f7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff831660ff84901c601b01611f5487828885611e20565b935093505050935093915050565b828054611f6e90612990565b90600052602060002090601f016020900481019282611f905760008555611fd6565b82601f10611fa957805160ff1916838001178555611fd6565b82800160010185558215611fd6579182015b82811115611fd6578251825591602001919060010190611fbb565b50611fe2929150611fe6565b5090565b5b80821115611fe25760008155600101611fe7565b600067ffffffffffffffff83111561201557612015612ad7565b60405161202c6020601f19601f87011601826129e4565b80915083815284848401111561204157600080fd5b83836020830137600060208583010152509392505050565b803573ffffffffffffffffffffffffffffffffffffffff8116811461207d57600080fd5b919050565b600082601f83011261209357600080fd5b813560206120a082612870565b6040516120ad82826129e4565b8381528281019150858301600585901b870184018810156120cd57600080fd5b60005b858110156120f3576120e182612059565b845292840192908401906001016120d0565b5090979650505050505050565b600082601f83011261211157600080fd5b8135602061211e82612870565b60405161212b82826129e4565b8381528281019150858301600585901b8701840188101561214b57600080fd5b60005b858110156120f35781358452928401929084019060010161214e565b8035801515811461207d57600080fd5b600082601f83011261218b57600080fd5b61219a83833560208501611ffb565b9392505050565b6000602082840312156121b357600080fd5b61219a82612059565b600080604083850312156121cf57600080fd5b6121d883612059565b91506121e660208401612059565b90509250929050565b600080600080600060a0868803121561220757600080fd5b61221086612059565b945061221e60208701612059565b9350604086013567ffffffffffffffff8082111561223b57600080fd5b61224789838a01612100565b9450606088013591508082111561225d57600080fd5b61226989838a01612100565b9350608088013591508082111561227f57600080fd5b5061228c8882890161217a565b9150509295509295909350565b600080600080600060a086880312156122b157600080fd5b6122ba86612059565b94506122c860208701612059565b93506040860135925060608601359150608086013567ffffffffffffffff8111156122f257600080fd5b61228c8882890161217a565b6000806040838503121561231157600080fd5b61231a83612059565b91506121e66020840161216a565b6000806040838503121561233b57600080fd5b61234483612059565b946020939093013593505050565b6000806000806080858703121561236857600080fd5b61237185612059565b9350602085013592506123866040860161216a565b9396929550929360600135925050565b600080604083850312156123a957600080fd5b823567ffffffffffffffff808211156123c157600080fd5b6123cd86838701612082565b935060208501359150808211156123e357600080fd5b506123f085828601612100565b9150509250929050565b6000806000806080858703121561241057600080fd5b843567ffffffffffffffff8082111561242857600080fd5b61243488838901612082565b9550602087013591508082111561244a57600080fd5b61245688838901612100565b9450604087013591508082111561246c57600080fd5b61247888838901612100565b9350606087013591508082111561248e57600080fd5b5061249b8782880161217a565b91505092959194509250565b6000602082840312156124b957600080fd5b5035919050565b600080604083850312156124d357600080fd5b82359150602083013567ffffffffffffffff8111156124f157600080fd5b6123f08582860161217a565b60006020828403121561250f57600080fd5b813561219a81612bca565b60006020828403121561252c57600080fd5b815161219a81612bca565b60006020828403121561254957600080fd5b813567ffffffffffffffff81111561256057600080fd5b8201601f8101841361257157600080fd5b61258084823560208401611ffb565b949350505050565b6000806000806080858703121561259e57600080fd5b843593506125ae6020860161216a565b925060408501359150606085013567ffffffffffffffff8111156125d157600080fd5b61249b8782880161217a565b600081518084526020808501945080840160005b8381101561260d578151875295820195908201906001016125f1565b509495945050505050565b60008151808452612630816020860160208601612960565b601f01601f19169290920160200192915050565b60008151612656818560208601612960565b9290920192915050565b600080845481600182811c91508083168061267c57607f831692505b60208084108214156126b5577f4e487b710000000000000000000000000000000000000000000000000000000086526022600452602486fd5b8180156126c957600181146126f857612725565b7fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00861689528489019650612725565b60008b81526020902060005b8681101561271d5781548b820152908501908301612704565b505084890196505b5050505050506127616127388286612644565b7f2e6a736f6e000000000000000000000000000000000000000000000000000000815260050190565b95945050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525060a060408301526127a360a08301866125dd565b82810360608401526127b581866125dd565b905082810360808401526127c98185612618565b98975050505050505050565b600073ffffffffffffffffffffffffffffffffffffffff808816835280871660208401525084604083015283606083015260a0608083015261281a60a0830184612618565b979650505050505050565b60208152600061219a60208301846125dd565b60408152600061284b60408301856125dd565b828103602084015261276181856125dd565b60208152600061219a6020830184612618565b600067ffffffffffffffff82111561288a5761288a612ad7565b5060051b60200190565b600082198211156128a7576128a7612a4a565b500190565b600060ff821660ff84168060ff038211156128c9576128c9612a4a565b019392505050565b600082612907577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff048311821515161561294457612944612a4a565b500290565b60008282101561295b5761295b612a4a565b500390565b60005b8381101561297b578181015183820152602001612963565b8381111561298a576000848401525b50505050565b600181811c908216806129a457607f821691505b602082108114156129de577f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b50919050565b601f19601f830116810181811067ffffffffffffffff82111715612a0a57612a0a612ad7565b6040525050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff821415612a4357612a43612a4a565b5060010190565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600060033d1115612b1f5760046000803e5060005160e01c5b90565b600060443d1015612b305790565b6040517ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc803d016004833e81513d67ffffffffffffffff8160248401118184111715612b7e57505050505090565b8285019150815181811115612b965750505050505090565b843d8701016020828501011115612bb05750505050505090565b612bbf602082860101876129e4565b509095945050505050565b7fffffffff0000000000000000000000000000000000000000000000000000000081168114611e1d57600080fdfea264697066735822122043c77ee726509dcc887292a29064f78034c1b6cc310705d00979abf82769fadd64736f6c63430008070033

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

000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e0000000000000000000000000000000000000000000000000000000000000001b4a524e5920436c75622052657761726420436f6c6c656374696f6e0000000000000000000000000000000000000000000000000000000000000000000000000b4a524e59524557415244530000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000036697066733a2f2f516d564a673557385a5941434a4a59704c566f4663565869643459473343345a46394471504e41627a70455641502f00000000000000000000

-----Decoded View---------------
Arg [0] : _name (string): JRNY Club Reward Collection
Arg [1] : _symbol (string): JRNYREWARDS
Arg [2] : _metadata (string): ipfs://QmVJg5W8ZYACJJYpLVoFcVXid4YG3C4ZF9DqPNAbzpEVAP/

-----Encoded View---------------
10 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000060
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [2] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [3] : 000000000000000000000000000000000000000000000000000000000000001b
Arg [4] : 4a524e5920436c75622052657761726420436f6c6c656374696f6e0000000000
Arg [5] : 000000000000000000000000000000000000000000000000000000000000000b
Arg [6] : 4a524e5952455741524453000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000036
Arg [8] : 697066733a2f2f516d564a673557385a5941434a4a59704c566f466356586964
Arg [9] : 3459473343345a46394471504e41627a70455641502f00000000000000000000


Deployed Bytecode Sourcemap

56640:3593:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43344:231;;;;;;:::i;:::-;;:::i;:::-;;;15506:25:1;;;15494:2;15479:18;43344:231:0;;;;;;;;58394:212;;;;;;:::i;:::-;;:::i;:::-;;;15333:14:1;;15326:22;15308:41;;15296:2;15281:18;58394:212:0;15168:187:1;56709:18:0;;;:::i;:::-;;;;;;;:::i;58231:155::-;;;;;;:::i;:::-;;:::i;45439:442::-;;;;;;:::i;:::-;;:::i;:::-;;56761:22;;;:::i;43741:524::-;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;59550:99::-;;;;;;:::i;:::-;;:::i;57314:417::-;;;;;;:::i;:::-;;:::i;59457:87::-;;;;;;:::i;:::-;;:::i;58049:174::-;;;;;;:::i;:::-;;:::i;59060:120::-;;;;;;:::i;:::-;;:::i;56734:20::-;;;:::i;59344:107::-;;;;;;:::i;:::-;;:::i;44338:311::-;;;;;;:::i;:::-;;:::i;58832:219::-;;;;;;:::i;:::-;58981:44;;;14232:42:1;14220:55;;;;58981:44:0;;;;14202:74:1;;;;14292:18;;;14285:34;;;;14362:14;;14355:22;14335:18;;;14328:50;14394:18;;;;14387:34;;;;58981:44:0;;;;;;;;;;14174:19:1;;;;58981:44:0;;58971:55;;;;;;58832:219;58618:202;;;;;;:::i;:::-;58765:44;;;14232:42:1;14220:55;;;;58765:44:0;;;;14202:74:1;;;;14292:18;;;14285:34;;;;14362:14;;14355:22;14335:18;;;14328:50;14394:18;;;;14387:34;;;;58765:44:0;;;;;;;;;;14174:19:1;;;;58765:44:0;;58755:55;;;;;;;;;-1:-1:-1;58743:69:0;;;:6;:69;;;;;;;;58618:202;59185:151;;;;;;:::i;:::-;;:::i;44721:168::-;;;;;;:::i;:::-;44844:27;;;;44820:4;44844:27;;;:18;:27;;;;;;;;:37;;;;;;;;;;;;;;;44721:168;57739:302;;;;;;:::i;:::-;;:::i;44961:401::-;;;;;;:::i;:::-;;:::i;56682:20::-;;;;;;;;;;;;12480:42:1;12468:55;;;12450:74;;12438:2;12423:18;56682:20:0;12304:226:1;43344:231:0;43430:7;43458:21;;;43450:77;;;;-1:-1:-1;;;43450:77:0;;18263:2:1;43450:77:0;;;18245:21:1;18302:2;18282:18;;;18275:30;18341:34;18321:18;;;18314:62;18412:13;18392:18;;;18385:41;18443:19;;43450:77:0;;;;;;;;;-1:-1:-1;43545:9:0;:13;;;;;;;;;;;:22;;;;;;;;;;;;;43344:231::o;58394:212::-;58533:4;58562:36;58586:11;58562:23;:36::i;:::-;58555:43;58394:212;-1:-1:-1;;58394:212:0:o;56709:18::-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;58231:155::-;58287:13;58344:8;58354:13;58363:3;58354:8;:13::i;:::-;58327:50;;;;;;;;;:::i;:::-;;;;;;;;;;;;;58313:65;;58231:155;;;:::o;45439:442::-;45672:20;;;11204:10;45672:20;;:60;;-1:-1:-1;45696:36:0;45713:4;11204:10;44721:168;:::i;45696:36::-;45650:160;;;;-1:-1:-1;;;45650:160:0;;19894:2:1;45650:160:0;;;19876:21:1;19933:2;19913:18;;;19906:30;19972:34;19952:18;;;19945:62;20043:20;20023:18;;;20016:48;20081:19;;45650:160:0;19692:414:1;45650:160:0;45821:52;45844:4;45850:2;45854:3;45859:7;45868:4;45821:22;:52::i;:::-;45439:442;;;;;:::o;56761:22::-;;;;;;;:::i;43741:524::-;43897:16;43958:3;:10;43939:8;:15;:29;43931:83;;;;-1:-1:-1;;;43931:83:0;;22224:2:1;43931:83:0;;;22206:21:1;22263:2;22243:18;;;22236:30;22302:34;22282:18;;;22275:62;22373:11;22353:18;;;22346:39;22402:19;;43931:83:0;22022:405:1;43931:83:0;44027:30;44074:8;:15;44060:30;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;44060:30:0;;44027:63;;44108:9;44103:122;44127:8;:15;44123:1;:19;44103:122;;;44183:30;44193:8;44202:1;44193:11;;;;;;;;:::i;:::-;;;;;;;44206:3;44210:1;44206:6;;;;;;;;:::i;:::-;;;;;;;44183:9;:30::i;:::-;44164:13;44178:1;44164:16;;;;;;;;:::i;:::-;;;;;;;;;;:49;44144:3;;;:::i;:::-;;;44103:122;;;-1:-1:-1;44244:13:0;43741:524;-1:-1:-1;;;43741:524:0:o;59550:99::-;56998:5;;:19;:5;57007:10;56998:19;56990:43;;;;-1:-1:-1;;;56990:43:0;;21474:2:1;56990:43:0;;;21456:21:1;21513:2;21493:18;;;21486:30;21552:13;21532:18;;;21525:41;21583:18;;56990:43:0;21272:335:1;56990:43:0;59626:6:::1;:18:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;59550:99::o;57314:417::-;58981:44;;;57452:10;58981:44;;;;14202:74:1;;;;14292:18;;;14285:34;;;14362:14;;14355:22;14335:18;;;14328:50;14394:18;;;;14387:34;;;58981:44:0;;;;;;;;;;14174:19:1;;;;58981:44:0;;58971:55;;;;;;;;;-1:-1:-1;57508:18:0;;;:6;:18;;;;;;;;;57507:19;57499:52;;;;-1:-1:-1;;;57499:52:0;;17914:2:1;57499:52:0;;;17896:21:1;17953:2;17933:18;;;17926:30;17992:22;17972:18;;;17965:50;18032:18;;57499:52:0;17712:344:1;57499:52:0;57570:51;57587:21;57603:4;57587:15;:21::i;:::-;57610:10;57570:16;:51::i;:::-;57562:82;;;;-1:-1:-1;;;57562:82:0;;21127:2:1;57562:82:0;;;21109:21:1;21166:2;21146:18;;;21139:30;21205:20;21185:18;;;21178:48;21243:18;;57562:82:0;20925:342:1;57562:82:0;57655:18;;;;:6;:18;;;;;;;;:25;;;;57676:4;57655:25;;;;;;57691:32;;;;;;;;;;;;;57697:10;;57709:6;;57676:4;57691:5;:32::i;59457:87::-;56998:5;;:19;:5;57007:10;56998:19;56990:43;;;;-1:-1:-1;;;56990:43:0;;21474:2:1;56990:43:0;;;21456:21:1;21513:2;21493:18;;;21486:30;21552:13;21532:18;;;21525:41;21583:18;;56990:43:0;21272:335:1;56990:43:0;59523:5:::1;:16:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;59457:87::o;58049:174::-;58135:5;;;;58121:10;:19;;:47;;-1:-1:-1;58158:10:0;;;;58144;:24;58121:47;58112:72;;;;-1:-1:-1;;;58112:72:0;;21474:2:1;58112:72:0;;;21456:21:1;21513:2;21493:18;;;21486:30;21552:13;21532:18;;;21525:41;21583:18;;58112:72:0;21272:335:1;58112:72:0;58195:20;;;;:8;;:20;;;;;:::i;:::-;;58049:174;:::o;59060:120::-;59121:7;59145:30;:5;9964:58;;12161:66:1;9964:58:0;;;12149:79:1;12244:12;;;12237:28;;;9831:7:0;;12281:12:1;;9964:58:0;;;;;;;;;;;;9954:69;;;;;;9947:76;;9762:269;;;;56734:20;;;;;;;:::i;59344:107::-;56998:5;;:19;:5;57007:10;56998:19;56990:43;;;;-1:-1:-1;;;56990:43:0;;21474:2:1;56990:43:0;;;21456:21:1;21513:2;21493:18;;;21486:30;21552:13;21532:18;;;21525:41;21583:18;;56990:43:0;21272:335:1;56990:43:0;59420:10:::1;:23:::0;;;::::1;;::::0;;;::::1;::::0;;;::::1;::::0;;59344:107::o;44338:311::-;11204:10;44441:24;;;;;44433:78;;;;-1:-1:-1;;;44433:78:0;;21814:2:1;44433:78:0;;;21796:21:1;21853:2;21833:18;;;21826:30;21892:34;21872:18;;;21865:62;21963:11;21943:18;;;21936:39;21992:19;;44433:78:0;21612:405:1;44433:78:0;11204:10;44524:32;;;;:18;:32;;;;;;;;;:42;;;;;;;;;;;;:53;;;;;;;;;;;;;44593:48;;15308:41:1;;;44524:42:0;;11204:10;44593:48;;15281:18:1;44593:48:0;;;;;;;44338:311;;:::o;59185:151::-;59275:4;59303:28;:8;59320:10;59303:16;:28::i;:::-;59293:6;;:38;;;;:6;;:38;;59185:151;-1:-1:-1;;;59185:151:0:o;57739:302::-;56998:5;;:19;:5;57007:10;56998:19;56990:43;;;;-1:-1:-1;;;56990:43:0;;21474:2:1;56990:43:0;;;21456:21:1;21513:2;21493:18;;;21486:30;21552:13;21532:18;;;21525:41;21583:18;;56990:43:0;21272:335:1;56990:43:0;57930:9:::1;57925:109;57949:3;:10;57945:1;:14;57925:109;;;57981:41;57987:3;57991:1;57987:6;;;;;;;;:::i;:::-;;;;;;;57995:4;58000:1;57995:7;;;;;;;;:::i;:::-;;;;;;;58004;58012:1;58004:10;;;;;;;;:::i;:::-;;;;;;;58016:5;57981;:41::i;:::-;57961:3:::0;::::1;::::0;::::1;:::i;:::-;;;;57925:109;;44961:401:::0;45169:20;;;11204:10;45169:20;;:60;;-1:-1:-1;45193:36:0;45210:4;11204:10;44721:168;:::i;45193:36::-;45147:151;;;;-1:-1:-1;;;45147:151:0;;18675:2:1;45147:151:0;;;18657:21:1;18714:2;18694:18;;;18687:30;18753:34;18733:18;;;18726:62;18824:11;18804:18;;;18797:39;18853:19;;45147:151:0;18473:405:1;45147:151:0;45309:45;45327:4;45333:2;45337;45341:6;45349:4;45309:17;:45::i;42367:310::-;42469:4;42506:41;;;42521:26;42506:41;;:110;;-1:-1:-1;42564:52:0;;;42579:37;42564:52;42506:110;:163;;;-1:-1:-1;1634:25:0;1619:40;;;;42633:36;1510:157;59657:573;59707:27;59751:7;59747:50;;-1:-1:-1;;59775:10:0;;;;;;;;;;;;;;;;;;59657:573::o;59747:50::-;59816:2;59807:6;59848:69;59855:6;;59848:69;;59878:5;;;;:::i;:::-;;-1:-1:-1;59898:7:0;;-1:-1:-1;59903:2:0;59898:7;;:::i;:::-;;;59848:69;;;59927:17;59957:3;59947:14;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;59947:14:0;-1:-1:-1;59927:34:0;-1:-1:-1;59981:3:0;59995:198;60002:7;;59995:198;;60030:3;60032:1;60030;:3;:::i;:::-;60026:7;-1:-1:-1;60048:10:0;60078:7;60083:2;60078;:7;:::i;:::-;:12;;60088:2;60078:12;:::i;:::-;60073:17;;:2;:17;:::i;:::-;60062:29;;:2;:29;:::i;:::-;60048:44;;60107:9;60126:4;60119:12;;60107:24;;60156:2;60146:4;60151:1;60146:7;;;;;;;;:::i;:::-;;;;:12;;;;;;;;;;-1:-1:-1;60173:8:0;60179:2;60173:8;;:::i;:::-;;;60011:182;;59995:198;;;-1:-1:-1;60217:4:0;59657:573;-1:-1:-1;;;;59657:573:0:o;47523:1074::-;47750:7;:14;47736:3;:10;:28;47728:81;;;;-1:-1:-1;;;47728:81:0;;22634:2:1;47728:81:0;;;22616:21:1;22673:2;22653:18;;;22646:30;22712:34;22692:18;;;22685:62;22783:10;22763:18;;;22756:38;22811:19;;47728:81:0;22432:404:1;47728:81:0;47828:16;;;47820:66;;;;-1:-1:-1;;;47820:66:0;;19488:2:1;47820:66:0;;;19470:21:1;19527:2;19507:18;;;19500:30;19566:34;19546:18;;;19539:62;19637:7;19617:18;;;19610:35;19662:19;;47820:66:0;19286:401:1;47820:66:0;11204:10;47899:16;48016:421;48040:3;:10;48036:1;:14;48016:421;;;48072:10;48085:3;48089:1;48085:6;;;;;;;;:::i;:::-;;;;;;;48072:19;;48106:14;48123:7;48131:1;48123:10;;;;;;;;:::i;:::-;;;;;;;;;;;;48150:19;48172:13;;;;;;;;;;:19;;;;;;;;;;;;;48123:10;;-1:-1:-1;48214:21:0;;;;48206:76;;;;-1:-1:-1;;;48206:76:0;;20716:2:1;48206:76:0;;;20698:21:1;20755:2;20735:18;;;20728:30;20794:34;20774:18;;;20767:62;20865:12;20845:18;;;20838:40;20895:19;;48206:76:0;20514:406:1;48206:76:0;48326:9;:13;;;;;;;;;;;:19;;;;;;;;;;;48348:20;;;48326:42;;48398:17;;;;;;;:27;;48348:20;;48326:9;48398:27;;48348:20;;48398:27;:::i;:::-;;;;;;;;48057:380;;;48052:3;;;;:::i;:::-;;;48016:421;;;;48484:2;48454:47;;48478:4;48454:47;;48468:8;48454:47;;;48488:3;48493:7;48454:47;;;;;;;:::i;:::-;;;;;;;;48514:75;48550:8;48560:4;48566:2;48570:3;48575:7;48584:4;48514:35;:75::i;:::-;47717:880;47523:1074;;;;;:::o;49930:599::-;50088:21;;;50080:67;;;;-1:-1:-1;;;50080:67:0;;23043:2:1;50080:67:0;;;23025:21:1;23082:2;23062:18;;;23055:30;23121:34;23101:18;;;23094:62;23192:3;23172:18;;;23165:31;23213:19;;50080:67:0;22841:397:1;50080:67:0;11204:10;50204:107;11204:10;50160:16;50247:7;50256:21;50274:2;50256:17;:21::i;:::-;50279:25;50297:6;50279:17;:25::i;50204:107::-;50324:9;:13;;;;;;;;;;;:22;;;;;;;;;;:32;;50350:6;;50324:9;:32;;50350:6;;50324:32;:::i;:::-;;;;-1:-1:-1;;50372:57:0;;;23599:25:1;;;23655:2;23640:18;;23633:34;;;50372:57:0;;;;;50405:1;;50372:57;;;;;;23572:18:1;50372:57:0;;;;;;;50442:79;50473:8;50491:1;50495:7;50504:2;50508:6;50516:4;50442:30;:79::i;5913:231::-;5991:7;6012:17;6031:18;6053:27;6064:4;6070:9;6053:10;:27::i;:::-;6011:69;;;;6091:18;6103:5;6091:11;:18::i;46345:820::-;46533:16;;;46525:66;;;;-1:-1:-1;;;46525:66:0;;19488:2:1;46525:66:0;;;19470:21:1;19527:2;19507:18;;;19500:30;19566:34;19546:18;;;19539:62;19637:7;19617:18;;;19610:35;19662:19;;46525:66:0;19286:401:1;46525:66:0;11204:10;46648:96;11204:10;46679:4;46685:2;46689:21;46707:2;46689:17;:21::i;46648:96::-;46757:19;46779:13;;;;;;;;;;;:19;;;;;;;;;;;46817:21;;;;46809:76;;;;-1:-1:-1;;;46809:76:0;;20716:2:1;46809:76:0;;;20698:21:1;20755:2;20735:18;;;20728:30;20794:34;20774:18;;;20767:62;20865:12;20845:18;;;20838:40;20895:19;;46809:76:0;20514:406:1;46809:76:0;46921:9;:13;;;;;;;;;;;:19;;;;;;;;;;;46943:20;;;46921:42;;46985:17;;;;;;;:27;;46943:20;;46921:9;46985:27;;46943:20;;46985:27;:::i;:::-;;;;-1:-1:-1;;47030:46:0;;;23599:25:1;;;23655:2;23640:18;;23633:34;;;47030:46:0;;;;;;;;;;;;;;;23572:18:1;47030:46:0;;;;;;;47089:68;47120:8;47130:4;47136:2;47140;47144:6;47152:4;47089:30;:68::i;:::-;46514:651;;46345:820;;;;;:::o;55612:813::-;55852:13;;;12342:20;12390:8;55848:570;;55888:79;;;;;:43;;;;;;:79;;55932:8;;55942:4;;55948:3;;55953:7;;55962:4;;55888:79;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55888:79:0;;;;;;;;-1:-1:-1;;55888:79:0;;;;;;;;;;;;:::i;:::-;;;55884:523;;;;:::i;:::-;;;;;;;;;;:::i;:::-;;;;;;;;56280:6;56273:14;;-1:-1:-1;;;56273:14:0;;;;;;;;:::i;55884:523::-;;;56329:62;;-1:-1:-1;;;56329:62:0;;16724:2:1;56329:62:0;;;16706:21:1;16763:2;16743:18;;;16736:30;16802:34;16782:18;;;16775:62;16873:22;16853:18;;;16846:50;16913:19;;56329:62:0;16522:416:1;55884:523:0;56049:60;;;56061:48;56049:60;56045:159;;56134:50;;-1:-1:-1;;;56134:50:0;;17145:2:1;56134:50:0;;;17127:21:1;17184:2;17164:18;;;17157:30;17223:34;17203:18;;;17196:62;17294:10;17274:18;;;17267:38;17322:19;;56134:50:0;16943:404:1;56433:198:0;56553:16;;;56567:1;56553:16;;;;;;;;;56499;;56528:22;;56553:16;;;;;;;;;;;;-1:-1:-1;56553:16:0;56528:41;;56591:7;56580:5;56586:1;56580:8;;;;;;;;:::i;:::-;;;;;;;;;;:18;56618:5;56433:198;-1:-1:-1;;56433:198:0:o;54860:744::-;55075:13;;;12342:20;12390:8;55071:526;;55111:72;;;;;:38;;;;;;:72;;55150:8;;55160:4;;55166:2;;55170:6;;55178:4;;55111:72;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55111:72:0;;;;;;;;-1:-1:-1;;55111:72:0;;;;;;;;;;;;:::i;:::-;;;55107:479;;;;:::i;:::-;55233:55;;;55245:43;55233:55;55229:154;;55313:50;;-1:-1:-1;;;55313:50:0;;17145:2:1;55313:50:0;;;17127:21:1;17184:2;17164:18;;;17157:30;17223:34;17203:18;;;17196:62;17294:10;17274:18;;;17267:38;17322:19;;55313:50:0;16943:404:1;3803:1308:0;3884:7;3893:12;4118:9;:16;4138:2;4118:22;4114:990;;;4414:4;4399:20;;4393:27;4464:4;4449:20;;4443:27;4522:4;4507:20;;4501:27;4157:9;4493:36;4565:25;4576:4;4493:36;4393:27;4443;4565:10;:25::i;:::-;4558:32;;;;;;;;;4114:990;4612:9;:16;4632:2;4612:22;4608:496;;;4887:4;4872:20;;4866:27;4938:4;4923:20;;4917:27;4980:23;4991:4;4866:27;4917;4980:10;:23::i;:::-;4973:30;;;;;;;;4608:496;-1:-1:-1;5052:1:0;;-1:-1:-1;5056:35:0;4608:496;3803:1308;;;;;:::o;2074:643::-;2152:20;2143:5;:29;;;;;;;;:::i;:::-;;2139:571;;;2074:643;:::o;2139:571::-;2250:29;2241:5;:38;;;;;;;;:::i;:::-;;2237:473;;;2296:34;;-1:-1:-1;;;2296:34:0;;16371:2:1;2296:34:0;;;16353:21:1;16410:2;16390:18;;;16383:30;16449:26;16429:18;;;16422:54;16493:18;;2296:34:0;16169:348:1;2237:473:0;2361:35;2352:5;:44;;;;;;;;:::i;:::-;;2348:362;;;2413:41;;-1:-1:-1;;;2413:41:0;;17554:2:1;2413:41:0;;;17536:21:1;17593:2;17573:18;;;17566:30;17632:33;17612:18;;;17605:61;17683:18;;2413:41:0;17352:355:1;2348:362:0;2485:30;2476:5;:39;;;;;;;;:::i;:::-;;2472:238;;;2532:44;;-1:-1:-1;;;2532:44:0;;19085:2:1;2532:44:0;;;19067:21:1;19124:2;19104:18;;;19097:30;19163:34;19143:18;;;19136:62;19234:4;19214:18;;;19207:32;19256:19;;2532:44:0;18883:398:1;2472:238:0;2607:30;2598:5;:39;;;;;;;;:::i;:::-;;2594:116;;;2654:44;;-1:-1:-1;;;2654:44:0;;20313:2:1;2654:44:0;;;20295:21:1;20352:2;20332:18;;;20325:30;20391:34;20371:18;;;20364:62;20462:4;20442:18;;;20435:32;20484:19;;2654:44:0;20111:398:1;2594:116:0;2074:643;:::o;7412:1632::-;7543:7;;8477:66;8464:79;;8460:163;;;-1:-1:-1;8576:1:0;;-1:-1:-1;8580:30:0;8560:51;;8460:163;8637:1;:7;;8642:2;8637:7;;:18;;;;;8648:1;:7;;8653:2;8648:7;;8637:18;8633:102;;;-1:-1:-1;8688:1:0;;-1:-1:-1;8692:30:0;8672:51;;8633:102;8849:24;;;8832:14;8849:24;;;;;;;;;15769:25:1;;;15842:4;15830:17;;15810:18;;;15803:45;;;;15864:18;;;15857:34;;;15907:18;;;15900:34;;;8849:24:0;;15741:19:1;;8849:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;8849:24:0;;-1:-1:-1;;8849:24:0;;;-1:-1:-1;;8888:20:0;;;8884:103;;8941:1;8945:29;8925:50;;;;;;;8884:103;9007:6;-1:-1:-1;9015:20:0;;-1:-1:-1;7412:1632:0;;;;;;;;:::o;6407:391::-;6521:7;;6630:66;6622:75;;6724:3;6720:12;;;6734:2;6716:21;6765:25;6776:4;6716:21;6785:1;6622:75;6765:10;:25::i;:::-;6758:32;;;;;;6407:391;;;;;;:::o;-1:-1:-1:-;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;;:::o;:::-;;;;;;;;;;;;;;;14:527:1;78:5;112:18;104:6;101:30;98:56;;;134:18;;:::i;:::-;183:2;177:9;195:128;317:4;-1:-1:-1;;243:2:1;235:6;231:15;227:88;223:99;215:6;195:128;:::i;:::-;341:6;332:15;;371:6;363;356:22;411:3;402:6;397:3;393:16;390:25;387:45;;;428:1;425;418:12;387:45;478:6;473:3;466:4;458:6;454:17;441:44;533:1;526:4;517:6;509;505:19;501:30;494:41;;14:527;;;;;:::o;546:196::-;614:20;;674:42;663:54;;653:65;;643:93;;732:1;729;722:12;643:93;546:196;;;:::o;747:741::-;801:5;854:3;847:4;839:6;835:17;831:27;821:55;;872:1;869;862:12;821:55;908:6;895:20;934:4;957:43;997:2;957:43;:::i;:::-;1029:2;1023:9;1041:31;1069:2;1061:6;1041:31;:::i;:::-;1107:18;;;1141:15;;;;-1:-1:-1;1176:15:1;;;1226:1;1222:10;;;1210:23;;1206:32;;1203:41;-1:-1:-1;1200:61:1;;;1257:1;1254;1247:12;1200:61;1279:1;1289:169;1303:2;1300:1;1297:9;1289:169;;;1360:23;1379:3;1360:23;:::i;:::-;1348:36;;1404:12;;;;1436;;;;1321:1;1314:9;1289:169;;;-1:-1:-1;1476:6:1;;747:741;-1:-1:-1;;;;;;;747:741:1:o;1493:735::-;1547:5;1600:3;1593:4;1585:6;1581:17;1577:27;1567:55;;1618:1;1615;1608:12;1567:55;1654:6;1641:20;1680:4;1703:43;1743:2;1703:43;:::i;:::-;1775:2;1769:9;1787:31;1815:2;1807:6;1787:31;:::i;:::-;1853:18;;;1887:15;;;;-1:-1:-1;1922:15:1;;;1972:1;1968:10;;;1956:23;;1952:32;;1949:41;-1:-1:-1;1946:61:1;;;2003:1;2000;1993:12;1946:61;2025:1;2035:163;2049:2;2046:1;2043:9;2035:163;;;2106:17;;2094:30;;2144:12;;;;2176;;;;2067:1;2060:9;2035:163;;2233:160;2298:20;;2354:13;;2347:21;2337:32;;2327:60;;2383:1;2380;2373:12;2398:220;2440:5;2493:3;2486:4;2478:6;2474:17;2470:27;2460:55;;2511:1;2508;2501:12;2460:55;2533:79;2608:3;2599:6;2586:20;2579:4;2571:6;2567:17;2533:79;:::i;:::-;2524:88;2398:220;-1:-1:-1;;;2398:220:1:o;2623:186::-;2682:6;2735:2;2723:9;2714:7;2710:23;2706:32;2703:52;;;2751:1;2748;2741:12;2703:52;2774:29;2793:9;2774:29;:::i;2814:260::-;2882:6;2890;2943:2;2931:9;2922:7;2918:23;2914:32;2911:52;;;2959:1;2956;2949:12;2911:52;2982:29;3001:9;2982:29;:::i;:::-;2972:39;;3030:38;3064:2;3053:9;3049:18;3030:38;:::i;:::-;3020:48;;2814:260;;;;;:::o;3079:943::-;3233:6;3241;3249;3257;3265;3318:3;3306:9;3297:7;3293:23;3289:33;3286:53;;;3335:1;3332;3325:12;3286:53;3358:29;3377:9;3358:29;:::i;:::-;3348:39;;3406:38;3440:2;3429:9;3425:18;3406:38;:::i;:::-;3396:48;;3495:2;3484:9;3480:18;3467:32;3518:18;3559:2;3551:6;3548:14;3545:34;;;3575:1;3572;3565:12;3545:34;3598:61;3651:7;3642:6;3631:9;3627:22;3598:61;:::i;:::-;3588:71;;3712:2;3701:9;3697:18;3684:32;3668:48;;3741:2;3731:8;3728:16;3725:36;;;3757:1;3754;3747:12;3725:36;3780:63;3835:7;3824:8;3813:9;3809:24;3780:63;:::i;:::-;3770:73;;3896:3;3885:9;3881:19;3868:33;3852:49;;3926:2;3916:8;3913:16;3910:36;;;3942:1;3939;3932:12;3910:36;;3965:51;4008:7;3997:8;3986:9;3982:24;3965:51;:::i;:::-;3955:61;;;3079:943;;;;;;;;:::o;4027:606::-;4131:6;4139;4147;4155;4163;4216:3;4204:9;4195:7;4191:23;4187:33;4184:53;;;4233:1;4230;4223:12;4184:53;4256:29;4275:9;4256:29;:::i;:::-;4246:39;;4304:38;4338:2;4327:9;4323:18;4304:38;:::i;:::-;4294:48;;4389:2;4378:9;4374:18;4361:32;4351:42;;4440:2;4429:9;4425:18;4412:32;4402:42;;4495:3;4484:9;4480:19;4467:33;4523:18;4515:6;4512:30;4509:50;;;4555:1;4552;4545:12;4509:50;4578:49;4619:7;4610:6;4599:9;4595:22;4578:49;:::i;4638:254::-;4703:6;4711;4764:2;4752:9;4743:7;4739:23;4735:32;4732:52;;;4780:1;4777;4770:12;4732:52;4803:29;4822:9;4803:29;:::i;:::-;4793:39;;4851:35;4882:2;4871:9;4867:18;4851:35;:::i;4897:254::-;4965:6;4973;5026:2;5014:9;5005:7;5001:23;4997:32;4994:52;;;5042:1;5039;5032:12;4994:52;5065:29;5084:9;5065:29;:::i;:::-;5055:39;5141:2;5126:18;;;;5113:32;;-1:-1:-1;;;4897:254:1:o;5156:391::-;5239:6;5247;5255;5263;5316:3;5304:9;5295:7;5291:23;5287:33;5284:53;;;5333:1;5330;5323:12;5284:53;5356:29;5375:9;5356:29;:::i;:::-;5346:39;;5432:2;5421:9;5417:18;5404:32;5394:42;;5455:35;5486:2;5475:9;5471:18;5455:35;:::i;:::-;5156:391;;;;-1:-1:-1;5445:45:1;;5537:2;5522:18;5509:32;;-1:-1:-1;;5156:391:1:o;5552:595::-;5670:6;5678;5731:2;5719:9;5710:7;5706:23;5702:32;5699:52;;;5747:1;5744;5737:12;5699:52;5787:9;5774:23;5816:18;5857:2;5849:6;5846:14;5843:34;;;5873:1;5870;5863:12;5843:34;5896:61;5949:7;5940:6;5929:9;5925:22;5896:61;:::i;:::-;5886:71;;6010:2;5999:9;5995:18;5982:32;5966:48;;6039:2;6029:8;6026:16;6023:36;;;6055:1;6052;6045:12;6023:36;;6078:63;6133:7;6122:8;6111:9;6107:24;6078:63;:::i;:::-;6068:73;;;5552:595;;;;;:::o;6152:1020::-;6322:6;6330;6338;6346;6399:3;6387:9;6378:7;6374:23;6370:33;6367:53;;;6416:1;6413;6406:12;6367:53;6456:9;6443:23;6485:18;6526:2;6518:6;6515:14;6512:34;;;6542:1;6539;6532:12;6512:34;6565:61;6618:7;6609:6;6598:9;6594:22;6565:61;:::i;:::-;6555:71;;6679:2;6668:9;6664:18;6651:32;6635:48;;6708:2;6698:8;6695:16;6692:36;;;6724:1;6721;6714:12;6692:36;6747:63;6802:7;6791:8;6780:9;6776:24;6747:63;:::i;:::-;6737:73;;6863:2;6852:9;6848:18;6835:32;6819:48;;6892:2;6882:8;6879:16;6876:36;;;6908:1;6905;6898:12;6876:36;6931:63;6986:7;6975:8;6964:9;6960:24;6931:63;:::i;:::-;6921:73;;7047:2;7036:9;7032:18;7019:32;7003:48;;7076:2;7066:8;7063:16;7060:36;;;7092:1;7089;7082:12;7060:36;;7115:51;7158:7;7147:8;7136:9;7132:24;7115:51;:::i;:::-;7105:61;;;6152:1020;;;;;;;:::o;7177:180::-;7236:6;7289:2;7277:9;7268:7;7264:23;7260:32;7257:52;;;7305:1;7302;7295:12;7257:52;-1:-1:-1;7328:23:1;;7177:180;-1:-1:-1;7177:180:1:o;7362:388::-;7439:6;7447;7500:2;7488:9;7479:7;7475:23;7471:32;7468:52;;;7516:1;7513;7506:12;7468:52;7552:9;7539:23;7529:33;;7613:2;7602:9;7598:18;7585:32;7640:18;7632:6;7629:30;7626:50;;;7672:1;7669;7662:12;7626:50;7695:49;7736:7;7727:6;7716:9;7712:22;7695:49;:::i;7755:245::-;7813:6;7866:2;7854:9;7845:7;7841:23;7837:32;7834:52;;;7882:1;7879;7872:12;7834:52;7921:9;7908:23;7940:30;7964:5;7940:30;:::i;8005:249::-;8074:6;8127:2;8115:9;8106:7;8102:23;8098:32;8095:52;;;8143:1;8140;8133:12;8095:52;8175:9;8169:16;8194:30;8218:5;8194:30;:::i;8259:450::-;8328:6;8381:2;8369:9;8360:7;8356:23;8352:32;8349:52;;;8397:1;8394;8387:12;8349:52;8437:9;8424:23;8470:18;8462:6;8459:30;8456:50;;;8502:1;8499;8492:12;8456:50;8525:22;;8578:4;8570:13;;8566:27;-1:-1:-1;8556:55:1;;8607:1;8604;8597:12;8556:55;8630:73;8695:7;8690:2;8677:16;8672:2;8668;8664:11;8630:73;:::i;:::-;8620:83;8259:450;-1:-1:-1;;;;8259:450:1:o;8899:525::-;8991:6;8999;9007;9015;9068:3;9056:9;9047:7;9043:23;9039:33;9036:53;;;9085:1;9082;9075:12;9036:53;9121:9;9108:23;9098:33;;9150:35;9181:2;9170:9;9166:18;9150:35;:::i;:::-;9140:45;;9232:2;9221:9;9217:18;9204:32;9194:42;;9287:2;9276:9;9272:18;9259:32;9314:18;9306:6;9303:30;9300:50;;;9346:1;9343;9336:12;9300:50;9369:49;9410:7;9401:6;9390:9;9386:22;9369:49;:::i;9429:435::-;9482:3;9520:5;9514:12;9547:6;9542:3;9535:19;9573:4;9602:2;9597:3;9593:12;9586:19;;9639:2;9632:5;9628:14;9660:1;9670:169;9684:6;9681:1;9678:13;9670:169;;;9745:13;;9733:26;;9779:12;;;;9814:15;;;;9706:1;9699:9;9670:169;;;-1:-1:-1;9855:3:1;;9429:435;-1:-1:-1;;;;;9429:435:1:o;9869:316::-;9910:3;9948:5;9942:12;9975:6;9970:3;9963:19;9991:63;10047:6;10040:4;10035:3;10031:14;10024:4;10017:5;10013:16;9991:63;:::i;:::-;10099:2;10087:15;-1:-1:-1;;10083:88:1;10074:98;;;;10174:4;10070:109;;9869:316;-1:-1:-1;;9869:316:1:o;10190:185::-;10232:3;10270:5;10264:12;10285:52;10330:6;10325:3;10318:4;10311:5;10307:16;10285:52;:::i;:::-;10353:16;;;;;10190:185;-1:-1:-1;;10190:185:1:o;10498:1416::-;10775:3;10804:1;10837:6;10831:13;10867:3;10889:1;10917:9;10913:2;10909:18;10899:28;;10977:2;10966:9;10962:18;10999;10989:61;;11043:4;11035:6;11031:17;11021:27;;10989:61;11069:2;11117;11109:6;11106:14;11086:18;11083:38;11080:222;;;11156:77;11151:3;11144:90;11257:4;11254:1;11247:15;11287:4;11282:3;11275:17;11080:222;11318:18;11345:162;;;;11521:1;11516:320;;;;11311:525;;11345:162;11393:66;11382:9;11378:82;11373:3;11366:95;11490:6;11485:3;11481:16;11474:23;;11345:162;;11516:320;23939:1;23932:14;;;23976:4;23963:18;;11611:1;11625:165;11639:6;11636:1;11633:13;11625:165;;;11717:14;;11704:11;;;11697:35;11760:16;;;;11654:10;;11625:165;;;11629:3;;11819:6;11814:3;11810:16;11803:23;;11311:525;;;;;;;11852:56;11877:30;11903:3;11895:6;11877:30;:::i;:::-;10452:7;10440:20;;10485:1;10476:11;;10380:113;11852:56;11845:63;10498:1416;-1:-1:-1;;;;;10498:1416:1:o;12535:849::-;12857:4;12886:42;12967:2;12959:6;12955:15;12944:9;12937:34;13019:2;13011:6;13007:15;13002:2;12991:9;12987:18;12980:43;;13059:3;13054:2;13043:9;13039:18;13032:31;13086:57;13138:3;13127:9;13123:19;13115:6;13086:57;:::i;:::-;13191:9;13183:6;13179:22;13174:2;13163:9;13159:18;13152:50;13225:44;13262:6;13254;13225:44;:::i;:::-;13211:58;;13318:9;13310:6;13306:22;13300:3;13289:9;13285:19;13278:51;13346:32;13371:6;13363;13346:32;:::i;:::-;13338:40;12535:849;-1:-1:-1;;;;;;;;12535:849:1:o;13389:583::-;13611:4;13640:42;13721:2;13713:6;13709:15;13698:9;13691:34;13773:2;13765:6;13761:15;13756:2;13745:9;13741:18;13734:43;;13813:6;13808:2;13797:9;13793:18;13786:34;13856:6;13851:2;13840:9;13836:18;13829:34;13900:3;13894;13883:9;13879:19;13872:32;13921:45;13961:3;13950:9;13946:19;13938:6;13921:45;:::i;:::-;13913:53;13389:583;-1:-1:-1;;;;;;;13389:583:1:o;14432:261::-;14611:2;14600:9;14593:21;14574:4;14631:56;14683:2;14672:9;14668:18;14660:6;14631:56;:::i;14698:465::-;14955:2;14944:9;14937:21;14918:4;14981:56;15033:2;15022:9;15018:18;15010:6;14981:56;:::i;:::-;15085:9;15077:6;15073:22;15068:2;15057:9;15053:18;15046:50;15113:44;15150:6;15142;15113:44;:::i;15945:219::-;16094:2;16083:9;16076:21;16057:4;16114:44;16154:2;16143:9;16139:18;16131:6;16114:44;:::i;23678:183::-;23738:4;23771:18;23763:6;23760:30;23757:56;;;23793:18;;:::i;:::-;-1:-1:-1;23838:1:1;23834:14;23850:4;23830:25;;23678:183::o;23992:128::-;24032:3;24063:1;24059:6;24056:1;24053:13;24050:39;;;24069:18;;:::i;:::-;-1:-1:-1;24105:9:1;;23992:128::o;24125:204::-;24163:3;24199:4;24196:1;24192:12;24231:4;24228:1;24224:12;24266:3;24260:4;24256:14;24251:3;24248:23;24245:49;;;24274:18;;:::i;:::-;24310:13;;24125:204;-1:-1:-1;;;24125:204:1:o;24334:274::-;24374:1;24400;24390:189;;24435:77;24432:1;24425:88;24536:4;24533:1;24526:15;24564:4;24561:1;24554:15;24390:189;-1:-1:-1;24593:9:1;;24334:274::o;24613:228::-;24653:7;24779:1;24711:66;24707:74;24704:1;24701:81;24696:1;24689:9;24682:17;24678:105;24675:131;;;24786:18;;:::i;:::-;-1:-1:-1;24826:9:1;;24613:228::o;24846:125::-;24886:4;24914:1;24911;24908:8;24905:34;;;24919:18;;:::i;:::-;-1:-1:-1;24956:9:1;;24846:125::o;24976:258::-;25048:1;25058:113;25072:6;25069:1;25066:13;25058:113;;;25148:11;;;25142:18;25129:11;;;25122:39;25094:2;25087:10;25058:113;;;25189:6;25186:1;25183:13;25180:48;;;25224:1;25215:6;25210:3;25206:16;25199:27;25180:48;;24976:258;;;:::o;25239:437::-;25318:1;25314:12;;;;25361;;;25382:61;;25436:4;25428:6;25424:17;25414:27;;25382:61;25489:2;25481:6;25478:14;25458:18;25455:38;25452:218;;;25526:77;25523:1;25516:88;25627:4;25624:1;25617:15;25655:4;25652:1;25645:15;25452:218;;25239:437;;;:::o;25681:308::-;-1:-1:-1;;25782:2:1;25776:4;25772:13;25768:86;25760:6;25756:99;25921:6;25909:10;25906:22;25885:18;25873:10;25870:34;25867:62;25864:88;;;25932:18;;:::i;:::-;25968:2;25961:22;-1:-1:-1;;25681:308:1:o;25994:195::-;26033:3;26064:66;26057:5;26054:77;26051:103;;;26134:18;;:::i;:::-;-1:-1:-1;26181:1:1;26170:13;;25994:195::o;26194:184::-;26246:77;26243:1;26236:88;26343:4;26340:1;26333:15;26367:4;26364:1;26357:15;26383:184;26435:77;26432:1;26425:88;26532:4;26529:1;26522:15;26556:4;26553:1;26546:15;26572:184;26624:77;26621:1;26614:88;26721:4;26718:1;26711:15;26745:4;26742:1;26735:15;26761:184;26813:77;26810:1;26803:88;26910:4;26907:1;26900:15;26934:4;26931:1;26924:15;26950:179;26985:3;27027:1;27009:16;27006:23;27003:120;;;27073:1;27070;27067;27052:23;-1:-1:-1;27110:1:1;27104:8;27099:3;27095:18;27003:120;26950:179;:::o;27134:731::-;27173:3;27215:4;27197:16;27194:26;27191:39;;;27134:731;:::o;27191:39::-;27257:2;27251:9;27279:66;27400:2;27382:16;27378:25;27375:1;27369:4;27354:50;27433:4;27427:11;27457:16;27492:18;27563:2;27556:4;27548:6;27544:17;27541:25;27536:2;27528:6;27525:14;27522:45;27519:58;;;27570:5;;;;;27134:731;:::o;27519:58::-;27607:6;27601:4;27597:17;27586:28;;27643:3;27637:10;27670:2;27662:6;27659:14;27656:27;;;27676:5;;;;;;27134:731;:::o;27656:27::-;27760:2;27741:16;27735:4;27731:27;27727:36;27720:4;27711:6;27706:3;27702:16;27698:27;27695:69;27692:82;;;27767:5;;;;;;27134:731;:::o;27692:82::-;27783:57;27834:4;27825:6;27817;27813:19;27809:30;27803:4;27783:57;:::i;:::-;-1:-1:-1;27856:3:1;;27134:731;-1:-1:-1;;;;;27134:731:1:o;27870:177::-;27955:66;27948:5;27944:78;27937:5;27934:89;27924:117;;28037:1;28034;28027:12

Swarm Source

ipfs://43c77ee726509dcc887292a29064f78034c1b6cc310705d00979abf82769fadd
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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