{"constructor_args":"0x000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000484f8c8466abb2ac82f46acb0eacf79e1665de42000000000000000000000000484f8c8466abb2ac82f46acb0eacf79e1665de42000000000000000000000000484f8c8466abb2ac82f46acb0eacf79e1665de42000000000000000000000000484f8c8466abb2ac82f46acb0eacf79e1665de42000000000000000000000000484f8c8466abb2ac82f46acb0eacf79e1665de42000000000000000000000000000000000000000000000000000000000000000a526f79616c204575726f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004524555520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034555520000000000000000000000000000000000000000000000000000000000","is_partially_verified":false,"is_changed_bytecode":false,"abi":[{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"string","name":"_currency","type":"string"},{"internalType":"address","name":"masterMinter","type":"address"},{"internalType":"address","name":"pauser","type":"address"},{"internalType":"address","name":"blacklister","type":"address"},{"internalType":"address","name":"rescuer","type":"address"},{"internalType":"address","name":"owner_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AccessControlBadConfirmation","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"bytes32","name":"neededRole","type":"bytes32"}],"name":"AccessControlUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"target","type":"address"}],"name":"AddressEmptyCode","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"AddressInsufficientBalance","type":"error"},{"inputs":[{"internalType":"uint256","name":"requested","type":"uint256"},{"internalType":"uint256","name":"allowed","type":"uint256"}],"name":"AllowanceExceeded","type":"error"},{"inputs":[],"name":"AmountZero","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"Blacklisted","type":"error"},{"inputs":[],"name":"ContractPaused","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"allowance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientAllowance","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"},{"internalType":"uint256","name":"balance","type":"uint256"},{"internalType":"uint256","name":"needed","type":"uint256"}],"name":"ERC20InsufficientBalance","type":"error"},{"inputs":[{"internalType":"address","name":"approver","type":"address"}],"name":"ERC20InvalidApprover","type":"error"},{"inputs":[{"internalType":"address","name":"receiver","type":"address"}],"name":"ERC20InvalidReceiver","type":"error"},{"inputs":[{"internalType":"address","name":"sender","type":"address"}],"name":"ERC20InvalidSender","type":"error"},{"inputs":[{"internalType":"address","name":"spender","type":"address"}],"name":"ERC20InvalidSpender","type":"error"},{"inputs":[],"name":"EnforcedPause","type":"error"},{"inputs":[],"name":"ExpectedPause","type":"error"},{"inputs":[],"name":"FailedInnerCall","type":"error"},{"inputs":[],"name":"NotMasterMinter","type":"error"},{"inputs":[],"name":"NotMinter","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"SafeERC20FailedOperation","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"BlacklistedAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"account","type":"address"}],"name":"BlacklistedRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"},{"indexed":false,"internalType":"uint256","name":"minterAllowedAmount","type":"uint256"}],"name":"MinterConfigured","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"minter","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ValueReceived","type":"event"},{"inputs":[],"name":"BLACKLISTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MASTERMINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PAUSER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"RESCUER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"addBlacklisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"},{"internalType":"address","name":"spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"spender","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"blacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"bulkAddBlacklisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"accounts","type":"address[]"}],"name":"bulkRemoveBlacklisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"},{"internalType":"uint256","name":"allowance_","type":"uint256"}],"name":"configureMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"currency","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"isBlacklisted","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"isMinter","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mint","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"mintByMaster","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"minterAllowance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"minterAllowanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"removeBlacklisted","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"minter","type":"address"}],"name":"removeMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"callerConfirmation","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"address","name":"to","type":"address"}],"name":"rescueStuckFunds","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}],"conflicting_implementations":null,"certified":false,"additional_sources":[{"file_path":"npm/@openzeppelin/contracts@5.0.1/utils/Context.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Provides information about the current execution context, including the\n * sender of the transaction and its data. While these are generally available\n * via msg.sender and msg.data, they should not be accessed in such a direct\n * manner, since when dealing with meta-transactions the account sending and\n * paying for execution may not be the actual sender (as far as an application\n * is concerned).\n *\n * This contract is only required for intermediate, library-like contracts.\n */\nabstract contract Context {\n    function _msgSender() internal view virtual returns (address) {\n        return msg.sender;\n    }\n\n    function _msgData() internal view virtual returns (bytes calldata) {\n        return msg.data;\n    }\n\n    function _contextSuffixLength() internal view virtual returns (uint256) {\n        return 0;\n    }\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/token/ERC20/extensions/IERC20Metadata.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC20 standard.\n */\ninterface IERC20Metadata is IERC20 {\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() external view returns (string memory);\n\n    /**\n     * @dev Returns the symbol of the token.\n     */\n    function symbol() external view returns (string memory);\n\n    /**\n     * @dev Returns the decimals places of the token.\n     */\n    function decimals() external view returns (uint8);\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/token/ERC20/extensions/IERC20Permit.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Permit.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in\n * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].\n *\n * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by\n * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't\n * need to send a transaction, and thus is not required to hold Ether at all.\n *\n * ==== Security Considerations\n *\n * There are two important considerations concerning the use of `permit`. The first is that a valid permit signature\n * expresses an allowance, and it should not be assumed to convey additional meaning. In particular, it should not be\n * considered as an intention to spend the allowance in any specific way. The second is that because permits have\n * built-in replay protection and can be submitted by anyone, they can be frontrun. A protocol that uses permits should\n * take this into consideration and allow a `permit` call to fail. Combining these two aspects, a pattern that may be\n * generally recommended is:\n *\n * ```solidity\n * function doThingWithPermit(..., uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) public {\n *     try token.permit(msg.sender, address(this), value, deadline, v, r, s) {} catch {}\n *     doThing(..., value);\n * }\n *\n * function doThing(..., uint256 value) public {\n *     token.safeTransferFrom(msg.sender, address(this), value);\n *     ...\n * }\n * ```\n *\n * Observe that: 1) `msg.sender` is used as the owner, leaving no ambiguity as to the signer intent, and 2) the use of\n * `try/catch` allows the permit to fail and makes the code tolerant to frontrunning. (See also\n * {SafeERC20-safeTransferFrom}).\n *\n * Additionally, note that smart contract wallets (such as Argent or Safe) are not able to produce permit signatures, so\n * contracts should have entry points that don't rely on permit.\n */\ninterface IERC20Permit {\n    /**\n     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,\n     * given ``owner``'s signed approval.\n     *\n     * IMPORTANT: The same issues {IERC20-approve} has related to transaction\n     * ordering also apply here.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `deadline` must be a timestamp in the future.\n     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`\n     * over the EIP712-formatted function arguments.\n     * - the signature must use ``owner``'s current nonce (see {nonces}).\n     *\n     * For more information on the signature format, see the\n     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP\n     * section].\n     *\n     * CAUTION: See Security Considerations above.\n     */\n    function permit(\n        address owner,\n        address spender,\n        uint256 value,\n        uint256 deadline,\n        uint8 v,\n        bytes32 r,\n        bytes32 s\n    ) external;\n\n    /**\n     * @dev Returns the current nonce for `owner`. This value must be\n     * included whenever a signature is generated for {permit}.\n     *\n     * Every successful call to {permit} increases ``owner``'s nonce by one. This\n     * prevents a signature from being used multiple times.\n     */\n    function nonces(address owner) external view returns (uint256);\n\n    /**\n     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.\n     */\n    // solhint-disable-next-line func-name-mixedcase\n    function DOMAIN_SEPARATOR() external view returns (bytes32);\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/token/ERC20/utils/SafeERC20.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/utils/SafeERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"../IERC20.sol\";\nimport {IERC20Permit} from \"../extensions/IERC20Permit.sol\";\nimport {Address} from \"../../../utils/Address.sol\";\n\n/**\n * @title SafeERC20\n * @dev Wrappers around ERC20 operations that throw on failure (when the token\n * contract returns false). Tokens that return no value (and instead revert or\n * throw on failure) are also supported, non-reverting calls are assumed to be\n * successful.\n * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,\n * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.\n */\nlibrary SafeERC20 {\n    using Address for address;\n\n    /**\n     * @dev An operation with an ERC20 token failed.\n     */\n    error SafeERC20FailedOperation(address token);\n\n    /**\n     * @dev Indicates a failed `decreaseAllowance` request.\n     */\n    error SafeERC20FailedDecreaseAllowance(address spender, uint256 currentAllowance, uint256 requestedDecrease);\n\n    /**\n     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeTransfer(IERC20 token, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transfer, (to, value)));\n    }\n\n    /**\n     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the\n     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.\n     */\n    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {\n        _callOptionalReturn(token, abi.encodeCall(token.transferFrom, (from, to, value)));\n    }\n\n    /**\n     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful.\n     */\n    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {\n        uint256 oldAllowance = token.allowance(address(this), spender);\n        forceApprove(token, spender, oldAllowance + value);\n    }\n\n    /**\n     * @dev Decrease the calling contract's allowance toward `spender` by `requestedDecrease`. If `token` returns no\n     * value, non-reverting calls are assumed to be successful.\n     */\n    function safeDecreaseAllowance(IERC20 token, address spender, uint256 requestedDecrease) internal {\n        unchecked {\n            uint256 currentAllowance = token.allowance(address(this), spender);\n            if (currentAllowance < requestedDecrease) {\n                revert SafeERC20FailedDecreaseAllowance(spender, currentAllowance, requestedDecrease);\n            }\n            forceApprove(token, spender, currentAllowance - requestedDecrease);\n        }\n    }\n\n    /**\n     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,\n     * non-reverting calls are assumed to be successful. Meant to be used with tokens that require the approval\n     * to be set to zero before setting it to a non-zero value, such as USDT.\n     */\n    function forceApprove(IERC20 token, address spender, uint256 value) internal {\n        bytes memory approvalCall = abi.encodeCall(token.approve, (spender, value));\n\n        if (!_callOptionalReturnBool(token, approvalCall)) {\n            _callOptionalReturn(token, abi.encodeCall(token.approve, (spender, 0)));\n            _callOptionalReturn(token, approvalCall);\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     */\n    function _callOptionalReturn(IERC20 token, bytes memory data) private {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We use {Address-functionCall} to perform this call, which verifies that\n        // the target address contains contract code and also asserts for success in the low-level call.\n\n        bytes memory returndata = address(token).functionCall(data);\n        if (returndata.length != 0 && !abi.decode(returndata, (bool))) {\n            revert SafeERC20FailedOperation(address(token));\n        }\n    }\n\n    /**\n     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement\n     * on the return value: the return value is optional (but if data is returned, it must not be false).\n     * @param token The token targeted by the call.\n     * @param data The call data (encoded using abi.encode or one of its variants).\n     *\n     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.\n     */\n    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {\n        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since\n        // we're implementing it ourselves. We cannot use {Address-functionCall} here since this should return false\n        // and not revert is the subcall reverts.\n\n        (bool success, bytes memory returndata) = address(token).call(data);\n        return success && (returndata.length == 0 || abi.decode(returndata, (bool))) && address(token).code.length > 0;\n    }\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/utils/Address.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Address.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary Address {\n    /**\n     * @dev The ETH balance of the account is not enough to perform the operation.\n     */\n    error AddressInsufficientBalance(address account);\n\n    /**\n     * @dev There's no code at `target` (it is not a contract).\n     */\n    error AddressEmptyCode(address target);\n\n    /**\n     * @dev A call to an address target failed. The target may have reverted.\n     */\n    error FailedInnerCall();\n\n    /**\n     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to\n     * `recipient`, forwarding all available gas and reverting on errors.\n     *\n     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost\n     * of certain opcodes, possibly making contracts go over the 2300 gas limit\n     * imposed by `transfer`, making them unable to receive funds via\n     * `transfer`. {sendValue} removes this limitation.\n     *\n     * https://consensys.net/diligence/blog/2019/09/stop-using-soliditys-transfer-now/[Learn more].\n     *\n     * IMPORTANT: because control is transferred to `recipient`, care must be\n     * taken to not create reentrancy vulnerabilities. Consider using\n     * {ReentrancyGuard} or the\n     * https://solidity.readthedocs.io/en/v0.8.20/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        if (address(this).balance < amount) {\n            revert AddressInsufficientBalance(address(this));\n        }\n\n        (bool success, ) = recipient.call{value: amount}(\"\");\n        if (!success) {\n            revert FailedInnerCall();\n        }\n    }\n\n    /**\n     * @dev Performs a Solidity function call using a low level `call`. A\n     * plain `call` is an unsafe replacement for a function call: use this\n     * function instead.\n     *\n     * If `target` reverts with a revert reason or custom error, it is bubbled\n     * up by this function (like regular Solidity function calls). However, if\n     * the call reverted with no returned reason, this function reverts with a\n     * {FailedInnerCall} error.\n     *\n     * Returns the raw returned data. To convert to the expected return value,\n     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].\n     *\n     * Requirements:\n     *\n     * - `target` must be a contract.\n     * - calling `target` with `data` must not revert.\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but also transferring `value` wei to `target`.\n     *\n     * Requirements:\n     *\n     * - the calling contract must have an ETH balance of at least `value`.\n     * - the called Solidity function must be `payable`.\n     */\n    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {\n        if (address(this).balance < value) {\n            revert AddressInsufficientBalance(address(this));\n        }\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a delegate call.\n     */\n    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return verifyCallResultFromTarget(target, success, returndata);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and reverts if the target\n     * was not a contract or bubbling up the revert reason (falling back to {FailedInnerCall}) in case of an\n     * unsuccessful call.\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata\n    ) internal view returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            // only check if target is a contract if the call was successful and the return data is empty\n            // otherwise we already know that it was a contract\n            if (returndata.length == 0 && target.code.length == 0) {\n                revert AddressEmptyCode(target);\n            }\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and reverts if it wasn't, either by bubbling the\n     * revert reason or with a default {FailedInnerCall} error.\n     */\n    function verifyCallResult(bool success, bytes memory returndata) internal pure returns (bytes memory) {\n        if (!success) {\n            _revert(returndata);\n        } else {\n            return returndata;\n        }\n    }\n\n    /**\n     * @dev Reverts with returndata if present. Otherwise reverts with {FailedInnerCall}.\n     */\n    function _revert(bytes memory returndata) private pure {\n        // Look for revert reason and bubble it up if present\n        if (returndata.length > 0) {\n            // The easiest way to bubble the revert reason is using memory via assembly\n            /// @solidity memory-safe-assembly\n            assembly {\n                let returndata_size := mload(returndata)\n                revert(add(32, returndata), returndata_size)\n            }\n        } else {\n            revert FailedInnerCall();\n        }\n    }\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/access/AccessControl.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/AccessControl.sol)\n\npragma solidity ^0.8.20;\n\nimport {IAccessControl} from \"./IAccessControl.sol\";\nimport {Context} from \"../utils/Context.sol\";\nimport {ERC165} from \"../utils/introspection/ERC165.sol\";\n\n/**\n * @dev Contract module that allows children to implement role-based access\n * control mechanisms. This is a lightweight version that doesn't allow enumerating role\n * members except through off-chain means by accessing the contract event logs. Some\n * applications may benefit from on-chain enumerability, for those cases see\n * {AccessControlEnumerable}.\n *\n * Roles are referred to by their `bytes32` identifier. These should be exposed\n * in the external API and be unique. The best way to achieve this is by\n * using `public constant` hash digests:\n *\n * ```solidity\n * bytes32 public constant MY_ROLE = keccak256(\"MY_ROLE\");\n * ```\n *\n * Roles can be used to represent a set of permissions. To restrict access to a\n * function call, use {hasRole}:\n *\n * ```solidity\n * function foo() public {\n *     require(hasRole(MY_ROLE, msg.sender));\n *     ...\n * }\n * ```\n *\n * Roles can be granted and revoked dynamically via the {grantRole} and\n * {revokeRole} functions. Each role has an associated admin role, and only\n * accounts that have a role's admin role can call {grantRole} and {revokeRole}.\n *\n * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means\n * that only accounts with this role will be able to grant or revoke other\n * roles. More complex role relationships can be created by using\n * {_setRoleAdmin}.\n *\n * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to\n * grant and revoke this role. Extra precautions should be taken to secure\n * accounts that have been granted it. We recommend using {AccessControlDefaultAdminRules}\n * to enforce additional security measures for this role.\n */\nabstract contract AccessControl is Context, IAccessControl, ERC165 {\n    struct RoleData {\n        mapping(address account => bool) hasRole;\n        bytes32 adminRole;\n    }\n\n    mapping(bytes32 role => RoleData) private _roles;\n\n    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;\n\n    /**\n     * @dev Modifier that checks that an account has a specific role. Reverts\n     * with an {AccessControlUnauthorizedAccount} error including the required role.\n     */\n    modifier onlyRole(bytes32 role) {\n        _checkRole(role);\n        _;\n    }\n\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n        return interfaceId == type(IAccessControl).interfaceId || super.supportsInterface(interfaceId);\n    }\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function hasRole(bytes32 role, address account) public view virtual returns (bool) {\n        return _roles[role].hasRole[account];\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `_msgSender()`\n     * is missing `role`. Overriding this function changes the behavior of the {onlyRole} modifier.\n     */\n    function _checkRole(bytes32 role) internal view virtual {\n        _checkRole(role, _msgSender());\n    }\n\n    /**\n     * @dev Reverts with an {AccessControlUnauthorizedAccount} error if `account`\n     * is missing `role`.\n     */\n    function _checkRole(bytes32 role, address account) internal view virtual {\n        if (!hasRole(role, account)) {\n            revert AccessControlUnauthorizedAccount(account, role);\n        }\n    }\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) public view virtual returns (bytes32) {\n        return _roles[role].adminRole;\n    }\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function grantRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _grantRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function revokeRole(bytes32 role, address account) public virtual onlyRole(getRoleAdmin(role)) {\n        _revokeRole(role, account);\n    }\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been revoked `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) public virtual {\n        if (callerConfirmation != _msgSender()) {\n            revert AccessControlBadConfirmation();\n        }\n\n        _revokeRole(role, callerConfirmation);\n    }\n\n    /**\n     * @dev Sets `adminRole` as ``role``'s admin role.\n     *\n     * Emits a {RoleAdminChanged} event.\n     */\n    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {\n        bytes32 previousAdminRole = getRoleAdmin(role);\n        _roles[role].adminRole = adminRole;\n        emit RoleAdminChanged(role, previousAdminRole, adminRole);\n    }\n\n    /**\n     * @dev Attempts to grant `role` to `account` and returns a boolean indicating if `role` was granted.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleGranted} event.\n     */\n    function _grantRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (!hasRole(role, account)) {\n            _roles[role].hasRole[account] = true;\n            emit RoleGranted(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n\n    /**\n     * @dev Attempts to revoke `role` to `account` and returns a boolean indicating if `role` was revoked.\n     *\n     * Internal function without access restriction.\n     *\n     * May emit a {RoleRevoked} event.\n     */\n    function _revokeRole(bytes32 role, address account) internal virtual returns (bool) {\n        if (hasRole(role, account)) {\n            _roles[role].hasRole[account] = false;\n            emit RoleRevoked(role, account, _msgSender());\n            return true;\n        } else {\n            return false;\n        }\n    }\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/access/IAccessControl.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/IAccessControl.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev External interface of AccessControl declared to support ERC165 detection.\n */\ninterface IAccessControl {\n    /**\n     * @dev The `account` is missing a role.\n     */\n    error AccessControlUnauthorizedAccount(address account, bytes32 neededRole);\n\n    /**\n     * @dev The caller of a function is not the expected one.\n     *\n     * NOTE: Don't confuse with {AccessControlUnauthorizedAccount}.\n     */\n    error AccessControlBadConfirmation();\n\n    /**\n     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`\n     *\n     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite\n     * {RoleAdminChanged} not being emitted signaling this.\n     */\n    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);\n\n    /**\n     * @dev Emitted when `account` is granted `role`.\n     *\n     * `sender` is the account that originated the contract call, an admin role\n     * bearer except when using {AccessControl-_setupRole}.\n     */\n    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);\n\n    /**\n     * @dev Emitted when `account` is revoked `role`.\n     *\n     * `sender` is the account that originated the contract call:\n     *   - if using `revokeRole`, it is the admin role bearer\n     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)\n     */\n    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);\n\n    /**\n     * @dev Returns `true` if `account` has been granted `role`.\n     */\n    function hasRole(bytes32 role, address account) external view returns (bool);\n\n    /**\n     * @dev Returns the admin role that controls `role`. See {grantRole} and\n     * {revokeRole}.\n     *\n     * To change a role's admin, use {AccessControl-_setRoleAdmin}.\n     */\n    function getRoleAdmin(bytes32 role) external view returns (bytes32);\n\n    /**\n     * @dev Grants `role` to `account`.\n     *\n     * If `account` had not been already granted `role`, emits a {RoleGranted}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     */\n    function grantRole(bytes32 role, address account) external;\n\n    /**\n     * @dev Revokes `role` from `account`.\n     *\n     * If `account` had been granted `role`, emits a {RoleRevoked} event.\n     *\n     * Requirements:\n     *\n     * - the caller must have ``role``'s admin role.\n     */\n    function revokeRole(bytes32 role, address account) external;\n\n    /**\n     * @dev Revokes `role` from the calling account.\n     *\n     * Roles are often managed via {grantRole} and {revokeRole}: this function's\n     * purpose is to provide a mechanism for accounts to lose their privileges\n     * if they are compromised (such as when a trusted device is misplaced).\n     *\n     * If the calling account had been granted `role`, emits a {RoleRevoked}\n     * event.\n     *\n     * Requirements:\n     *\n     * - the caller must be `callerConfirmation`.\n     */\n    function renounceRole(bytes32 role, address callerConfirmation) external;\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/access/Ownable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which provides a basic access control mechanism, where\n * there is an account (an owner) that can be granted exclusive access to\n * specific functions.\n *\n * The initial owner is set to the address provided by the deployer. This can\n * later be changed with {transferOwnership}.\n *\n * This module is used through inheritance. It will make available the modifier\n * `onlyOwner`, which can be applied to your functions to restrict their use to\n * the owner.\n */\nabstract contract Ownable is Context {\n    address private _owner;\n\n    /**\n     * @dev The caller account is not authorized to perform an operation.\n     */\n    error OwnableUnauthorizedAccount(address account);\n\n    /**\n     * @dev The owner is not a valid owner account. (eg. `address(0)`)\n     */\n    error OwnableInvalidOwner(address owner);\n\n    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);\n\n    /**\n     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.\n     */\n    constructor(address initialOwner) {\n        if (initialOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(initialOwner);\n    }\n\n    /**\n     * @dev Throws if called by any account other than the owner.\n     */\n    modifier onlyOwner() {\n        _checkOwner();\n        _;\n    }\n\n    /**\n     * @dev Returns the address of the current owner.\n     */\n    function owner() public view virtual returns (address) {\n        return _owner;\n    }\n\n    /**\n     * @dev Throws if the sender is not the owner.\n     */\n    function _checkOwner() internal view virtual {\n        if (owner() != _msgSender()) {\n            revert OwnableUnauthorizedAccount(_msgSender());\n        }\n    }\n\n    /**\n     * @dev Leaves the contract without owner. It will not be possible to call\n     * `onlyOwner` functions. Can only be called by the current owner.\n     *\n     * NOTE: Renouncing ownership will leave the contract without an owner,\n     * thereby disabling any functionality that is only available to the owner.\n     */\n    function renounceOwnership() public virtual onlyOwner {\n        _transferOwnership(address(0));\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Can only be called by the current owner.\n     */\n    function transferOwnership(address newOwner) public virtual onlyOwner {\n        if (newOwner == address(0)) {\n            revert OwnableInvalidOwner(address(0));\n        }\n        _transferOwnership(newOwner);\n    }\n\n    /**\n     * @dev Transfers ownership of the contract to a new account (`newOwner`).\n     * Internal function without access restriction.\n     */\n    function _transferOwnership(address newOwner) internal virtual {\n        address oldOwner = _owner;\n        _owner = newOwner;\n        emit OwnershipTransferred(oldOwner, newOwner);\n    }\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/interfaces/draft-IERC6093.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)\npragma solidity ^0.8.20;\n\n/**\n * @dev Standard ERC20 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.\n */\ninterface IERC20Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC20InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC20InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     * @param allowance Amount of tokens a `spender` is allowed to operate with.\n     * @param needed Minimum amount required to perform a transfer.\n     */\n    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC20InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.\n     * @param spender Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC20InvalidSpender(address spender);\n}\n\n/**\n * @dev Standard ERC721 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.\n */\ninterface IERC721Errors {\n    /**\n     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.\n     * Used in balance queries.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721InvalidOwner(address owner);\n\n    /**\n     * @dev Indicates a `tokenId` whose `owner` is the zero address.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721NonexistentToken(uint256 tokenId);\n\n    /**\n     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param tokenId Identifier number of a token.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC721InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC721InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC721InsufficientApproval(address operator, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC721InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC721InvalidOperator(address operator);\n}\n\n/**\n * @dev Standard ERC1155 Errors\n * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.\n */\ninterface IERC1155Errors {\n    /**\n     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     * @param balance Current balance for the interacting account.\n     * @param needed Minimum amount required to perform a transfer.\n     * @param tokenId Identifier number of a token.\n     */\n    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);\n\n    /**\n     * @dev Indicates a failure with the token `sender`. Used in transfers.\n     * @param sender Address whose tokens are being transferred.\n     */\n    error ERC1155InvalidSender(address sender);\n\n    /**\n     * @dev Indicates a failure with the token `receiver`. Used in transfers.\n     * @param receiver Address to which tokens are being transferred.\n     */\n    error ERC1155InvalidReceiver(address receiver);\n\n    /**\n     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     * @param owner Address of the current owner of a token.\n     */\n    error ERC1155MissingApprovalForAll(address operator, address owner);\n\n    /**\n     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.\n     * @param approver Address initiating an approval operation.\n     */\n    error ERC1155InvalidApprover(address approver);\n\n    /**\n     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.\n     * @param operator Address that may be allowed to operate on tokens without being their owner.\n     */\n    error ERC1155InvalidOperator(address operator);\n\n    /**\n     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.\n     * Used in batch transfers.\n     * @param idsLength Length of the array of token identifiers\n     * @param valuesLength Length of the array of token amounts\n     */\n    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/token/ERC20/ERC20.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC20} from \"./IERC20.sol\";\nimport {IERC20Metadata} from \"./extensions/IERC20Metadata.sol\";\nimport {Context} from \"../../utils/Context.sol\";\nimport {IERC20Errors} from \"../../interfaces/draft-IERC6093.sol\";\n\n/**\n * @dev Implementation of the {IERC20} interface.\n *\n * This implementation is agnostic to the way tokens are created. This means\n * that a supply mechanism has to be added in a derived contract using {_mint}.\n *\n * TIP: For a detailed writeup see our guide\n * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How\n * to implement supply mechanisms].\n *\n * The default value of {decimals} is 18. To change this, you should override\n * this function so it returns a different value.\n *\n * We have followed general OpenZeppelin Contracts guidelines: functions revert\n * instead returning `false` on failure. This behavior is nonetheless\n * conventional and does not conflict with the expectations of ERC20\n * applications.\n *\n * Additionally, an {Approval} event is emitted on calls to {transferFrom}.\n * This allows applications to reconstruct the allowance for all accounts just\n * by listening to said events. Other implementations of the EIP may not emit\n * these events, as it isn't required by the specification.\n */\nabstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {\n    mapping(address account => uint256) private _balances;\n\n    mapping(address account => mapping(address spender => uint256)) private _allowances;\n\n    uint256 private _totalSupply;\n\n    string private _name;\n    string private _symbol;\n\n    /**\n     * @dev Sets the values for {name} and {symbol}.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    constructor(string memory name_, string memory symbol_) {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual returns (string memory) {\n        return _name;\n    }\n\n    /**\n     * @dev Returns the symbol of the token, usually a shorter version of the\n     * name.\n     */\n    function symbol() public view virtual returns (string memory) {\n        return _symbol;\n    }\n\n    /**\n     * @dev Returns the number of decimals used to get its user representation.\n     * For example, if `decimals` equals `2`, a balance of `505` tokens should\n     * be displayed to a user as `5.05` (`505 / 10 ** 2`).\n     *\n     * Tokens usually opt for a value of 18, imitating the relationship between\n     * Ether and Wei. This is the default value returned by this function, unless\n     * it's overridden.\n     *\n     * NOTE: This information is only used for _display_ purposes: it in\n     * no way affects any of the arithmetic of the contract, including\n     * {IERC20-balanceOf} and {IERC20-transfer}.\n     */\n    function decimals() public view virtual returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual returns (uint256) {\n        return _totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual returns (uint256) {\n        return _balances[account];\n    }\n\n    /**\n     * @dev See {IERC20-transfer}.\n     *\n     * Requirements:\n     *\n     * - `to` cannot be the zero address.\n     * - the caller must have a balance of at least `value`.\n     */\n    function transfer(address to, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual returns (uint256) {\n        return _allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `value` is the maximum `uint256`, the allowance is not updated on\n     * `transferFrom`. This is semantically equivalent to an infinite approval.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function approve(address spender, uint256 value) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, value);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-transferFrom}.\n     *\n     * Emits an {Approval} event indicating the updated allowance. This is not\n     * required by the EIP. See the note at the beginning of {ERC20}.\n     *\n     * NOTE: Does not update the allowance if the current allowance\n     * is the maximum `uint256`.\n     *\n     * Requirements:\n     *\n     * - `from` and `to` cannot be the zero address.\n     * - `from` must have a balance of at least `value`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `value`.\n     */\n    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, value);\n        _transfer(from, to, value);\n        return true;\n    }\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to`.\n     *\n     * This internal function is equivalent to {transfer}, and can be used to\n     * e.g. implement automatic token fees, slashing mechanisms, etc.\n     *\n     * Emits a {Transfer} event.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _transfer(address from, address to, uint256 value) internal {\n        if (from == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        if (to == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(from, to, value);\n    }\n\n    /**\n     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`\n     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding\n     * this function.\n     *\n     * Emits a {Transfer} event.\n     */\n    function _update(address from, address to, uint256 value) internal virtual {\n        if (from == address(0)) {\n            // Overflow check required: The rest of the code assumes that totalSupply never overflows\n            _totalSupply += value;\n        } else {\n            uint256 fromBalance = _balances[from];\n            if (fromBalance < value) {\n                revert ERC20InsufficientBalance(from, fromBalance, value);\n            }\n            unchecked {\n                // Overflow not possible: value <= fromBalance <= totalSupply.\n                _balances[from] = fromBalance - value;\n            }\n        }\n\n        if (to == address(0)) {\n            unchecked {\n                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.\n                _totalSupply -= value;\n            }\n        } else {\n            unchecked {\n                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.\n                _balances[to] += value;\n            }\n        }\n\n        emit Transfer(from, to, value);\n    }\n\n    /**\n     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).\n     * Relies on the `_update` mechanism\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead.\n     */\n    function _mint(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidReceiver(address(0));\n        }\n        _update(address(0), account, value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.\n     * Relies on the `_update` mechanism.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * NOTE: This function is not virtual, {_update} should be overridden instead\n     */\n    function _burn(address account, uint256 value) internal {\n        if (account == address(0)) {\n            revert ERC20InvalidSender(address(0));\n        }\n        _update(account, address(0), value);\n    }\n\n    /**\n     * @dev Sets `value` as the allowance of `spender` over the `owner` s tokens.\n     *\n     * This internal function is equivalent to `approve`, and can be used to\n     * e.g. set automatic allowances for certain subsystems, etc.\n     *\n     * Emits an {Approval} event.\n     *\n     * Requirements:\n     *\n     * - `owner` cannot be the zero address.\n     * - `spender` cannot be the zero address.\n     *\n     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.\n     */\n    function _approve(address owner, address spender, uint256 value) internal {\n        _approve(owner, spender, value, true);\n    }\n\n    /**\n     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.\n     *\n     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by\n     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any\n     * `Approval` event during `transferFrom` operations.\n     *\n     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to\n     * true using the following override:\n     * ```\n     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {\n     *     super._approve(owner, spender, value, true);\n     * }\n     * ```\n     *\n     * Requirements are the same as {_approve}.\n     */\n    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {\n        if (owner == address(0)) {\n            revert ERC20InvalidApprover(address(0));\n        }\n        if (spender == address(0)) {\n            revert ERC20InvalidSpender(address(0));\n        }\n        _allowances[owner][spender] = value;\n        if (emitEvent) {\n            emit Approval(owner, spender, value);\n        }\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `value`.\n     *\n     * Does not update the allowance value in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Does not emit an {Approval} event.\n     */\n    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance != type(uint256).max) {\n            if (currentAllowance < value) {\n                revert ERC20InsufficientAllowance(spender, currentAllowance, value);\n            }\n            unchecked {\n                _approve(owner, spender, currentAllowance - value, false);\n            }\n        }\n    }\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/token/ERC20/IERC20.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20 {\n    /**\n     * @dev Emitted when `value` tokens are moved from one account (`from`) to\n     * another (`to`).\n     *\n     * Note that `value` may be zero.\n     */\n    event Transfer(address indexed from, address indexed to, uint256 value);\n\n    /**\n     * @dev Emitted when the allowance of a `spender` for an `owner` is set by\n     * a call to {approve}. `value` is the new allowance.\n     */\n    event Approval(address indexed owner, address indexed spender, uint256 value);\n\n    /**\n     * @dev Returns the value of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the value of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves a `value` amount of tokens from the caller's account to `to`.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Returns the remaining number of tokens that `spender` will be\n     * allowed to spend on behalf of `owner` through {transferFrom}. This is\n     * zero by default.\n     *\n     * This value changes when {approve} or {transferFrom} are called.\n     */\n    function allowance(address owner, address spender) external view returns (uint256);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * IMPORTANT: Beware that changing an allowance with this method brings the risk\n     * that someone may use both the old and the new allowance by unfortunate\n     * transaction ordering. One possible solution to mitigate this race\n     * condition is to first reduce the spender's allowance to 0 and set the\n     * desired value afterwards:\n     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729\n     *\n     * Emits an {Approval} event.\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Moves a `value` amount of tokens from `from` to `to` using the\n     * allowance mechanism. `value` is then deducted from the caller's\n     * allowance.\n     *\n     * Returns a boolean value indicating whether the operation succeeded.\n     *\n     * Emits a {Transfer} event.\n     */\n    function transferFrom(address from, address to, uint256 value) external returns (bool);\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/token/ERC20/extensions/ERC20Burnable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/ERC20Burnable.sol)\n\npragma solidity ^0.8.20;\n\nimport {ERC20} from \"../ERC20.sol\";\nimport {Context} from \"../../../utils/Context.sol\";\n\n/**\n * @dev Extension of {ERC20} that allows token holders to destroy both their own\n * tokens and those that they have an allowance for, in a way that can be\n * recognized off-chain (via event analysis).\n */\nabstract contract ERC20Burnable is Context, ERC20 {\n    /**\n     * @dev Destroys a `value` amount of tokens from the caller.\n     *\n     * See {ERC20-_burn}.\n     */\n    function burn(uint256 value) public virtual {\n        _burn(_msgSender(), value);\n    }\n\n    /**\n     * @dev Destroys a `value` amount of tokens from `account`, deducting from\n     * the caller's allowance.\n     *\n     * See {ERC20-_burn} and {ERC20-allowance}.\n     *\n     * Requirements:\n     *\n     * - the caller must have allowance for ``accounts``'s tokens of at least\n     * `value`.\n     */\n    function burnFrom(address account, uint256 value) public virtual {\n        _spendAllowance(account, _msgSender(), value);\n        _burn(account, value);\n    }\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/utils/Pausable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/Pausable.sol)\n\npragma solidity ^0.8.20;\n\nimport {Context} from \"../utils/Context.sol\";\n\n/**\n * @dev Contract module which allows children to implement an emergency stop\n * mechanism that can be triggered by an authorized account.\n *\n * This module is used through inheritance. It will make available the\n * modifiers `whenNotPaused` and `whenPaused`, which can be applied to\n * the functions of your contract. Note that they will not be pausable by\n * simply including this module, only once the modifiers are put in place.\n */\nabstract contract Pausable is Context {\n    bool private _paused;\n\n    /**\n     * @dev Emitted when the pause is triggered by `account`.\n     */\n    event Paused(address account);\n\n    /**\n     * @dev Emitted when the pause is lifted by `account`.\n     */\n    event Unpaused(address account);\n\n    /**\n     * @dev The operation failed because the contract is paused.\n     */\n    error EnforcedPause();\n\n    /**\n     * @dev The operation failed because the contract is not paused.\n     */\n    error ExpectedPause();\n\n    /**\n     * @dev Initializes the contract in unpaused state.\n     */\n    constructor() {\n        _paused = false;\n    }\n\n    /**\n     * @dev Modifier to make a function callable only when the contract is not paused.\n     *\n     * Requirements:\n     *\n     * - The contract must not be paused.\n     */\n    modifier whenNotPaused() {\n        _requireNotPaused();\n        _;\n    }\n\n    /**\n     * @dev Modifier to make a function callable only when the contract is paused.\n     *\n     * Requirements:\n     *\n     * - The contract must be paused.\n     */\n    modifier whenPaused() {\n        _requirePaused();\n        _;\n    }\n\n    /**\n     * @dev Returns true if the contract is paused, and false otherwise.\n     */\n    function paused() public view virtual returns (bool) {\n        return _paused;\n    }\n\n    /**\n     * @dev Throws if the contract is paused.\n     */\n    function _requireNotPaused() internal view virtual {\n        if (paused()) {\n            revert EnforcedPause();\n        }\n    }\n\n    /**\n     * @dev Throws if the contract is not paused.\n     */\n    function _requirePaused() internal view virtual {\n        if (!paused()) {\n            revert ExpectedPause();\n        }\n    }\n\n    /**\n     * @dev Triggers stopped state.\n     *\n     * Requirements:\n     *\n     * - The contract must not be paused.\n     */\n    function _pause() internal virtual whenNotPaused {\n        _paused = true;\n        emit Paused(_msgSender());\n    }\n\n    /**\n     * @dev Returns to normal state.\n     *\n     * Requirements:\n     *\n     * - The contract must be paused.\n     */\n    function _unpause() internal virtual whenPaused {\n        _paused = false;\n        emit Unpaused(_msgSender());\n    }\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/utils/introspection/ERC165.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)\n\npragma solidity ^0.8.20;\n\nimport {IERC165} from \"./IERC165.sol\";\n\n/**\n * @dev Implementation of the {IERC165} interface.\n *\n * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check\n * for the additional interface id that will be supported. For example:\n *\n * ```solidity\n * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {\n *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);\n * }\n * ```\n */\nabstract contract ERC165 is IERC165 {\n    /**\n     * @dev See {IERC165-supportsInterface}.\n     */\n    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {\n        return interfaceId == type(IERC165).interfaceId;\n    }\n}\n"},{"file_path":"npm/@openzeppelin/contracts@5.0.1/utils/introspection/IERC165.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)\n\npragma solidity ^0.8.20;\n\n/**\n * @dev Interface of the ERC165 standard, as defined in the\n * https://eips.ethereum.org/EIPS/eip-165[EIP].\n *\n * Implementers can declare support of contract interfaces, which can then be\n * queried by others ({ERC165Checker}).\n *\n * For an implementation, see {ERC165}.\n */\ninterface IERC165 {\n    /**\n     * @dev Returns true if this contract implements the interface defined by\n     * `interfaceId`. See the corresponding\n     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]\n     * to learn more about how these ids are created.\n     *\n     * This function call must use less than 30 000 gas.\n     */\n    function supportsInterface(bytes4 interfaceId) external view returns (bool);\n}\n"}],"is_verified_via_sourcify":false,"can_be_visualized_via_sol2uml":true,"evm_version":"cancun","language":"solidity","is_verified_via_eth_bytecode_db":false,"is_fully_verified":true,"license_type":"none","is_blueprint":false,"name":"RoyalEuro","creation_bytecode":"0x608060405234801561000f575f5ffd5b506040516124f03803806124f083398101604081905261002e91610333565b338888600361003d8382610498565b50600461004a8282610498565b50506005805460ff19169055506001600160a01b03811661008457604051631e4fbdf760e01b81525f600482015260240160405180910390fd5b61008d81610175565b50600761009a8782610498565b50600a805460ff191660011790556100b25f826101ce565b506100dd7f2d180871852095b41dfe8af2ceec0b5478b065bdb0317231b15e87d7d70434a7866101ce565b506101087f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a856101ce565b506101337f98db8a220cd0f09badce9f22d0ba7e93edb3d404448cc3560d391ab096ad16e9846101ce565b5061015e7fcf6f9f892731e14b8859835f2ff35575f447fb501f46243c4eb8bac19e31a050836101ce565b5061016881610175565b5050505050505050610552565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b5f8281526006602090815260408083206001600160a01b038516845290915281205460ff16610272575f8381526006602090815260408083206001600160a01b03861684529091529020805460ff1916600117905561022a3390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a4506001610275565b505f5b92915050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f83011261029e575f5ffd5b81516001600160401b038111156102b7576102b761027b565b604051601f8201601f19908116603f011681016001600160401b03811182821017156102e5576102e561027b565b6040528181528382016020018510156102fc575f5ffd5b8160208501602083015e5f918101602001919091529392505050565b80516001600160a01b038116811461032e575f5ffd5b919050565b5f5f5f5f5f5f5f5f610100898b03121561034b575f5ffd5b88516001600160401b03811115610360575f5ffd5b61036c8b828c0161028f565b60208b015190995090506001600160401b03811115610389575f5ffd5b6103958b828c0161028f565b60408b015190985090506001600160401b038111156103b2575f5ffd5b6103be8b828c0161028f565b9650506103cd60608a01610318565b94506103db60808a01610318565b93506103e960a08a01610318565b92506103f760c08a01610318565b915061040560e08a01610318565b90509295985092959890939650565b600181811c9082168061042857607f821691505b60208210810361044657634e487b7160e01b5f52602260045260245ffd5b50919050565b601f82111561049357805f5260205f20601f840160051c810160208510156104715750805b601f840160051c820191505b81811015610490575f815560010161047d565b50505b505050565b81516001600160401b038111156104b1576104b161027b565b6104c5816104bf8454610414565b8461044c565b6020601f8211600181146104f7575f83156104e05750848201515b5f19600385901b1c1916600184901b178455610490565b5f84815260208120601f198516915b828110156105265787850151825560209485019460019092019101610506565b508482101561054357868401515f19600387901b60f8161c191681555b50505050600190811b01905550565b611f918061055f5f395ff3fe608060405260043610610262575f3560e01c80637a1cf8a51161013f578063c39215da116100b3578063dd62ed3e11610078578063dd62ed3e14610790578063e5a6b10f146107d4578063e63ab1e9146107e8578063f2fde38b1461081b578063f515e6f21461083a578063fe575a871461085a575f5ffd5b8063c39215da146106e5578063c6a276c214610704578063d539139314610723578063d547741f14610743578063dbac26e914610762575f5ffd5b806391d148541161010457806391d148541461064157806395d89b4114610660578063a217fddf14610674578063a9059cbb14610687578063aa271e1a146106a6578063ae71e022146106c5575f5ffd5b80637a1cf8a51461057a57806382463271146105995780638456cb59146105cd5780638a6db9c3146105e15780638da5cb5b1461060c575f5ffd5b80633f4ba83a116101d65780635a9a75661161019b5780635a9a7566146104aa5780635c975abb146104c957806370a08231146104e05780637137254414610514578063715018a61461054757806379cc67901461055b575f5ffd5b80633f4ba83a1461041a57806340c10f191461042e57806342966c681461044d578063439867381461046c5780634e44d9561461048b575f5ffd5b806323b872dd1161022757806323b872dd14610355578063248a9ca3146103745780632f2ff15d146103a25780633092afd5146103c1578063313ce567146103e057806336568abe146103fb575f5ffd5b806301ffc9a7146102a257806306fdde03146102d6578063095ea7b3146102f757806318160ddd14610316578063188efc1614610334575f5ffd5b3661029e5760405134815233907f7e71433ddf847725166244795048ecf3e3f9f35628254ecbf7360566642334939060200160405180910390a2005b5f5ffd5b3480156102ad575f5ffd5b506102c16102bc366004611c5d565b610891565b60405190151581526020015b60405180910390f35b3480156102e1575f5ffd5b506102ea6108c7565b6040516102cd9190611c84565b348015610302575f5ffd5b506102c1610311366004611cd4565b610957565b348015610321575f5ffd5b506002545b6040519081526020016102cd565b34801561033f575f5ffd5b5061035361034e366004611cfc565b61096e565b005b348015610360575f5ffd5b506102c161036f366004611d15565b6109d1565b34801561037f575f5ffd5b5061032661038e366004611d4f565b5f9081526006602052604090206001015490565b3480156103ad575f5ffd5b506103536103bc366004611d66565b6109f6565b3480156103cc575f5ffd5b506103536103db366004611cfc565b610a20565b3480156103eb575f5ffd5b50604051601281526020016102cd565b348015610406575f5ffd5b50610353610415366004611d66565b610aaf565b348015610425575f5ffd5b50610353610ae7565b348015610439575f5ffd5b506102c1610448366004611cd4565b610b1c565b348015610458575f5ffd5b50610353610467366004611d4f565b610caf565b348015610477575f5ffd5b50610353610486366004611d90565b610cb9565b348015610496575f5ffd5b506103536104a5366004611cd4565b610edb565b3480156104b5575f5ffd5b506103536104c4366004611db8565b610f7f565b3480156104d4575f5ffd5b5060055460ff166102c1565b3480156104eb575f5ffd5b506103266104fa366004611cfc565b6001600160a01b03165f9081526020819052604090205490565b34801561051f575f5ffd5b506103267fcf6f9f892731e14b8859835f2ff35575f447fb501f46243c4eb8bac19e31a05081565b348015610552575f5ffd5b50610353611056565b348015610566575f5ffd5b50610353610575366004611cd4565b611069565b348015610585575f5ffd5b50610353610594366004611db8565b611082565b3480156105a4575f5ffd5b506103266105b3366004611cfc565b6001600160a01b03165f9081526009602052604090205490565b3480156105d8575f5ffd5b5061035361115a565b3480156105ec575f5ffd5b506103266105fb366004611cfc565b60096020525f908152604090205481565b348015610617575f5ffd5b5060055461010090046001600160a01b03166040516001600160a01b0390911681526020016102cd565b34801561064c575f5ffd5b506102c161065b366004611d66565b61118c565b34801561066b575f5ffd5b506102ea6111b6565b34801561067f575f5ffd5b506103265f81565b348015610692575f5ffd5b506102c16106a1366004611cd4565b6111c5565b3480156106b1575f5ffd5b506102c16106c0366004611cfc565b6111d2565b3480156106d0575f5ffd5b506103265f516020611efc5f395f51905f5281565b3480156106f0575f5ffd5b506102c16106ff366004611cd4565b6111ea565b34801561070f575f5ffd5b5061035361071e366004611cfc565b6112c1565b34801561072e575f5ffd5b506103265f516020611f1c5f395f51905f5281565b34801561074e575f5ffd5b5061035361075d366004611d66565b611321565b34801561076d575f5ffd5b506102c161077c366004611cfc565b60086020525f908152604090205460ff1681565b34801561079b575f5ffd5b506103266107aa366004611d90565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156107df575f5ffd5b506102ea611345565b3480156107f3575f5ffd5b506103267f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b348015610826575f5ffd5b50610353610835366004611cfc565b6113d1565b348015610845575f5ffd5b506103265f516020611f3c5f395f51905f5281565b348015610865575f5ffd5b506102c1610874366004611cfc565b6001600160a01b03165f9081526008602052604090205460ff1690565b5f6001600160e01b03198216637965db0b60e01b14806108c157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546108d690611e29565b80601f016020809104026020016040519081016040528092919081815260200182805461090290611e29565b801561094d5780601f106109245761010080835404028352916020019161094d565b820191905f5260205f20905b81548152906001019060200180831161093057829003601f168201915b5050505050905090565b5f3361096481858561140b565b5060019392505050565b5f516020611f3c5f395f51905f5261098581611418565b6001600160a01b0382165f81815260086020526040808220805460ff19166001179055517fdbe320accb74107e8da655fa6a1e2b454c3102a3985d4201aba99308881a410a9190a25050565b5f336109de858285611422565b6109e9858585611497565b60019150505b9392505050565b5f82815260066020526040902060010154610a1081611418565b610a1a83836114f4565b50505050565b610a375f516020611efc5f395f51905f523361118c565b610a545760405163d5295ad160e01b815260040160405180910390fd5b610a6b5f516020611f1c5f395f51905f5282611585565b506001600160a01b0381165f81815260096020526040808220829055517fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb666929190a250565b6001600160a01b0381163314610ad85760405163334bd91960e11b815260040160405180910390fd5b610ae28282611585565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610b1181611418565b610b196115f0565b50565b5f610b25611642565b610b3c5f516020611f1c5f395f51905f523361118c565b610b5957604051633e34a41b60e21b815260040160405180910390fd5b335f8181526008602052604090205460ff1615610b9c576040516001620b633d60e31b031981526001600160a01b03821660048201526024015b60405180910390fd5b6001600160a01b0384165f90815260086020526040902054849060ff1615610be5576040516001620b633d60e31b031981526001600160a01b0382166004820152602401610b93565b6001600160a01b038516610c0c5760405163d92e233d60e01b815260040160405180910390fd5b835f03610c2c576040516365e52d5160e11b815260040160405180910390fd5b335f90815260096020526040902054841115610c7657335f9081526009602052604090819020549051635492412b60e11b8152610b93918691600401918252602082015260400190565b335f9081526009602052604081208054869290610c94908490611e75565b90915550610ca490508585611666565b506001949350505050565b610b19338261169a565b7fcf6f9f892731e14b8859835f2ff35575f447fb501f46243c4eb8bac19e31a050610ce381611418565b6001600160a01b038216610d0a5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b038316158015610d2057505f47115b15610db7575f826001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610d6e576040519150601f19603f3d011682016040523d82523d5f602084013e610d73565b606091505b5050905080610a1a5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610b93565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015610df9573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1d9190611e88565b5f03610e5e5760405162461bcd60e51b815260206004820152601060248201526f4e6f20746f6b656e2062616c616e636560801b6044820152606401610b93565b6040516370a0823160e01b8152306004820152610ae29083906001600160a01b038616906370a0823190602401602060405180830381865afa158015610ea6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eca9190611e88565b6001600160a01b03861691906116ce565b610ef25f516020611efc5f395f51905f523361118c565b610f0f5760405163d5295ad160e01b815260040160405180910390fd5b610f265f516020611f1c5f395f51905f52836114f4565b506001600160a01b0382165f8181526009602052604090819020839055517f46980fca912ef9bcdbd36877427b6b90e860769f604e89c0e67720cece530d2090610f739084815260200190565b60405180910390a25050565b5f516020611f3c5f395f51905f52610f9681611418565b5f5b82811015610a1a575f60085f868685818110610fb657610fb6611e9f565b9050602002016020810190610fcb9190611cfc565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905583838281811061100457611004611e9f565b90506020020160208101906110199190611cfc565b6001600160a01b03167ff38e60871ec534937251cd91cad807e15f55f1f6815128faecc256e71994b49760405160405180910390a2600101610f98565b61105e611720565b6110675f611753565b565b611074823383611422565b61107e828261169a565b5050565b5f516020611f3c5f395f51905f5261109981611418565b5f5b82811015610a1a57600160085f8686858181106110ba576110ba611e9f565b90506020020160208101906110cf9190611cfc565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905583838281811061110857611108611e9f565b905060200201602081019061111d9190611cfc565b6001600160a01b03167fdbe320accb74107e8da655fa6a1e2b454c3102a3985d4201aba99308881a410a60405160405180910390a260010161109b565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61118481611418565b610b196117ac565b5f9182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546108d690611e29565b5f33610964818585611497565b5f6108c15f516020611f1c5f395f51905f528361118c565b5f6111f3611642565b61120a5f516020611efc5f395f51905f523361118c565b6112275760405163d5295ad160e01b815260040160405180910390fd5b6001600160a01b0383165f90815260086020526040902054839060ff1615611270576040516001620b633d60e31b031981526001600160a01b0382166004820152602401610b93565b6001600160a01b0384166112975760405163d92e233d60e01b815260040160405180910390fd5b825f036112b7576040516365e52d5160e11b815260040160405180910390fd5b6109648484611666565b5f516020611f3c5f395f51905f526112d881611418565b6001600160a01b0382165f81815260086020526040808220805460ff19169055517ff38e60871ec534937251cd91cad807e15f55f1f6815128faecc256e71994b4979190a25050565b5f8281526006602052604090206001015461133b81611418565b610a1a8383611585565b6007805461135290611e29565b80601f016020809104026020016040519081016040528092919081815260200182805461137e90611e29565b80156113c95780601f106113a0576101008083540402835291602001916113c9565b820191905f5260205f20905b8154815290600101906020018083116113ac57829003601f168201915b505050505081565b6113d9611720565b6001600160a01b03811661140257604051631e4fbdf760e01b81525f6004820152602401610b93565b610b1981611753565b610ae283838360016117e9565b610b1981336118bb565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610a1a578181101561148957604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610b93565b610a1a84848484035f6117e9565b6001600160a01b0383166114c057604051634b637e8f60e11b81525f6004820152602401610b93565b6001600160a01b0382166114e95760405163ec442f0560e01b81525f6004820152602401610b93565b610ae28383836118f4565b5f6114ff838361118c565b61157e575f8381526006602090815260408083206001600160a01b03861684529091529020805460ff191660011790556115363390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016108c1565b505f6108c1565b5f611590838361118c565b1561157e575f8381526006602090815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016108c1565b6115f86119b1565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60055460ff16156110675760405163d93c066560e01b815260040160405180910390fd5b6001600160a01b03821661168f5760405163ec442f0560e01b81525f6004820152602401610b93565b61107e5f83836118f4565b6001600160a01b0382166116c357604051634b637e8f60e11b81525f6004820152602401610b93565b61107e825f836118f4565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ae29084906119d4565b6005546001600160a01b036101009091041633146110675760405163118cdaa760e01b8152336004820152602401610b93565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6117b4611642565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116253390565b6001600160a01b0384166118125760405163e602df0560e01b81525f6004820152602401610b93565b6001600160a01b03831661183b57604051634a1406b160e11b81525f6004820152602401610b93565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610a1a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516118ad91815260200190565b60405180910390a350505050565b6118c5828261118c565b61107e5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610b93565b60055460ff16156119185760405163ab35696f60e01b815260040160405180910390fd5b6001600160a01b0383165f9081526008602052604090205460ff161561195f576040516001620b633d60e31b031981526001600160a01b0384166004820152602401610b93565b6001600160a01b0382165f9081526008602052604090205460ff16156119a6576040516001620b633d60e31b031981526001600160a01b0383166004820152602401610b93565b610ae2838383611a35565b60055460ff1661106757604051638dfc202b60e01b815260040160405180910390fd5b5f6119e86001600160a01b03841683611b5b565b905080515f14158015611a0c575080806020019051810190611a0a9190611eb3565b155b15610ae257604051635274afe760e01b81526001600160a01b0384166004820152602401610b93565b6001600160a01b038316611a5f578060025f828254611a549190611ed2565b90915550611acf9050565b6001600160a01b0383165f9081526020819052604090205481811015611ab15760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610b93565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611aeb57600280548290039055611b09565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611b4e91815260200190565b60405180910390a3505050565b60606109ef83835f845f5f856001600160a01b03168486604051611b7f9190611ee5565b5f6040518083038185875af1925050503d805f8114611bb9576040519150601f19603f3d011682016040523d82523d5f602084013e611bbe565b606091505b5091509150611bce868383611bd8565b9695505050505050565b606082611bed57611be882611c34565b6109ef565b8151158015611c0457506001600160a01b0384163b155b15611c2d57604051639996b31560e01b81526001600160a01b0385166004820152602401610b93565b50806109ef565b805115611c445780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f60208284031215611c6d575f5ffd5b81356001600160e01b0319811681146109ef575f5ffd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114611ccf575f5ffd5b919050565b5f5f60408385031215611ce5575f5ffd5b611cee83611cb9565b946020939093013593505050565b5f60208284031215611d0c575f5ffd5b6109ef82611cb9565b5f5f5f60608486031215611d27575f5ffd5b611d3084611cb9565b9250611d3e60208501611cb9565b929592945050506040919091013590565b5f60208284031215611d5f575f5ffd5b5035919050565b5f5f60408385031215611d77575f5ffd5b82359150611d8760208401611cb9565b90509250929050565b5f5f60408385031215611da1575f5ffd5b611daa83611cb9565b9150611d8760208401611cb9565b5f5f60208385031215611dc9575f5ffd5b823567ffffffffffffffff811115611ddf575f5ffd5b8301601f81018513611def575f5ffd5b803567ffffffffffffffff811115611e05575f5ffd5b8560208260051b8401011115611e19575f5ffd5b6020919091019590945092505050565b600181811c90821680611e3d57607f821691505b602082108103611e5b57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156108c1576108c1611e61565b5f60208284031215611e98575f5ffd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611ec3575f5ffd5b815180151581146109ef575f5ffd5b808201808211156108c1576108c1611e61565b5f82518060208501845e5f92019182525091905056fe2d180871852095b41dfe8af2ceec0b5478b065bdb0317231b15e87d7d70434a79f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a698db8a220cd0f09badce9f22d0ba7e93edb3d404448cc3560d391ab096ad16e9a2646970667358221220537363d56b480572e7b2eaa3f264fcc42d0a4e676d58b88490e59cb47fd125cd64736f6c634300081c0033000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000001400000000000000000000000000000000000000000000000000000000000000180000000000000000000000000484f8c8466abb2ac82f46acb0eacf79e1665de42000000000000000000000000484f8c8466abb2ac82f46acb0eacf79e1665de42000000000000000000000000484f8c8466abb2ac82f46acb0eacf79e1665de42000000000000000000000000484f8c8466abb2ac82f46acb0eacf79e1665de42000000000000000000000000484f8c8466abb2ac82f46acb0eacf79e1665de42000000000000000000000000000000000000000000000000000000000000000a526f79616c204575726f000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004524555520000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000034555520000000000000000000000000000000000000000000000000000000000","external_libraries":[],"proxy_type":null,"implementations":[],"verified_at":"2026-02-11T08:35:28.024774Z","is_verified_via_verifier_alliance":false,"compiler_version":"v0.8.28+commit.7893614a","decoded_constructor_args":[["Royal Euro",{"internalType":"string","name":"_name","type":"string"}],["REUR",{"internalType":"string","name":"_symbol","type":"string"}],["EUR",{"internalType":"string","name":"_currency","type":"string"}],["0x484f8C8466Abb2Ac82F46acb0EAcF79E1665De42",{"internalType":"address","name":"masterMinter","type":"address"}],["0x484f8C8466Abb2Ac82F46acb0EAcF79E1665De42",{"internalType":"address","name":"pauser","type":"address"}],["0x484f8C8466Abb2Ac82F46acb0EAcF79E1665De42",{"internalType":"address","name":"blacklister","type":"address"}],["0x484f8C8466Abb2Ac82F46acb0EAcF79E1665De42",{"internalType":"address","name":"rescuer","type":"address"}],["0x484f8C8466Abb2Ac82F46acb0EAcF79E1665De42",{"internalType":"address","name":"owner_","type":"address"}]],"sourcify_repo_url":null,"optimization_runs":200,"compiler_settings":{"evmVersion":"cancun","libraries":{},"optimizer":{"enabled":true,"runs":200},"outputSelection":{"*":{"":["*"],"*":["*"]}},"remappings":["project/:@openzeppelin/contracts/=npm/@openzeppelin/contracts@5.0.1/","project/:@openzeppelin/contracts/=npm/@openzeppelin/contracts@5.0.1/","project/:@openzeppelin/contracts/=npm/@openzeppelin/contracts@5.0.1/","project/:@openzeppelin/contracts/=npm/@openzeppelin/contracts@5.0.1/","project/:@openzeppelin/contracts/=npm/@openzeppelin/contracts@5.0.1/","project/:@openzeppelin/contracts/=npm/@openzeppelin/contracts@5.0.1/"]},"is_verified":true,"verified_twin_address_hash":null,"optimization_enabled":true,"deployed_bytecode":"0x608060405260043610610262575f3560e01c80637a1cf8a51161013f578063c39215da116100b3578063dd62ed3e11610078578063dd62ed3e14610790578063e5a6b10f146107d4578063e63ab1e9146107e8578063f2fde38b1461081b578063f515e6f21461083a578063fe575a871461085a575f5ffd5b8063c39215da146106e5578063c6a276c214610704578063d539139314610723578063d547741f14610743578063dbac26e914610762575f5ffd5b806391d148541161010457806391d148541461064157806395d89b4114610660578063a217fddf14610674578063a9059cbb14610687578063aa271e1a146106a6578063ae71e022146106c5575f5ffd5b80637a1cf8a51461057a57806382463271146105995780638456cb59146105cd5780638a6db9c3146105e15780638da5cb5b1461060c575f5ffd5b80633f4ba83a116101d65780635a9a75661161019b5780635a9a7566146104aa5780635c975abb146104c957806370a08231146104e05780637137254414610514578063715018a61461054757806379cc67901461055b575f5ffd5b80633f4ba83a1461041a57806340c10f191461042e57806342966c681461044d578063439867381461046c5780634e44d9561461048b575f5ffd5b806323b872dd1161022757806323b872dd14610355578063248a9ca3146103745780632f2ff15d146103a25780633092afd5146103c1578063313ce567146103e057806336568abe146103fb575f5ffd5b806301ffc9a7146102a257806306fdde03146102d6578063095ea7b3146102f757806318160ddd14610316578063188efc1614610334575f5ffd5b3661029e5760405134815233907f7e71433ddf847725166244795048ecf3e3f9f35628254ecbf7360566642334939060200160405180910390a2005b5f5ffd5b3480156102ad575f5ffd5b506102c16102bc366004611c5d565b610891565b60405190151581526020015b60405180910390f35b3480156102e1575f5ffd5b506102ea6108c7565b6040516102cd9190611c84565b348015610302575f5ffd5b506102c1610311366004611cd4565b610957565b348015610321575f5ffd5b506002545b6040519081526020016102cd565b34801561033f575f5ffd5b5061035361034e366004611cfc565b61096e565b005b348015610360575f5ffd5b506102c161036f366004611d15565b6109d1565b34801561037f575f5ffd5b5061032661038e366004611d4f565b5f9081526006602052604090206001015490565b3480156103ad575f5ffd5b506103536103bc366004611d66565b6109f6565b3480156103cc575f5ffd5b506103536103db366004611cfc565b610a20565b3480156103eb575f5ffd5b50604051601281526020016102cd565b348015610406575f5ffd5b50610353610415366004611d66565b610aaf565b348015610425575f5ffd5b50610353610ae7565b348015610439575f5ffd5b506102c1610448366004611cd4565b610b1c565b348015610458575f5ffd5b50610353610467366004611d4f565b610caf565b348015610477575f5ffd5b50610353610486366004611d90565b610cb9565b348015610496575f5ffd5b506103536104a5366004611cd4565b610edb565b3480156104b5575f5ffd5b506103536104c4366004611db8565b610f7f565b3480156104d4575f5ffd5b5060055460ff166102c1565b3480156104eb575f5ffd5b506103266104fa366004611cfc565b6001600160a01b03165f9081526020819052604090205490565b34801561051f575f5ffd5b506103267fcf6f9f892731e14b8859835f2ff35575f447fb501f46243c4eb8bac19e31a05081565b348015610552575f5ffd5b50610353611056565b348015610566575f5ffd5b50610353610575366004611cd4565b611069565b348015610585575f5ffd5b50610353610594366004611db8565b611082565b3480156105a4575f5ffd5b506103266105b3366004611cfc565b6001600160a01b03165f9081526009602052604090205490565b3480156105d8575f5ffd5b5061035361115a565b3480156105ec575f5ffd5b506103266105fb366004611cfc565b60096020525f908152604090205481565b348015610617575f5ffd5b5060055461010090046001600160a01b03166040516001600160a01b0390911681526020016102cd565b34801561064c575f5ffd5b506102c161065b366004611d66565b61118c565b34801561066b575f5ffd5b506102ea6111b6565b34801561067f575f5ffd5b506103265f81565b348015610692575f5ffd5b506102c16106a1366004611cd4565b6111c5565b3480156106b1575f5ffd5b506102c16106c0366004611cfc565b6111d2565b3480156106d0575f5ffd5b506103265f516020611efc5f395f51905f5281565b3480156106f0575f5ffd5b506102c16106ff366004611cd4565b6111ea565b34801561070f575f5ffd5b5061035361071e366004611cfc565b6112c1565b34801561072e575f5ffd5b506103265f516020611f1c5f395f51905f5281565b34801561074e575f5ffd5b5061035361075d366004611d66565b611321565b34801561076d575f5ffd5b506102c161077c366004611cfc565b60086020525f908152604090205460ff1681565b34801561079b575f5ffd5b506103266107aa366004611d90565b6001600160a01b039182165f90815260016020908152604080832093909416825291909152205490565b3480156107df575f5ffd5b506102ea611345565b3480156107f3575f5ffd5b506103267f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a81565b348015610826575f5ffd5b50610353610835366004611cfc565b6113d1565b348015610845575f5ffd5b506103265f516020611f3c5f395f51905f5281565b348015610865575f5ffd5b506102c1610874366004611cfc565b6001600160a01b03165f9081526008602052604090205460ff1690565b5f6001600160e01b03198216637965db0b60e01b14806108c157506301ffc9a760e01b6001600160e01b03198316145b92915050565b6060600380546108d690611e29565b80601f016020809104026020016040519081016040528092919081815260200182805461090290611e29565b801561094d5780601f106109245761010080835404028352916020019161094d565b820191905f5260205f20905b81548152906001019060200180831161093057829003601f168201915b5050505050905090565b5f3361096481858561140b565b5060019392505050565b5f516020611f3c5f395f51905f5261098581611418565b6001600160a01b0382165f81815260086020526040808220805460ff19166001179055517fdbe320accb74107e8da655fa6a1e2b454c3102a3985d4201aba99308881a410a9190a25050565b5f336109de858285611422565b6109e9858585611497565b60019150505b9392505050565b5f82815260066020526040902060010154610a1081611418565b610a1a83836114f4565b50505050565b610a375f516020611efc5f395f51905f523361118c565b610a545760405163d5295ad160e01b815260040160405180910390fd5b610a6b5f516020611f1c5f395f51905f5282611585565b506001600160a01b0381165f81815260096020526040808220829055517fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb666929190a250565b6001600160a01b0381163314610ad85760405163334bd91960e11b815260040160405180910390fd5b610ae28282611585565b505050565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a610b1181611418565b610b196115f0565b50565b5f610b25611642565b610b3c5f516020611f1c5f395f51905f523361118c565b610b5957604051633e34a41b60e21b815260040160405180910390fd5b335f8181526008602052604090205460ff1615610b9c576040516001620b633d60e31b031981526001600160a01b03821660048201526024015b60405180910390fd5b6001600160a01b0384165f90815260086020526040902054849060ff1615610be5576040516001620b633d60e31b031981526001600160a01b0382166004820152602401610b93565b6001600160a01b038516610c0c5760405163d92e233d60e01b815260040160405180910390fd5b835f03610c2c576040516365e52d5160e11b815260040160405180910390fd5b335f90815260096020526040902054841115610c7657335f9081526009602052604090819020549051635492412b60e11b8152610b93918691600401918252602082015260400190565b335f9081526009602052604081208054869290610c94908490611e75565b90915550610ca490508585611666565b506001949350505050565b610b19338261169a565b7fcf6f9f892731e14b8859835f2ff35575f447fb501f46243c4eb8bac19e31a050610ce381611418565b6001600160a01b038216610d0a5760405163d92e233d60e01b815260040160405180910390fd5b6001600160a01b038316158015610d2057505f47115b15610db7575f826001600160a01b0316476040515f6040518083038185875af1925050503d805f8114610d6e576040519150601f19603f3d011682016040523d82523d5f602084013e610d73565b606091505b5050905080610a1a5760405162461bcd60e51b815260206004820152601060248201526f2a3930b739b332b9103330b4b632b21760811b6044820152606401610b93565b6040516370a0823160e01b81523060048201526001600160a01b038416906370a0823190602401602060405180830381865afa158015610df9573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610e1d9190611e88565b5f03610e5e5760405162461bcd60e51b815260206004820152601060248201526f4e6f20746f6b656e2062616c616e636560801b6044820152606401610b93565b6040516370a0823160e01b8152306004820152610ae29083906001600160a01b038616906370a0823190602401602060405180830381865afa158015610ea6573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610eca9190611e88565b6001600160a01b03861691906116ce565b610ef25f516020611efc5f395f51905f523361118c565b610f0f5760405163d5295ad160e01b815260040160405180910390fd5b610f265f516020611f1c5f395f51905f52836114f4565b506001600160a01b0382165f8181526009602052604090819020839055517f46980fca912ef9bcdbd36877427b6b90e860769f604e89c0e67720cece530d2090610f739084815260200190565b60405180910390a25050565b5f516020611f3c5f395f51905f52610f9681611418565b5f5b82811015610a1a575f60085f868685818110610fb657610fb6611e9f565b9050602002016020810190610fcb9190611cfc565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905583838281811061100457611004611e9f565b90506020020160208101906110199190611cfc565b6001600160a01b03167ff38e60871ec534937251cd91cad807e15f55f1f6815128faecc256e71994b49760405160405180910390a2600101610f98565b61105e611720565b6110675f611753565b565b611074823383611422565b61107e828261169a565b5050565b5f516020611f3c5f395f51905f5261109981611418565b5f5b82811015610a1a57600160085f8686858181106110ba576110ba611e9f565b90506020020160208101906110cf9190611cfc565b6001600160a01b0316815260208101919091526040015f20805460ff191691151591909117905583838281811061110857611108611e9f565b905060200201602081019061111d9190611cfc565b6001600160a01b03167fdbe320accb74107e8da655fa6a1e2b454c3102a3985d4201aba99308881a410a60405160405180910390a260010161109b565b7f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862a61118481611418565b610b196117ac565b5f9182526006602090815260408084206001600160a01b0393909316845291905290205460ff1690565b6060600480546108d690611e29565b5f33610964818585611497565b5f6108c15f516020611f1c5f395f51905f528361118c565b5f6111f3611642565b61120a5f516020611efc5f395f51905f523361118c565b6112275760405163d5295ad160e01b815260040160405180910390fd5b6001600160a01b0383165f90815260086020526040902054839060ff1615611270576040516001620b633d60e31b031981526001600160a01b0382166004820152602401610b93565b6001600160a01b0384166112975760405163d92e233d60e01b815260040160405180910390fd5b825f036112b7576040516365e52d5160e11b815260040160405180910390fd5b6109648484611666565b5f516020611f3c5f395f51905f526112d881611418565b6001600160a01b0382165f81815260086020526040808220805460ff19169055517ff38e60871ec534937251cd91cad807e15f55f1f6815128faecc256e71994b4979190a25050565b5f8281526006602052604090206001015461133b81611418565b610a1a8383611585565b6007805461135290611e29565b80601f016020809104026020016040519081016040528092919081815260200182805461137e90611e29565b80156113c95780601f106113a0576101008083540402835291602001916113c9565b820191905f5260205f20905b8154815290600101906020018083116113ac57829003601f168201915b505050505081565b6113d9611720565b6001600160a01b03811661140257604051631e4fbdf760e01b81525f6004820152602401610b93565b610b1981611753565b610ae283838360016117e9565b610b1981336118bb565b6001600160a01b038381165f908152600160209081526040808320938616835292905220545f198114610a1a578181101561148957604051637dc7a0d960e11b81526001600160a01b03841660048201526024810182905260448101839052606401610b93565b610a1a84848484035f6117e9565b6001600160a01b0383166114c057604051634b637e8f60e11b81525f6004820152602401610b93565b6001600160a01b0382166114e95760405163ec442f0560e01b81525f6004820152602401610b93565b610ae28383836118f4565b5f6114ff838361118c565b61157e575f8381526006602090815260408083206001600160a01b03861684529091529020805460ff191660011790556115363390565b6001600160a01b0316826001600160a01b0316847f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45060016108c1565b505f6108c1565b5f611590838361118c565b1561157e575f8381526006602090815260408083206001600160a01b0386168085529252808320805460ff1916905551339286917ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9190a45060016108c1565b6115f86119b1565b6005805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60055460ff16156110675760405163d93c066560e01b815260040160405180910390fd5b6001600160a01b03821661168f5760405163ec442f0560e01b81525f6004820152602401610b93565b61107e5f83836118f4565b6001600160a01b0382166116c357604051634b637e8f60e11b81525f6004820152602401610b93565b61107e825f836118f4565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052610ae29084906119d4565b6005546001600160a01b036101009091041633146110675760405163118cdaa760e01b8152336004820152602401610b93565b600580546001600160a01b03838116610100818102610100600160a81b031985161790945560405193909204169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a35050565b6117b4611642565b6005805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586116253390565b6001600160a01b0384166118125760405163e602df0560e01b81525f6004820152602401610b93565b6001600160a01b03831661183b57604051634a1406b160e11b81525f6004820152602401610b93565b6001600160a01b038085165f9081526001602090815260408083209387168352929052208290558015610a1a57826001600160a01b0316846001600160a01b03167f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925846040516118ad91815260200190565b60405180910390a350505050565b6118c5828261118c565b61107e5760405163e2517d3f60e01b81526001600160a01b038216600482015260248101839052604401610b93565b60055460ff16156119185760405163ab35696f60e01b815260040160405180910390fd5b6001600160a01b0383165f9081526008602052604090205460ff161561195f576040516001620b633d60e31b031981526001600160a01b0384166004820152602401610b93565b6001600160a01b0382165f9081526008602052604090205460ff16156119a6576040516001620b633d60e31b031981526001600160a01b0383166004820152602401610b93565b610ae2838383611a35565b60055460ff1661106757604051638dfc202b60e01b815260040160405180910390fd5b5f6119e86001600160a01b03841683611b5b565b905080515f14158015611a0c575080806020019051810190611a0a9190611eb3565b155b15610ae257604051635274afe760e01b81526001600160a01b0384166004820152602401610b93565b6001600160a01b038316611a5f578060025f828254611a549190611ed2565b90915550611acf9050565b6001600160a01b0383165f9081526020819052604090205481811015611ab15760405163391434e360e21b81526001600160a01b03851660048201526024810182905260448101839052606401610b93565b6001600160a01b0384165f9081526020819052604090209082900390555b6001600160a01b038216611aeb57600280548290039055611b09565b6001600160a01b0382165f9081526020819052604090208054820190555b816001600160a01b0316836001600160a01b03167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef83604051611b4e91815260200190565b60405180910390a3505050565b60606109ef83835f845f5f856001600160a01b03168486604051611b7f9190611ee5565b5f6040518083038185875af1925050503d805f8114611bb9576040519150601f19603f3d011682016040523d82523d5f602084013e611bbe565b606091505b5091509150611bce868383611bd8565b9695505050505050565b606082611bed57611be882611c34565b6109ef565b8151158015611c0457506001600160a01b0384163b155b15611c2d57604051639996b31560e01b81526001600160a01b0385166004820152602401610b93565b50806109ef565b805115611c445780518082602001fd5b604051630a12f52160e11b815260040160405180910390fd5b5f60208284031215611c6d575f5ffd5b81356001600160e01b0319811681146109ef575f5ffd5b602081525f82518060208401528060208501604085015e5f604082850101526040601f19601f83011684010191505092915050565b80356001600160a01b0381168114611ccf575f5ffd5b919050565b5f5f60408385031215611ce5575f5ffd5b611cee83611cb9565b946020939093013593505050565b5f60208284031215611d0c575f5ffd5b6109ef82611cb9565b5f5f5f60608486031215611d27575f5ffd5b611d3084611cb9565b9250611d3e60208501611cb9565b929592945050506040919091013590565b5f60208284031215611d5f575f5ffd5b5035919050565b5f5f60408385031215611d77575f5ffd5b82359150611d8760208401611cb9565b90509250929050565b5f5f60408385031215611da1575f5ffd5b611daa83611cb9565b9150611d8760208401611cb9565b5f5f60208385031215611dc9575f5ffd5b823567ffffffffffffffff811115611ddf575f5ffd5b8301601f81018513611def575f5ffd5b803567ffffffffffffffff811115611e05575f5ffd5b8560208260051b8401011115611e19575f5ffd5b6020919091019590945092505050565b600181811c90821680611e3d57607f821691505b602082108103611e5b57634e487b7160e01b5f52602260045260245ffd5b50919050565b634e487b7160e01b5f52601160045260245ffd5b818103818111156108c1576108c1611e61565b5f60208284031215611e98575f5ffd5b5051919050565b634e487b7160e01b5f52603260045260245ffd5b5f60208284031215611ec3575f5ffd5b815180151581146109ef575f5ffd5b808201808211156108c1576108c1611e61565b5f82518060208501845e5f92019182525091905056fe2d180871852095b41dfe8af2ceec0b5478b065bdb0317231b15e87d7d70434a79f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a698db8a220cd0f09badce9f22d0ba7e93edb3d404448cc3560d391ab096ad16e9a2646970667358221220537363d56b480572e7b2eaa3f264fcc42d0a4e676d58b88490e59cb47fd125cd64736f6c634300081c0033","source_code":"// SPDX-License-Identifier: MIT\npragma solidity ^0.8.28;\n\n// OpenZeppelin imports (install with npm/hardhat: @openzeppelin/contracts)\nimport \"@openzeppelin/contracts/access/Ownable.sol\";\nimport \"@openzeppelin/contracts/access/AccessControl.sol\";\nimport \"@openzeppelin/contracts/utils/Pausable.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/ERC20.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/extensions/ERC20Burnable.sol\";\nimport \"@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol\";\n\n    error ZeroAddress();\n    error NotMinter();\n    error NotMasterMinter();\n    error NotPauser();\n    error NotBlacklister();\n    error Blacklisted(address account);\n    error AmountZero();\n    error AllowanceExceeded(uint256 requested, uint256 allowed);\n    error NotInitialized();\n    error ContractPaused();\n\ncontract RoyalEuro is ERC20, ERC20Burnable, Pausable, Ownable, AccessControl {\n    using SafeERC20 for IERC20;\n\n    bytes32 public constant MINTER_ROLE = keccak256(\"MINTER_ROLE\");\n    bytes32 public constant MASTERMINTER_ROLE = keccak256(\"MASTERMINTER_ROLE\");\n    bytes32 public constant PAUSER_ROLE = keccak256(\"PAUSER_ROLE\");\n    bytes32 public constant BLACKLISTER_ROLE = keccak256(\"BLACKLISTER_ROLE\");\n    bytes32 public constant RESCUER_ROLE = keccak256(\"RESCUER_ROLE\");\n\n    string public currency;\n\n    mapping(address => bool) public blacklisted;\n    mapping(address => uint256) public minterAllowance;\n\n    event BlacklistedAdded(address indexed account);\n    event BlacklistedRemoved(address indexed account);\n    event ValueReceived(address indexed sender, uint256 amount);\n    event MinterConfigured(address indexed minter, uint256 minterAllowedAmount);\n    event MinterRemoved(address indexed minter);\n\n    bool private _initialized;\n\n    modifier onlyMinter() {\n        if (!hasRole(MINTER_ROLE, msg.sender)) revert NotMinter();\n        _;\n    }\n    modifier onlyMasterMinter() {\n        if (!hasRole(MASTERMINTER_ROLE, msg.sender)) revert NotMasterMinter();\n        _;\n    }\n    modifier notBlacklisted(address account) {\n        if (blacklisted[account]) revert Blacklisted(account);\n        _;\n    }\n    modifier initialized() {\n        if (!_initialized) revert NotInitialized();\n        _;\n    }\n\n    constructor(\n        string memory _name,\n        string memory _symbol,\n        string memory _currency,\n        address masterMinter,\n        address pauser,\n        address blacklister,\n        address rescuer,\n        address owner_\n    ) ERC20(_name, _symbol) Ownable(msg.sender) {\n        currency = _currency;\n        _initialized = true;\n\n        _grantRole(DEFAULT_ADMIN_ROLE, owner_);\n        _grantRole(MASTERMINTER_ROLE, masterMinter);\n        _grantRole(PAUSER_ROLE, pauser);\n        _grantRole(BLACKLISTER_ROLE, blacklister);\n        _grantRole(RESCUER_ROLE, rescuer);\n\n        _transferOwnership(owner_);\n    }\n\n    receive() external payable {\n        emit ValueReceived(msg.sender, msg.value);\n    }\n\n    // Blacklist management\n\n    function isBlacklisted(address account) external view returns (bool) {\n        return blacklisted[account];\n    }\n\n    function addBlacklisted(address account)\n    external\n    onlyRole(BLACKLISTER_ROLE)\n    {\n        blacklisted[account] = true;\n        emit BlacklistedAdded(account);\n    }\n\n    function removeBlacklisted(address account)\n    external\n    onlyRole(BLACKLISTER_ROLE)\n    {\n        blacklisted[account] = false;\n        emit BlacklistedRemoved(account);\n    }\n\n    /**\n     * @notice Bulk add blacklisted addresses.\n     * @param accounts Array of addresses to blacklist\n     */\n    function bulkAddBlacklisted(address[] calldata accounts)\n    external\n    onlyRole(BLACKLISTER_ROLE)\n    {\n        for (uint256 i = 0; i < accounts.length; i++) {\n            blacklisted[accounts[i]] = true;\n            emit BlacklistedAdded(accounts[i]);\n        }\n    }\n\n    /**\n     * @notice Bulk remove blacklisted addresses.\n     * @param accounts Array of addresses to remove from blacklist\n     */\n    function bulkRemoveBlacklisted(address[] calldata accounts)\n    external\n    onlyRole(BLACKLISTER_ROLE)\n    {\n        for (uint256 i = 0; i < accounts.length; i++) {\n            blacklisted[accounts[i]] = false;\n            emit BlacklistedRemoved(accounts[i]);\n        }\n    }\n\n    // Minter management\n    function configureMinter(address minter, uint256 allowance_)\n    external\n    onlyMasterMinter\n    {\n        _grantRole(MINTER_ROLE, minter);\n        minterAllowance[minter] = allowance_;\n        emit MinterConfigured(minter, allowance_);\n    }\n\n    function removeMinter(address minter) external onlyMasterMinter {\n        _revokeRole(MINTER_ROLE, minter);\n        minterAllowance[minter] = 0;\n        emit MinterRemoved(minter);\n    }\n\n    function isMinter(address minter) external view returns (bool) {\n        return hasRole(MINTER_ROLE, minter);\n    }\n\n    function minterAllowanceOf(address minter) external view returns (uint256) {\n        return minterAllowance[minter];\n    }\n\n    // Mint controls\n    function mint(address to, uint256 amount)\n    external\n    whenNotPaused\n    onlyMinter\n    notBlacklisted(msg.sender)\n    notBlacklisted(to)\n    returns (bool)\n    {\n        if (to == address(0)) revert ZeroAddress();\n        if (amount == 0) revert AmountZero();\n        if (amount > minterAllowance[msg.sender])\n            revert AllowanceExceeded(amount, minterAllowance[msg.sender]);\n\n        minterAllowance[msg.sender] -= amount;\n        _mint(to, amount);\n        return true;\n    }\n\n    function mintByMaster(address to, uint256 amount)\n    external\n    whenNotPaused\n    onlyMasterMinter\n    notBlacklisted(to)\n    returns (bool)\n    {\n        if (to == address(0)) revert ZeroAddress();\n        if (amount == 0) revert AmountZero();\n        _mint(to, amount);\n        return true;\n    }\n\n    // Pause/Unpause\n    function pause() external onlyRole(PAUSER_ROLE) {\n        _pause();\n    }\n\n    function unpause() external onlyRole(PAUSER_ROLE) {\n        _unpause();\n    }\n\n    function _update(\n        address from,\n        address to,\n        uint256 amount\n    ) internal override {\n        // When paused, block all transfers (including minting and burning)\n        if(paused()) revert ContractPaused();\n\n        // Optionally, also block transfers from or to blacklisted addresses\n        if(blacklisted[from]) revert Blacklisted(from);\n        if(blacklisted[to]) revert Blacklisted(to);\n\n        super._update(from, to, amount);\n    }\n\n    // Rescuer function for stuck tokens\n    function rescueStuckFunds(address tokenAddress, address to)\n    external\n    onlyRole(RESCUER_ROLE)\n    {\n        if (to == address(0)) revert ZeroAddress();\n        if (tokenAddress == address(0) && address(this).balance > 0) {\n            (bool success, ) = to.call{value: address(this).balance}(\"\");\n            if (!success) revert(\"Transfer failed.\");\n        } else {\n            if (IERC20(tokenAddress).balanceOf(address(this)) == 0)\n                revert(\"No token balance\");\n            IERC20(tokenAddress).safeTransfer(\n                to,\n                IERC20(tokenAddress).balanceOf(address(this))\n            );\n        }\n    }\n}","creation_status":"success","file_path":"project/contracts/RoyalEuro.sol"}