{"file_path":"contracts/smartCoin/SmartCoin.sol","creation_status":"success","source_code":"// SPDX-License-Identifier: Apache-2.0\n\npragma solidity 0.8.22;\n\n/**\n * This is an official institutional stablecoin issued by Societe Generale–FORGE\n *\n * CoinVertible are exclusively intended for persons who are not U.S. Persons, as defined in Regulation S of the U.S. Securities Act of 1933, as amended and who are not physically present in the U.S..\n *\n * Offering, or inviting to purchase, CoinVertible in the U.S. is not authorized. Potential users shall observe any such restrictions in accordance with the relevant CoinVertible whitepaper available on SG Forge website.\n */\n\nimport \"./ISmartCoin.sol\";\n\nimport { ERC20Upgradeable } from \"@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol\";\nimport { UUPSUpgradeable } from \"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol\";\n\nimport \"./AccessControlUpgradeable.sol\";\nimport \"./SmartCoinDataLayout.sol\";\n\n/**\n * @dev Used when \"available\" balance is insufficient\n */\nerror InsufficientBalance(uint256 current, uint256 required);\n\n\n/**\n * @dev The `SmartCoin` contract is basically an ERC20 with a few specifics\n * It uses the UUPS upgrade mechanism\n * It has a set of operators with specific rights :\n * - the registrar operator :\n *      - manages the blacklisting of users\n *      - names the operators for next implementation contract upgrade (AccessControlUpgradeable.nameNewOperators)\n *      - authorises upgrade to next implementation contract (AccessControlUpgradeable.authorizeImplementation)\n        - manages redemption addresses\n * - the technical operator :\n *      - only the technical operator can launch a (previously authorised) upgrade of the implementation contract (upgradeTo/upgradeToAndCall)\n * Redemption Addresses are special addresses used when token owners want to 'cash out' of the SmartCoin (i.e. sell their tokens to the issuer in exchange for cash)\n */\ncontract SmartCoin is\n    SmartCoinDataLayout,\n    AccessControlUpgradeable,\n    ERC20Upgradeable,\n    UUPSUpgradeable,\n    ISmartCoin\n{\n\n    /// @custom:oz-upgrades-unsafe-allow constructor\n    constructor(\n        address _registrar,\n        address _operations,\n        address _technical\n    )\n        onlyNotZeroAddress(_registrar)\n        onlyNotZeroAddress(_operations)\n        onlyNotZeroAddress(_technical)\n        OnlyWhenOperatorsHaveDifferentAddress(\n            _registrar,\n            _operations,\n            _technical\n        )\n        AccessControlUpgradeable(\n            _registrar,\n            _operations,\n            _technical\n        )\n    {\n        // https://docs.openzeppelin.com/upgrades-plugins/1.x/writing-upgradeable#potentially-unsafe-operations\n        // https://docs.openzeppelin.com/upgrades-plugins/1.x/writing-upgradeable#initializing_the_implementation_contract\n        _disableInitializers();\n    }\n\n    /**\n     * @dev UUPS initializer that initializes the token's name and symbol\n     */\n    function initialize(\n        string memory _name,\n        string memory _symbol\n    ) public initializer {\n        __AccessControl_init();\n        __ERC20_init(_name, _symbol);\n        __UUPSUpgradeable_init();\n    }\n\n    /**\n     * @dev Burns the balance of `_addr` address\n     *\n     * NB: This method is reserved to the registrar operator.\n     */\n    function wipeFrozenAddress(\n        address _addr\n    ) external override onlyRegistrar onlyFrozen(_addr) returns (bool) {\n        super._burn(_addr, balanceOf(_addr));\n        return true;\n    }\n\n    /**\n     * @dev Burns a `amount` amount of tokens from the caller.\n     * NB: only the registrar operator is allowed to burn their tokens\n     */\n    function burn(\n        uint256 _amount\n    )\n        external\n        override\n        onlyWhenNotPaused\n        onlyRegistrar\n        returns (bool)\n    {\n        super._burn(registrar, _amount);\n        return true;\n    }\n\n    /**\n     * @dev Mints a `amount` amount of tokens on `to` address\n     * NB: only the registrar operator is allowed to mint new tokens\n     * NB: the `_to` address has to be unfrozen\n     */\n    function mint(\n        address _to,\n        uint256 _amount\n    )\n        external\n        override(ISmartCoin)\n        onlyWhenNotPaused\n        onlyAllowedMinter\n        onlyNotFrozen(_to)\n        returns (bool)\n    {\n        super._mint(_to, _amount);\n        return true;\n    }\n\n    function upgradeTo(\n        address _newImplementation\n    )\n        external\n        virtual\n        override\n        onlyProxy\n        consumeAuthorizeImplementation(_newImplementation)\n    {\n        _authorizeUpgrade(_newImplementation);\n        _upgradeToAndCallUUPS(_newImplementation, new bytes(0), false);\n        _resetNewOperators();\n    }\n\n    function upgradeToAndCall(\n        address _newImplementation,\n        bytes memory data\n    )\n        external\n        payable\n        virtual\n        override\n        onlyProxy\n        consumeAuthorizeImplementation(_newImplementation)\n    {\n        _authorizeUpgrade(_newImplementation);\n        _upgradeToAndCallUUPS(_newImplementation, data, true);\n        _resetNewOperators();\n    }\n\n    /**\n     * @dev Returns the contract's operators' addresses\n     */\n    function getOperators() external view returns (address, address, address) {\n        return (registrar, operations, technical);\n    }\n\n    /**\n     * @dev Returns the version number of this contract\n     */\n    function version() external pure virtual returns (string memory) {\n        return \"V4\";\n    }\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.\n     * NB: both the owner(msg.sender) and the spender have to be not frozen\n     */\n    function approve(\n        address _spender,\n        uint256 _value\n    )\n        public\n        override(ERC20Upgradeable, ISmartCoin)\n        onlyWhenNotPaused\n        onlyNotFrozen(_msgSender())\n        onlyNotFrozen(_spender)\n        returns (bool)\n    {\n        super._approve(_msgSender(), _spender, _value);\n        return true;\n    }\n\n    /**\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\n     *\n     * This is an alternative to {approve} that can be used as a mitigation for\n     * problems described in {IERC20-approve}.\n     *\n     * Emits an {Approval} event indicating the updated allowance.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `spender` must have allowance for the caller of at least\n     * `requestedDecrease`.\n     * - `spender` and msg.sender have to be unfrozen\n     *\n     * NOTE: Although this function is designed to avoid double spending with {approval},\n     * it can still be frontrunned, preventing any attempt of allowance reduction.\n     */\n    function decreaseAllowance(\n        address _spender,\n        uint256 _subtractedValue\n    )\n        public\n        override(ERC20Upgradeable, ISmartCoin)\n        onlyWhenNotPaused\n        onlyNotFrozen(_spender)\n        onlyNotFrozen(_msgSender())\n        returns (bool)\n    {\n        return super.decreaseAllowance(_spender, _subtractedValue);\n    }\n\n    /**\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\n     *\n     * This is an alternative to {approve} that can be used as a mitigation for\n     * problems described in {IERC20-approve}.\n     *\n     * Emits an {Approval} event indicating the updated allowance.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `spender` and msg.sender have to be unfrozen\n     */\n    function increaseAllowance(\n        address _spender,\n        uint256 _addedValue\n    )\n        public\n        override(ERC20Upgradeable, ISmartCoin)\n        onlyWhenNotPaused\n        onlyNotFrozen(_spender)\n        onlyNotFrozen(_msgSender())\n        returns (bool)\n    {\n        return super.increaseAllowance(_spender, _addedValue);\n    }\n\n    /**\n     * @dev Same semantic as ERC20's transferFrom function(no validation needed)\n     * NB: the owner(_from),the spender(msg.sender) and the destination have to be unfrozen\n     */\n    function transferFrom(\n        address _from,\n        address _to,\n        uint256 _value\n    )\n        public\n        override(ERC20Upgradeable, ISmartCoin)\n        onlyWhenNotPaused\n        onlyNotFrozen(_msgSender())\n        onlyNotFrozen(_from)\n        onlyNotFrozen(_to)\n        returns (bool)\n    {\n        if (isRedemptionAddress[_to]) {\n            super.transferFrom(_from, registrar, _value);\n            emit RedemptionStarted(_from, _to, _value);\n        } else {\n            return super.transferFrom(_from, _to, _value);\n        }\n\n        return true;\n    }\n\n    /**\n     * @dev Same semantic as ERC20's transfer function although there is one case :\n     * if the destination is a redemption address, funds are transferred to the registrar operator instead of the redemption address\n     *\n     * NB: both the source(msg.sender) and the destination have to be unfrozen\n     */\n    function transfer(\n        address _to,\n        uint256 _value\n    )\n        public\n        override(ISmartCoin, ERC20Upgradeable)\n        onlyWhenNotPaused\n        onlyNotFrozen(_msgSender())\n        onlyNotFrozen(_to)\n        returns (bool)\n    {\n        if (isRedemptionAddress[_to]) {\n            super._transfer(_msgSender(), registrar, _value);\n            emit RedemptionStarted(_msgSender(), _to, _value);\n        } else {\n            super._transfer(_msgSender(), _to, _value);\n        }\n\n        return true;\n    }\n\n    // solhint-disable-next-line no-empty-blocks\n    function _authorizeUpgrade(\n        address newImplementation\n    ) internal override onlyTechnical {}\n}\n","deployed_bytecode":"0x6080604052600436106102305760003560e01c80635e0ae9f91161012e5780639e090d23116100ab578063d1f9377e1161006f578063d1f9377e14610736578063dc1d3f3c14610756578063dd62ed3e14610776578063e2f72f0314610796578063e5839836146107b657600080fd5b80639e090d2314610694578063a457c2d7146106c1578063a9059cbb146106e1578063accb196714610701578063b0a6d9471461071657600080fd5b80638a8c3cb0116100f25780638a8c3cb0146105d75780638b33b4b2146105f75780638b677b031461062b57806395d89b411461064b5780639d8a49651461066057600080fd5b80635e0ae9f9146105275780636c7f09b91461054757806370a082311461055c5780637943653d146105925780638456cb59146105c257600080fd5b80633659cfe6116101bc5780634cd88b76116101805780634cd88b761461049a5780634f1ef286146104ba57806352d1902d146104cd57806354fd4d50146104e25780635c975abb1461050d57600080fd5b80633659cfe61461040557806339509351146104255780633f4ba83a1461044557806340c10f191461045a57806342966c681461047a57600080fd5b806323b872dd1161020357806323b872dd146102cf57806327a099d8146102ef5780632b20e397146103865780632f811e56146103d2578063313ce567146103e957600080fd5b806306fdde0314610235578063095ea7b31461026057806318160ddd146102905780631d38fcda146102af575b600080fd5b34801561024157600080fd5b5061024a6107e6565b6040516102579190612dcf565b60405180910390f35b34801561026c57600080fd5b5061028061027b366004612e17565b610878565b6040519015158152602001610257565b34801561029c57600080fd5b50608e545b604051908152602001610257565b3480156102bb57600080fd5b506102806102ca366004612e43565b61093d565b3480156102db57600080fd5b506102806102ea366004612eb8565b610acd565b3480156102fb57600080fd5b50604080516001600160a01b037f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da69811682527f000000000000000000000000c98cb9f53e20afbbeb75caf6456ed52d5d7903f6811660208301527f00000000000000000000000054124a6834af252a0f9ac7f478001aa5004289551691810191909152606001610257565b34801561039257600080fd5b506103ba7f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da6981565b6040516001600160a01b039091168152602001610257565b3480156103de57600080fd5b506103e7610c7e565b005b3480156103f557600080fd5b5060405160128152602001610257565b34801561041157600080fd5b506103e7610420366004612ef9565b610d0b565b34801561043157600080fd5b50610280610440366004612e17565b610e3e565b34801561045157600080fd5b506103e7610efb565b34801561046657600080fd5b50610280610475366004612e17565b610f9c565b34801561048657600080fd5b50610280610495366004612f16565b611067565b3480156104a657600080fd5b506103e76104b5366004612fdb565b611109565b6103e76104c836600461303f565b61122e565b3480156104d957600080fd5b506102a1611352565b3480156104ee57600080fd5b50604080518082019091526002815261158d60f21b602082015261024a565b34801561051957600080fd5b50603c546102809060ff1681565b34801561053357600080fd5b506103e7610542366004613099565b611405565b34801561055357600080fd5b506103e76115c6565b34801561056857600080fd5b506102a1610577366004612ef9565b6001600160a01b03166000908152608c602052604090205490565b34801561059e57600080fd5b506102806105ad366004612ef9565b603d6020526000908152604090205460ff1681565b3480156105ce57600080fd5b506103e761164d565b3480156105e357600080fd5b506103e76105f2366004612ef9565b6116f2565b34801561060357600080fd5b506103ba7f000000000000000000000000c98cb9f53e20afbbeb75caf6456ed52d5d7903f681565b34801561063757600080fd5b50603a546103ba906001600160a01b031681565b34801561065757600080fd5b5061024a611928565b34801561066c57600080fd5b506103ba7f00000000000000000000000054124a6834af252a0f9ac7f478001aa50042895581565b3480156106a057600080fd5b506106b46106af366004612e43565b611937565b60405161025791906130e4565b3480156106cd57600080fd5b506102806106dc366004612e17565b611a5a565b3480156106ed57600080fd5b506102806106fc366004612e17565b611b0e565b34801561070d57600080fd5b506103e7611c54565b34801561072257600080fd5b50610280610731366004612e43565b611cdb565b34801561074257600080fd5b50610280610751366004612e43565b611e58565b34801561076257600080fd5b50610280610771366004612e43565b611fd6565b34801561078257600080fd5b506102a1610791366004613131565b612153565b3480156107a257600080fd5b506102806107b1366004612ef9565b61217e565b3480156107c257600080fd5b506102806107d1366004612ef9565b603b6020526000908152604090205460ff1681565b6060608f80546107f59061316a565b80601f01602080910402602001604051908101604052809291908181526020018280546108219061316a565b801561086e5780601f106108435761010080835404028352916020019161086e565b820191906000526020600020905b81548152906001019060200180831161085157829003601f168201915b5050505050905090565b603c5460009060ff161561089f5760405163ab35696f60e01b815260040160405180910390fd5b336000818152603b602052604090205460ff16156108e05760405163472511eb60e11b81526001600160a01b03821660048201526024015b60405180910390fd5b6001600160a01b0384166000908152603b6020526040902054849060ff16156109275760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b610932338686612242565b506001949350505050565b6000336001600160a01b037f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da69161461098857604051631a88efbf60e11b815260040160405180910390fd5b60005b82811015610a8957603b60008585848181106109a9576109a961319e565b90506020020160208101906109be9190612ef9565b6001600160a01b0316815260208101919091526040016000205460ff1615610a2c578383828181106109f2576109f261319e565b9050602002016020810190610a079190612ef9565b604051638e86e03f60e01b81526001600160a01b0390911660048201526024016108d7565b6001603b6000868685818110610a4457610a4461319e565b9050602002016020810190610a599190612ef9565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905560010161098b565b507f07381cac78ed3e2aa4d96e0d2c80e39d1c2fff09d8f6f079fa7249b553f454258383604051610abb9291906131b4565b60405180910390a15060015b92915050565b603c5460009060ff1615610af45760405163ab35696f60e01b815260040160405180910390fd5b336000818152603b602052604090205460ff1615610b305760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b6001600160a01b0385166000908152603b6020526040902054859060ff1615610b775760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b6001600160a01b0385166000908152603b6020526040902054859060ff1615610bbe5760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b6001600160a01b0386166000908152603d602052604090205460ff1615610c5d57610c0a877f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da6987612366565b50856001600160a01b0316876001600160a01b03167f8c0cc6a0302d83caa04c8ad7d86864df08505193f7cb978c03d53a765b09696b87604051610c5091815260200190565b60405180910390a3610c6f565b610c68878787612366565b9350610c74565b600193505b5050509392505050565b6038546001600160a01b03163314610ca95760405163799524d560e11b815260040160405180910390fd5b603880546001600160a01b03908116600090815260396020908152604091829020805460ff1916600117905592549051911681527f8f1760605a032cb34984a94a459123c67d8e0e8d83e6194924c666f5ec9d934891015b60405180910390a1565b6001600160a01b037f000000000000000000000000f4ccc80c4b831a0d8d1414f2aca82a3d760ff05b163003610d535760405162461bcd60e51b81526004016108d790613202565b7f000000000000000000000000f4ccc80c4b831a0d8d1414f2aca82a3d760ff05b6001600160a01b0316610d9c6000805160206134b7833981519152546001600160a01b031690565b6001600160a01b031614610dc25760405162461bcd60e51b81526004016108d79061324e565b603a5481906001600160a01b03808316911614610dfd57604051634d2eaa9f60e01b81526001600160a01b03821660048201526024016108d7565b610e068261238c565b60408051600080825260208201909252610e22918491906123d8565b610e2a612543565b5050603a80546001600160a01b0319169055565b603c5460009060ff1615610e655760405163ab35696f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152603b6020526040902054839060ff1615610eac5760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b336000818152603b602052604090205460ff1615610ee85760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b610ef2858561258e565b95945050505050565b336001600160a01b037f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da691614610f4457604051631a88efbf60e11b815260040160405180910390fd5b603c5460ff16610f675760405163dcdde9dd60e01b815260040160405180910390fd5b603c805460ff191690556040517f472cf038e2a5f33dbaa68760dbf94ab4e159535e6580c0ac63f8202c7c6c0bb290600090a1565b603c5460009060ff1615610fc35760405163ab35696f60e01b815260040160405180910390fd5b336001600160a01b037f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da69161461100c5760405163955c501b60e01b815260040160405180910390fd5b6001600160a01b0383166000908152603b6020526040902054839060ff16156110535760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b61105d84846125b0565b5060019392505050565b603c5460009060ff161561108e5760405163ab35696f60e01b815260040160405180910390fd5b336001600160a01b037f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da6916146110d757604051631a88efbf60e11b815260040160405180910390fd5b6111017f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da6983612672565b506001919050565b605954610100900460ff16158080156111295750605954600160ff909116105b806111435750303b158015611143575060595460ff166001145b6111a65760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016108d7565b6059805460ff1916600117905580156111c9576059805461ff0019166101001790555b6111d16127a6565b6111db83836127d9565b6111e361280a565b8015611229576059805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b037f000000000000000000000000f4ccc80c4b831a0d8d1414f2aca82a3d760ff05b1630036112765760405162461bcd60e51b81526004016108d790613202565b7f000000000000000000000000f4ccc80c4b831a0d8d1414f2aca82a3d760ff05b6001600160a01b03166112bf6000805160206134b7833981519152546001600160a01b031690565b6001600160a01b0316146112e55760405162461bcd60e51b81526004016108d79061324e565b603a5482906001600160a01b0380831691161461132057604051634d2eaa9f60e01b81526001600160a01b03821660048201526024016108d7565b6113298361238c565b611335838360016123d8565b61133d612543565b5050603a80546001600160a01b031916905550565b6000306001600160a01b037f000000000000000000000000f4ccc80c4b831a0d8d1414f2aca82a3d760ff05b16146113f25760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016108d7565b506000805160206134b783398151915290565b336001600160a01b037f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da69161461144e57604051631a88efbf60e11b815260040160405180910390fd5b826001600160a01b038116611476576040516399676b1160e01b815260040160405180910390fd5b826001600160a01b03811661149e576040516399676b1160e01b815260040160405180910390fd5b826001600160a01b0381166114c6576040516399676b1160e01b815260040160405180910390fd5b858585816001600160a01b0316836001600160a01b031614806114fa5750806001600160a01b0316826001600160a01b0316145b806115165750806001600160a01b0316836001600160a01b0316145b15611534576040516324b607a760e01b815260040160405180910390fd5b61153c612543565b603680546001600160a01b038b81166001600160a01b03199283168117909355603780548c8316908416811790915560388054928c16929093168217909255604080519384526020840192909252908201527fce591cd4145186bc05cc5b3ddb85f06b9a109fcb2e9525c8d915fc5493e9f3f19060600160405180910390a1505050505050505050565b6036546001600160a01b031633146115f157604051631a88efbf60e11b815260040160405180910390fd5b603680546001600160a01b03908116600090815260396020908152604091829020805460ff1916600117905592549051911681527fdc000b40ef826db1cea374f1c13cb28dcf5fafd6454b3788b154d16fe2f2eaf39101610d01565b336001600160a01b037f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da69161461169657604051631a88efbf60e11b815260040160405180910390fd5b603c5460ff16156116ba5760405163ab35696f60e01b815260040160405180910390fd5b603c805460ff191660011790556040517f9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e75290600090a1565b336001600160a01b037f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da69161461173b57604051631a88efbf60e11b815260040160405180910390fd5b806001600160a01b038116611763576040516399676b1160e01b815260040160405180910390fd5b816000806000836001600160a01b03166327a099d86040518163ffffffff1660e01b8152600401606060405180830381865afa1580156117a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cb919061329a565b60365492955090935091506001600160a01b03808516911614158061180957506001600160a01b03831660009081526039602052604090205460ff16155b1561182757604051631a88efbf60e11b815260040160405180910390fd5b6037546001600160a01b03838116911614158061185d57506001600160a01b03821660009081526039602052604090205460ff16155b1561187b5760405163291e18d560e21b815260040160405180910390fd5b6038546001600160a01b0382811691161415806118b157506001600160a01b03811660009081526039602052604090205460ff16155b156118cf5760405163799524d560e11b815260040160405180910390fd5b603a80546001600160a01b0319166001600160a01b0388169081179091556040519081527f02b73c10eecb635def7b11d92c9d82870141a7b0623e1e43f6eeabf202f310a49060200160405180910390a1505050505050565b6060609080546107f59061316a565b606060006119458484612833565b61ffff1667ffffffffffffffff81111561196157611961612f2f565b60405190808252806020026020018201604052801561198a578160200160208202803683370190505b5090506000805b84811015611a5057603b60008787848181106119af576119af61319e565b90506020020160208101906119c49190612ef9565b6001600160a01b0316815260208101919091526040016000205460ff16611a48578585828181106119f7576119f761319e565b9050602002016020810190611a0c9190612ef9565b838361ffff1681518110611a2257611a2261319e565b6001600160a01b039092166020928302919091019091015281611a44816132f2565b9250505b600101611991565b5090949350505050565b603c5460009060ff1615611a815760405163ab35696f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152603b6020526040902054839060ff1615611ac85760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b336000818152603b602052604090205460ff1615611b045760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b610ef285856128aa565b603c5460009060ff1615611b355760405163ab35696f60e01b815260040160405180910390fd5b336000818152603b602052604090205460ff1615611b715760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b6001600160a01b0384166000908152603b6020526040902054849060ff1615611bb85760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b6001600160a01b0385166000908152603d602052604090205460ff1615611c4957611c04337f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da6986612925565b6040518481526001600160a01b0386169033907f8c0cc6a0302d83caa04c8ad7d86864df08505193f7cb978c03d53a765b09696b9060200160405180910390a3610932565b610932338686612925565b6037546001600160a01b03163314611c7f5760405163291e18d560e21b815260040160405180910390fd5b603780546001600160a01b03908116600090815260396020908152604091829020805460ff1916600117905592549051911681527f89cd4fb12859dfdb4b7bdb1801b2b33eff4033e99f5b3f70be28c4e33ca428a59101610d01565b6000336001600160a01b037f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da691614611d2657604051631a88efbf60e11b815260040160405180910390fd5b60005b82811015611e2657603b6000858584818110611d4757611d4761319e565b9050602002016020810190611d5c9190612ef9565b6001600160a01b0316815260208101919091526040016000205460ff16611dc957838382818110611d8f57611d8f61319e565b9050602002016020810190611da49190612ef9565b60405163c044686f60e01b81526001600160a01b0390911660048201526024016108d7565b6000603b6000868685818110611de157611de161319e565b9050602002016020810190611df69190612ef9565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101611d29565b507fb474664863a35c00b84f99fe9155ea67676b17495d6f9d6b0277787801f77a458383604051610abb9291906131b4565b6000336001600160a01b037f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da691614611ea357604051631a88efbf60e11b815260040160405180910390fd5b60005b82811015611fa457603d6000858584818110611ec457611ec461319e565b9050602002016020810190611ed99190612ef9565b6001600160a01b0316815260208101919091526040016000205460ff1615611f4757838382818110611f0d57611f0d61319e565b9050602002016020810190611f229190612ef9565b604051630f06aff960e21b81526001600160a01b0390911660048201526024016108d7565b6001603d6000868685818110611f5f57611f5f61319e565b9050602002016020810190611f749190612ef9565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101611ea6565b507ff5baf60ba05e2953af8ef7d33682a10ad1bbc75bdde6beee0f65f7aeace676998383604051610abb9291906131b4565b6000336001600160a01b037f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da69161461202157604051631a88efbf60e11b815260040160405180910390fd5b60005b8281101561212157603d60008585848181106120425761204261319e565b90506020020160208101906120579190612ef9565b6001600160a01b0316815260208101919091526040016000205460ff166120c45783838281811061208a5761208a61319e565b905060200201602081019061209f9190612ef9565b604051630b38397360e01b81526001600160a01b0390911660048201526024016108d7565b6000603d60008686858181106120dc576120dc61319e565b90506020020160208101906120f19190612ef9565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101612024565b507fd33c03280a5b3538eb45410abed24be5b15ab859e9323538a0d59be886c515c78383604051610abb9291906131b4565b6001600160a01b039182166000908152608d6020908152604080832093909416825291909152205490565b6000336001600160a01b037f0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da6916146121c957604051631a88efbf60e11b815260040160405180910390fd5b6001600160a01b0382166000908152603b6020526040902054829060ff1661220f5760405163c044686f60e01b81526001600160a01b03821660048201526024016108d7565b61223783612232856001600160a01b03166000908152608c602052604090205490565b612672565b600191505b50919050565b6001600160a01b0383166122a45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108d7565b6001600160a01b0382166123055760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108d7565b6001600160a01b038381166000818152608d602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600033612374858285612ad2565b61237f858585612925565b60019150505b9392505050565b336001600160a01b037f00000000000000000000000054124a6834af252a0f9ac7f478001aa50042895516146123d55760405163799524d560e11b815260040160405180910390fd5b50565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561240b5761122983612b46565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015612465575060408051601f3d908101601f1916820190925261246291810190613313565b60015b6124c85760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016108d7565b6000805160206134b783398151915281146125375760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016108d7565b50611229838383612be2565b6036546001600160a01b03908116600090815260396020526040808220805460ff19908116909155603754841683528183208054821690556038549093168252902080549091169055565b60003361105d8185856125a18383612153565b6125ab919061332c565b612242565b6001600160a01b0382166126065760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108d7565b80608e6000828254612618919061332c565b90915550506001600160a01b0382166000818152608c60209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b5050565b6001600160a01b0382166126d25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108d7565b6001600160a01b0382166000908152608c6020526040902054818110156127465760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108d7565b6001600160a01b0383166000818152608c602090815260408083208686039055608e80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b605954610100900460ff166127cd5760405162461bcd60e51b81526004016108d79061333f565b603c805460ff19169055565b605954610100900460ff166128005760405162461bcd60e51b81526004016108d79061333f565b61266e8282612c07565b605954610100900460ff166128315760405162461bcd60e51b81526004016108d79061333f565b565b600080805b838110156128a257603b60008686848181106128565761285661319e565b905060200201602081019061286b9190612ef9565b6001600160a01b0316815260208101919091526040016000205460ff1661289a5781612896816132f2565b9250505b600101612838565b509392505050565b600033816128b88286612153565b9050838110156129185760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108d7565b6109328286868403612242565b6001600160a01b0383166129895760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108d7565b6001600160a01b0382166129eb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108d7565b6001600160a01b0383166000908152608c602052604090205481811015612a635760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108d7565b6001600160a01b038085166000818152608c602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612ac39086815260200190565b60405180910390a35b50505050565b6000612ade8484612153565b90506000198114612acc5781811015612b395760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108d7565b612acc8484848403612242565b6001600160a01b0381163b612bb35760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016108d7565b6000805160206134b783398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b612beb83612c47565b600082511180612bf85750805b1561122957612acc8383612c87565b605954610100900460ff16612c2e5760405162461bcd60e51b81526004016108d79061333f565b608f612c3a83826133da565b50609061122982826133da565b612c5081612b46565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b612cef5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016108d7565b600080846001600160a01b031684604051612d0a919061349a565b600060405180830381855af49150503d8060008114612d45576040519150601f19603f3d011682016040523d82523d6000602084013e612d4a565b606091505b5091509150610ef282826040518060600160405280602781526020016134d76027913960608315612d7c575081612385565b6123858383815115612d915781518083602001fd5b8060405162461bcd60e51b81526004016108d79190612dcf565b60005b83811015612dc6578181015183820152602001612dae565b50506000910152565b6020815260008251806020840152612dee816040850160208701612dab565b601f01601f19169190910160400192915050565b6001600160a01b03811681146123d557600080fd5b60008060408385031215612e2a57600080fd5b8235612e3581612e02565b946020939093013593505050565b60008060208385031215612e5657600080fd5b823567ffffffffffffffff80821115612e6e57600080fd5b818501915085601f830112612e8257600080fd5b813581811115612e9157600080fd5b8660208260051b8501011115612ea657600080fd5b60209290920196919550909350505050565b600080600060608486031215612ecd57600080fd5b8335612ed881612e02565b92506020840135612ee881612e02565b929592945050506040919091013590565b600060208284031215612f0b57600080fd5b813561238581612e02565b600060208284031215612f2857600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612f6057612f60612f2f565b604051601f8501601f19908116603f01168101908282118183101715612f8857612f88612f2f565b81604052809350858152868686011115612fa157600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112612fcc57600080fd5b61238583833560208501612f45565b60008060408385031215612fee57600080fd5b823567ffffffffffffffff8082111561300657600080fd5b61301286838701612fbb565b9350602085013591508082111561302857600080fd5b5061303585828601612fbb565b9150509250929050565b6000806040838503121561305257600080fd5b823561305d81612e02565b9150602083013567ffffffffffffffff81111561307957600080fd5b8301601f8101851361308a57600080fd5b61303585823560208401612f45565b6000806000606084860312156130ae57600080fd5b83356130b981612e02565b925060208401356130c981612e02565b915060408401356130d981612e02565b809150509250925092565b6020808252825182820181905260009190848201906040850190845b818110156131255783516001600160a01b031683529284019291840191600101613100565b50909695505050505050565b6000806040838503121561314457600080fd5b823561314f81612e02565b9150602083013561315f81612e02565b809150509250929050565b600181811c9082168061317e57607f821691505b60208210810361223c57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60208082528181018390526000908460408401835b868110156131f75782356131dc81612e02565b6001600160a01b0316825291830191908301906001016131c9565b509695505050505050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6000806000606084860312156132af57600080fd5b83516132ba81612e02565b60208501519093506132cb81612e02565b60408501519092506130d981612e02565b634e487b7160e01b600052601160045260246000fd5b600061ffff808316818103613309576133096132dc565b6001019392505050565b60006020828403121561332557600080fd5b5051919050565b80820180821115610ac757610ac76132dc565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b601f821115611229576000816000526020600020601f850160051c810160208610156133b35750805b601f850160051c820191505b818110156133d2578281556001016133bf565b505050505050565b815167ffffffffffffffff8111156133f4576133f4612f2f565b61340881613402845461316a565b8461338a565b602080601f83116001811461343d57600084156134255750858301515b600019600386901b1c1916600185901b1785556133d2565b600085815260208120601f198616915b8281101561346c5788860151825594840194600190910190840161344d565b508582101561348a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516134ac818460208701612dab565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212208ad23089b87d611d0ef81f42170782335d6642e135a45100663b37bfd4cd8f3964736f6c63430008160033","optimization_enabled":true,"verified_twin_address_hash":null,"is_verified":true,"compiler_settings":{"evmVersion":"paris","libraries":{},"optimizer":{"enabled":true,"runs":200},"outputSelection":{"*":{"":["*"],"*":["*"]}}},"optimization_runs":200,"sourcify_repo_url":null,"decoded_constructor_args":[["0x7dE0bbdfCd4A6a956F149bEFcca30D6B5Bc5DA69",{"internalType":"address","name":"_registrar","type":"address"}],["0xc98Cb9F53e20AFbbeb75Caf6456eD52D5d7903f6",{"internalType":"address","name":"_operations","type":"address"}],["0x54124a6834AF252a0f9ac7F478001aa500428955",{"internalType":"address","name":"_technical","type":"address"}]],"compiler_version":"v0.8.22+commit.4fc1097e","is_verified_via_verifier_alliance":false,"verified_at":"2025-12-11T06:37:15.824576Z","implementations":[],"proxy_type":null,"external_libraries":[],"creation_bytecode":"0x6101006040523060e0523480156200001657600080fd5b506040516200388138038062003881833981016040819052620000399162000230565b6001600160a01b03808416608081905281841660a05290821660c052839062000075576040516399676b1160e01b815260040160405180910390fd5b826001600160a01b0381166200009e576040516399676b1160e01b815260040160405180910390fd5b826001600160a01b038116620000c7576040516399676b1160e01b815260040160405180910390fd5b858585816001600160a01b0316836001600160a01b03161480620000fc5750806001600160a01b0316826001600160a01b0316145b80620001195750806001600160a01b0316836001600160a01b0316145b1562000138576040516324b607a760e01b815260040160405180910390fd5b6200014262000151565b5050505050505050506200027a565b605954610100900460ff1615620001be5760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b60595460ff908116101562000211576059805460ff191660ff9081179091556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b80516001600160a01b03811681146200022b57600080fd5b919050565b6000806000606084860312156200024657600080fd5b620002518462000213565b9250620002616020850162000213565b9150620002716040850162000213565b90509250925092565b60805160a05160c05160e0516135336200034e60003960008181610d1501528181610d550152818161123801528181611278015261135f01526000818161035701528181610672015261239701526000818161032f015261060901526000818161030a015281816103980152818161094a01528181610be501528181610f0601528181610fce01528181611099015281816110dc0152818161141001528181611658015281816116fd01528181611bdf01528181611ce801528181611e6501528181611fe3015261218b01526135336000f3fe6080604052600436106102305760003560e01c80635e0ae9f91161012e5780639e090d23116100ab578063d1f9377e1161006f578063d1f9377e14610736578063dc1d3f3c14610756578063dd62ed3e14610776578063e2f72f0314610796578063e5839836146107b657600080fd5b80639e090d2314610694578063a457c2d7146106c1578063a9059cbb146106e1578063accb196714610701578063b0a6d9471461071657600080fd5b80638a8c3cb0116100f25780638a8c3cb0146105d75780638b33b4b2146105f75780638b677b031461062b57806395d89b411461064b5780639d8a49651461066057600080fd5b80635e0ae9f9146105275780636c7f09b91461054757806370a082311461055c5780637943653d146105925780638456cb59146105c257600080fd5b80633659cfe6116101bc5780634cd88b76116101805780634cd88b761461049a5780634f1ef286146104ba57806352d1902d146104cd57806354fd4d50146104e25780635c975abb1461050d57600080fd5b80633659cfe61461040557806339509351146104255780633f4ba83a1461044557806340c10f191461045a57806342966c681461047a57600080fd5b806323b872dd1161020357806323b872dd146102cf57806327a099d8146102ef5780632b20e397146103865780632f811e56146103d2578063313ce567146103e957600080fd5b806306fdde0314610235578063095ea7b31461026057806318160ddd146102905780631d38fcda146102af575b600080fd5b34801561024157600080fd5b5061024a6107e6565b6040516102579190612dcf565b60405180910390f35b34801561026c57600080fd5b5061028061027b366004612e17565b610878565b6040519015158152602001610257565b34801561029c57600080fd5b50608e545b604051908152602001610257565b3480156102bb57600080fd5b506102806102ca366004612e43565b61093d565b3480156102db57600080fd5b506102806102ea366004612eb8565b610acd565b3480156102fb57600080fd5b50604080516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811682527f0000000000000000000000000000000000000000000000000000000000000000811660208301527f00000000000000000000000000000000000000000000000000000000000000001691810191909152606001610257565b34801561039257600080fd5b506103ba7f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b039091168152602001610257565b3480156103de57600080fd5b506103e7610c7e565b005b3480156103f557600080fd5b5060405160128152602001610257565b34801561041157600080fd5b506103e7610420366004612ef9565b610d0b565b34801561043157600080fd5b50610280610440366004612e17565b610e3e565b34801561045157600080fd5b506103e7610efb565b34801561046657600080fd5b50610280610475366004612e17565b610f9c565b34801561048657600080fd5b50610280610495366004612f16565b611067565b3480156104a657600080fd5b506103e76104b5366004612fdb565b611109565b6103e76104c836600461303f565b61122e565b3480156104d957600080fd5b506102a1611352565b3480156104ee57600080fd5b50604080518082019091526002815261158d60f21b602082015261024a565b34801561051957600080fd5b50603c546102809060ff1681565b34801561053357600080fd5b506103e7610542366004613099565b611405565b34801561055357600080fd5b506103e76115c6565b34801561056857600080fd5b506102a1610577366004612ef9565b6001600160a01b03166000908152608c602052604090205490565b34801561059e57600080fd5b506102806105ad366004612ef9565b603d6020526000908152604090205460ff1681565b3480156105ce57600080fd5b506103e761164d565b3480156105e357600080fd5b506103e76105f2366004612ef9565b6116f2565b34801561060357600080fd5b506103ba7f000000000000000000000000000000000000000000000000000000000000000081565b34801561063757600080fd5b50603a546103ba906001600160a01b031681565b34801561065757600080fd5b5061024a611928565b34801561066c57600080fd5b506103ba7f000000000000000000000000000000000000000000000000000000000000000081565b3480156106a057600080fd5b506106b46106af366004612e43565b611937565b60405161025791906130e4565b3480156106cd57600080fd5b506102806106dc366004612e17565b611a5a565b3480156106ed57600080fd5b506102806106fc366004612e17565b611b0e565b34801561070d57600080fd5b506103e7611c54565b34801561072257600080fd5b50610280610731366004612e43565b611cdb565b34801561074257600080fd5b50610280610751366004612e43565b611e58565b34801561076257600080fd5b50610280610771366004612e43565b611fd6565b34801561078257600080fd5b506102a1610791366004613131565b612153565b3480156107a257600080fd5b506102806107b1366004612ef9565b61217e565b3480156107c257600080fd5b506102806107d1366004612ef9565b603b6020526000908152604090205460ff1681565b6060608f80546107f59061316a565b80601f01602080910402602001604051908101604052809291908181526020018280546108219061316a565b801561086e5780601f106108435761010080835404028352916020019161086e565b820191906000526020600020905b81548152906001019060200180831161085157829003601f168201915b5050505050905090565b603c5460009060ff161561089f5760405163ab35696f60e01b815260040160405180910390fd5b336000818152603b602052604090205460ff16156108e05760405163472511eb60e11b81526001600160a01b03821660048201526024015b60405180910390fd5b6001600160a01b0384166000908152603b6020526040902054849060ff16156109275760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b610932338686612242565b506001949350505050565b6000336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461098857604051631a88efbf60e11b815260040160405180910390fd5b60005b82811015610a8957603b60008585848181106109a9576109a961319e565b90506020020160208101906109be9190612ef9565b6001600160a01b0316815260208101919091526040016000205460ff1615610a2c578383828181106109f2576109f261319e565b9050602002016020810190610a079190612ef9565b604051638e86e03f60e01b81526001600160a01b0390911660048201526024016108d7565b6001603b6000868685818110610a4457610a4461319e565b9050602002016020810190610a599190612ef9565b6001600160a01b031681526020810191909152604001600020805460ff191691151591909117905560010161098b565b507f07381cac78ed3e2aa4d96e0d2c80e39d1c2fff09d8f6f079fa7249b553f454258383604051610abb9291906131b4565b60405180910390a15060015b92915050565b603c5460009060ff1615610af45760405163ab35696f60e01b815260040160405180910390fd5b336000818152603b602052604090205460ff1615610b305760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b6001600160a01b0385166000908152603b6020526040902054859060ff1615610b775760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b6001600160a01b0385166000908152603b6020526040902054859060ff1615610bbe5760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b6001600160a01b0386166000908152603d602052604090205460ff1615610c5d57610c0a877f000000000000000000000000000000000000000000000000000000000000000087612366565b50856001600160a01b0316876001600160a01b03167f8c0cc6a0302d83caa04c8ad7d86864df08505193f7cb978c03d53a765b09696b87604051610c5091815260200190565b60405180910390a3610c6f565b610c68878787612366565b9350610c74565b600193505b5050509392505050565b6038546001600160a01b03163314610ca95760405163799524d560e11b815260040160405180910390fd5b603880546001600160a01b03908116600090815260396020908152604091829020805460ff1916600117905592549051911681527f8f1760605a032cb34984a94a459123c67d8e0e8d83e6194924c666f5ec9d934891015b60405180910390a1565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000163003610d535760405162461bcd60e51b81526004016108d790613202565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610d9c6000805160206134b7833981519152546001600160a01b031690565b6001600160a01b031614610dc25760405162461bcd60e51b81526004016108d79061324e565b603a5481906001600160a01b03808316911614610dfd57604051634d2eaa9f60e01b81526001600160a01b03821660048201526024016108d7565b610e068261238c565b60408051600080825260208201909252610e22918491906123d8565b610e2a612543565b5050603a80546001600160a01b0319169055565b603c5460009060ff1615610e655760405163ab35696f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152603b6020526040902054839060ff1615610eac5760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b336000818152603b602052604090205460ff1615610ee85760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b610ef2858561258e565b95945050505050565b336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614610f4457604051631a88efbf60e11b815260040160405180910390fd5b603c5460ff16610f675760405163dcdde9dd60e01b815260040160405180910390fd5b603c805460ff191690556040517f472cf038e2a5f33dbaa68760dbf94ab4e159535e6580c0ac63f8202c7c6c0bb290600090a1565b603c5460009060ff1615610fc35760405163ab35696f60e01b815260040160405180910390fd5b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461100c5760405163955c501b60e01b815260040160405180910390fd5b6001600160a01b0383166000908152603b6020526040902054839060ff16156110535760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b61105d84846125b0565b5060019392505050565b603c5460009060ff161561108e5760405163ab35696f60e01b815260040160405180910390fd5b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146110d757604051631a88efbf60e11b815260040160405180910390fd5b6111017f000000000000000000000000000000000000000000000000000000000000000083612672565b506001919050565b605954610100900460ff16158080156111295750605954600160ff909116105b806111435750303b158015611143575060595460ff166001145b6111a65760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016108d7565b6059805460ff1916600117905580156111c9576059805461ff0019166101001790555b6111d16127a6565b6111db83836127d9565b6111e361280a565b8015611229576059805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b505050565b6001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001630036112765760405162461bcd60e51b81526004016108d790613202565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166112bf6000805160206134b7833981519152546001600160a01b031690565b6001600160a01b0316146112e55760405162461bcd60e51b81526004016108d79061324e565b603a5482906001600160a01b0380831691161461132057604051634d2eaa9f60e01b81526001600160a01b03821660048201526024016108d7565b6113298361238c565b611335838360016123d8565b61133d612543565b5050603a80546001600160a01b031916905550565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146113f25760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c000000000000000060648201526084016108d7565b506000805160206134b783398151915290565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461144e57604051631a88efbf60e11b815260040160405180910390fd5b826001600160a01b038116611476576040516399676b1160e01b815260040160405180910390fd5b826001600160a01b03811661149e576040516399676b1160e01b815260040160405180910390fd5b826001600160a01b0381166114c6576040516399676b1160e01b815260040160405180910390fd5b858585816001600160a01b0316836001600160a01b031614806114fa5750806001600160a01b0316826001600160a01b0316145b806115165750806001600160a01b0316836001600160a01b0316145b15611534576040516324b607a760e01b815260040160405180910390fd5b61153c612543565b603680546001600160a01b038b81166001600160a01b03199283168117909355603780548c8316908416811790915560388054928c16929093168217909255604080519384526020840192909252908201527fce591cd4145186bc05cc5b3ddb85f06b9a109fcb2e9525c8d915fc5493e9f3f19060600160405180910390a1505050505050505050565b6036546001600160a01b031633146115f157604051631a88efbf60e11b815260040160405180910390fd5b603680546001600160a01b03908116600090815260396020908152604091829020805460ff1916600117905592549051911681527fdc000b40ef826db1cea374f1c13cb28dcf5fafd6454b3788b154d16fe2f2eaf39101610d01565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461169657604051631a88efbf60e11b815260040160405180910390fd5b603c5460ff16156116ba5760405163ab35696f60e01b815260040160405180910390fd5b603c805460ff191660011790556040517f9e87fac88ff661f02d44f95383c817fece4bce600a3dab7a54406878b965e75290600090a1565b336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461173b57604051631a88efbf60e11b815260040160405180910390fd5b806001600160a01b038116611763576040516399676b1160e01b815260040160405180910390fd5b816000806000836001600160a01b03166327a099d86040518163ffffffff1660e01b8152600401606060405180830381865afa1580156117a7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117cb919061329a565b60365492955090935091506001600160a01b03808516911614158061180957506001600160a01b03831660009081526039602052604090205460ff16155b1561182757604051631a88efbf60e11b815260040160405180910390fd5b6037546001600160a01b03838116911614158061185d57506001600160a01b03821660009081526039602052604090205460ff16155b1561187b5760405163291e18d560e21b815260040160405180910390fd5b6038546001600160a01b0382811691161415806118b157506001600160a01b03811660009081526039602052604090205460ff16155b156118cf5760405163799524d560e11b815260040160405180910390fd5b603a80546001600160a01b0319166001600160a01b0388169081179091556040519081527f02b73c10eecb635def7b11d92c9d82870141a7b0623e1e43f6eeabf202f310a49060200160405180910390a1505050505050565b6060609080546107f59061316a565b606060006119458484612833565b61ffff1667ffffffffffffffff81111561196157611961612f2f565b60405190808252806020026020018201604052801561198a578160200160208202803683370190505b5090506000805b84811015611a5057603b60008787848181106119af576119af61319e565b90506020020160208101906119c49190612ef9565b6001600160a01b0316815260208101919091526040016000205460ff16611a48578585828181106119f7576119f761319e565b9050602002016020810190611a0c9190612ef9565b838361ffff1681518110611a2257611a2261319e565b6001600160a01b039092166020928302919091019091015281611a44816132f2565b9250505b600101611991565b5090949350505050565b603c5460009060ff1615611a815760405163ab35696f60e01b815260040160405180910390fd5b6001600160a01b0383166000908152603b6020526040902054839060ff1615611ac85760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b336000818152603b602052604090205460ff1615611b045760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b610ef285856128aa565b603c5460009060ff1615611b355760405163ab35696f60e01b815260040160405180910390fd5b336000818152603b602052604090205460ff1615611b715760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b6001600160a01b0384166000908152603b6020526040902054849060ff1615611bb85760405163472511eb60e11b81526001600160a01b03821660048201526024016108d7565b6001600160a01b0385166000908152603d602052604090205460ff1615611c4957611c04337f000000000000000000000000000000000000000000000000000000000000000086612925565b6040518481526001600160a01b0386169033907f8c0cc6a0302d83caa04c8ad7d86864df08505193f7cb978c03d53a765b09696b9060200160405180910390a3610932565b610932338686612925565b6037546001600160a01b03163314611c7f5760405163291e18d560e21b815260040160405180910390fd5b603780546001600160a01b03908116600090815260396020908152604091829020805460ff1916600117905592549051911681527f89cd4fb12859dfdb4b7bdb1801b2b33eff4033e99f5b3f70be28c4e33ca428a59101610d01565b6000336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611d2657604051631a88efbf60e11b815260040160405180910390fd5b60005b82811015611e2657603b6000858584818110611d4757611d4761319e565b9050602002016020810190611d5c9190612ef9565b6001600160a01b0316815260208101919091526040016000205460ff16611dc957838382818110611d8f57611d8f61319e565b9050602002016020810190611da49190612ef9565b60405163c044686f60e01b81526001600160a01b0390911660048201526024016108d7565b6000603b6000868685818110611de157611de161319e565b9050602002016020810190611df69190612ef9565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101611d29565b507fb474664863a35c00b84f99fe9155ea67676b17495d6f9d6b0277787801f77a458383604051610abb9291906131b4565b6000336001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614611ea357604051631a88efbf60e11b815260040160405180910390fd5b60005b82811015611fa457603d6000858584818110611ec457611ec461319e565b9050602002016020810190611ed99190612ef9565b6001600160a01b0316815260208101919091526040016000205460ff1615611f4757838382818110611f0d57611f0d61319e565b9050602002016020810190611f229190612ef9565b604051630f06aff960e21b81526001600160a01b0390911660048201526024016108d7565b6001603d6000868685818110611f5f57611f5f61319e565b9050602002016020810190611f749190612ef9565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101611ea6565b507ff5baf60ba05e2953af8ef7d33682a10ad1bbc75bdde6beee0f65f7aeace676998383604051610abb9291906131b4565b6000336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461202157604051631a88efbf60e11b815260040160405180910390fd5b60005b8281101561212157603d60008585848181106120425761204261319e565b90506020020160208101906120579190612ef9565b6001600160a01b0316815260208101919091526040016000205460ff166120c45783838281811061208a5761208a61319e565b905060200201602081019061209f9190612ef9565b604051630b38397360e01b81526001600160a01b0390911660048201526024016108d7565b6000603d60008686858181106120dc576120dc61319e565b90506020020160208101906120f19190612ef9565b6001600160a01b031681526020810191909152604001600020805460ff1916911515919091179055600101612024565b507fd33c03280a5b3538eb45410abed24be5b15ab859e9323538a0d59be886c515c78383604051610abb9291906131b4565b6001600160a01b039182166000908152608d6020908152604080832093909416825291909152205490565b6000336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146121c957604051631a88efbf60e11b815260040160405180910390fd5b6001600160a01b0382166000908152603b6020526040902054829060ff1661220f5760405163c044686f60e01b81526001600160a01b03821660048201526024016108d7565b61223783612232856001600160a01b03166000908152608c602052604090205490565b612672565b600191505b50919050565b6001600160a01b0383166122a45760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016108d7565b6001600160a01b0382166123055760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016108d7565b6001600160a01b038381166000818152608d602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925910160405180910390a3505050565b600033612374858285612ad2565b61237f858585612925565b60019150505b9392505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146123d55760405163799524d560e11b815260040160405180910390fd5b50565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561240b5761122983612b46565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015612465575060408051601f3d908101601f1916820190925261246291810190613313565b60015b6124c85760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b60648201526084016108d7565b6000805160206134b783398151915281146125375760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b60648201526084016108d7565b50611229838383612be2565b6036546001600160a01b03908116600090815260396020526040808220805460ff19908116909155603754841683528183208054821690556038549093168252902080549091169055565b60003361105d8185856125a18383612153565b6125ab919061332c565b612242565b6001600160a01b0382166126065760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016108d7565b80608e6000828254612618919061332c565b90915550506001600160a01b0382166000818152608c60209081526040808320805486019055518481527fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a35b5050565b6001600160a01b0382166126d25760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016108d7565b6001600160a01b0382166000908152608c6020526040902054818110156127465760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016108d7565b6001600160a01b0383166000818152608c602090815260408083208686039055608e80548790039055518581529192917fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef910160405180910390a3505050565b605954610100900460ff166127cd5760405162461bcd60e51b81526004016108d79061333f565b603c805460ff19169055565b605954610100900460ff166128005760405162461bcd60e51b81526004016108d79061333f565b61266e8282612c07565b605954610100900460ff166128315760405162461bcd60e51b81526004016108d79061333f565b565b600080805b838110156128a257603b60008686848181106128565761285661319e565b905060200201602081019061286b9190612ef9565b6001600160a01b0316815260208101919091526040016000205460ff1661289a5781612896816132f2565b9250505b600101612838565b509392505050565b600033816128b88286612153565b9050838110156129185760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b60648201526084016108d7565b6109328286868403612242565b6001600160a01b0383166129895760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016108d7565b6001600160a01b0382166129eb5760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016108d7565b6001600160a01b0383166000908152608c602052604090205481811015612a635760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016108d7565b6001600160a01b038085166000818152608c602052604080822086860390559286168082529083902080548601905591517fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef90612ac39086815260200190565b60405180910390a35b50505050565b6000612ade8484612153565b90506000198114612acc5781811015612b395760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016108d7565b612acc8484848403612242565b6001600160a01b0381163b612bb35760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b60648201526084016108d7565b6000805160206134b783398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b612beb83612c47565b600082511180612bf85750805b1561122957612acc8383612c87565b605954610100900460ff16612c2e5760405162461bcd60e51b81526004016108d79061333f565b608f612c3a83826133da565b50609061122982826133da565b612c5081612b46565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606001600160a01b0383163b612cef5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6044820152651b9d1c9858dd60d21b60648201526084016108d7565b600080846001600160a01b031684604051612d0a919061349a565b600060405180830381855af49150503d8060008114612d45576040519150601f19603f3d011682016040523d82523d6000602084013e612d4a565b606091505b5091509150610ef282826040518060600160405280602781526020016134d76027913960608315612d7c575081612385565b6123858383815115612d915781518083602001fd5b8060405162461bcd60e51b81526004016108d79190612dcf565b60005b83811015612dc6578181015183820152602001612dae565b50506000910152565b6020815260008251806020840152612dee816040850160208701612dab565b601f01601f19169190910160400192915050565b6001600160a01b03811681146123d557600080fd5b60008060408385031215612e2a57600080fd5b8235612e3581612e02565b946020939093013593505050565b60008060208385031215612e5657600080fd5b823567ffffffffffffffff80821115612e6e57600080fd5b818501915085601f830112612e8257600080fd5b813581811115612e9157600080fd5b8660208260051b8501011115612ea657600080fd5b60209290920196919550909350505050565b600080600060608486031215612ecd57600080fd5b8335612ed881612e02565b92506020840135612ee881612e02565b929592945050506040919091013590565b600060208284031215612f0b57600080fd5b813561238581612e02565b600060208284031215612f2857600080fd5b5035919050565b634e487b7160e01b600052604160045260246000fd5b600067ffffffffffffffff80841115612f6057612f60612f2f565b604051601f8501601f19908116603f01168101908282118183101715612f8857612f88612f2f565b81604052809350858152868686011115612fa157600080fd5b858560208301376000602087830101525050509392505050565b600082601f830112612fcc57600080fd5b61238583833560208501612f45565b60008060408385031215612fee57600080fd5b823567ffffffffffffffff8082111561300657600080fd5b61301286838701612fbb565b9350602085013591508082111561302857600080fd5b5061303585828601612fbb565b9150509250929050565b6000806040838503121561305257600080fd5b823561305d81612e02565b9150602083013567ffffffffffffffff81111561307957600080fd5b8301601f8101851361308a57600080fd5b61303585823560208401612f45565b6000806000606084860312156130ae57600080fd5b83356130b981612e02565b925060208401356130c981612e02565b915060408401356130d981612e02565b809150509250925092565b6020808252825182820181905260009190848201906040850190845b818110156131255783516001600160a01b031683529284019291840191600101613100565b50909695505050505050565b6000806040838503121561314457600080fd5b823561314f81612e02565b9150602083013561315f81612e02565b809150509250929050565b600181811c9082168061317e57607f821691505b60208210810361223c57634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052603260045260246000fd5b60208082528181018390526000908460408401835b868110156131f75782356131dc81612e02565b6001600160a01b0316825291830191908301906001016131c9565b509695505050505050565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b6000806000606084860312156132af57600080fd5b83516132ba81612e02565b60208501519093506132cb81612e02565b60408501519092506130d981612e02565b634e487b7160e01b600052601160045260246000fd5b600061ffff808316818103613309576133096132dc565b6001019392505050565b60006020828403121561332557600080fd5b5051919050565b80820180821115610ac757610ac76132dc565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b601f821115611229576000816000526020600020601f850160051c810160208610156133b35750805b601f850160051c820191505b818110156133d2578281556001016133bf565b505050505050565b815167ffffffffffffffff8111156133f4576133f4612f2f565b61340881613402845461316a565b8461338a565b602080601f83116001811461343d57600084156134255750858301515b600019600386901b1c1916600185901b1785556133d2565b600085815260208120601f198616915b8281101561346c5788860151825594840194600190910190840161344d565b508582101561348a5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600082516134ac818460208701612dab565b919091019291505056fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a26469706673582212208ad23089b87d611d0ef81f42170782335d6642e135a45100663b37bfd4cd8f3964736f6c634300081600330000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da69000000000000000000000000c98cb9f53e20afbbeb75caf6456ed52d5d7903f600000000000000000000000054124a6834af252a0f9ac7f478001aa500428955","name":"SmartCoin","is_blueprint":false,"license_type":"none","is_fully_verified":true,"is_verified_via_eth_bytecode_db":true,"language":"solidity","evm_version":"paris","can_be_visualized_via_sol2uml":true,"is_verified_via_sourcify":false,"additional_sources":[{"file_path":"@openzeppelin/contracts-upgradeable/interfaces/IERC1967Upgradeable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.8.3) (interfaces/IERC1967.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.\n *\n * _Available since v4.9._\n */\ninterface IERC1967Upgradeable {\n    /**\n     * @dev Emitted when the implementation is upgraded.\n     */\n    event Upgraded(address indexed implementation);\n\n    /**\n     * @dev Emitted when the admin account has changed.\n     */\n    event AdminChanged(address previousAdmin, address newAdmin);\n\n    /**\n     * @dev Emitted when the beacon is changed.\n     */\n    event BeaconUpgraded(address indexed beacon);\n}\n"},{"file_path":"@openzeppelin/contracts-upgradeable/interfaces/draft-IERC1822Upgradeable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified\n * proxy whose upgrades are fully controlled by the current implementation.\n */\ninterface IERC1822ProxiableUpgradeable {\n    /**\n     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation\n     * address.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy.\n     */\n    function proxiableUUID() external view returns (bytes32);\n}\n"},{"file_path":"@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.8.3) (proxy/ERC1967/ERC1967Upgrade.sol)\n\npragma solidity ^0.8.2;\n\nimport \"../beacon/IBeaconUpgradeable.sol\";\nimport \"../../interfaces/IERC1967Upgradeable.sol\";\nimport \"../../interfaces/draft-IERC1822Upgradeable.sol\";\nimport \"../../utils/AddressUpgradeable.sol\";\nimport \"../../utils/StorageSlotUpgradeable.sol\";\nimport \"../utils/Initializable.sol\";\n\n/**\n * @dev This abstract contract provides getters and event emitting update functions for\n * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.\n *\n * _Available since v4.1._\n *\n * @custom:oz-upgrades-unsafe-allow delegatecall\n */\nabstract contract ERC1967UpgradeUpgradeable is Initializable, IERC1967Upgradeable {\n    function __ERC1967Upgrade_init() internal onlyInitializing {\n    }\n\n    function __ERC1967Upgrade_init_unchained() internal onlyInitializing {\n    }\n    // This is the keccak-256 hash of \"eip1967.proxy.rollback\" subtracted by 1\n    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;\n\n    /**\n     * @dev Storage slot with the address of the current implementation.\n     * This is the keccak-256 hash of \"eip1967.proxy.implementation\" subtracted by 1, and is\n     * validated in the constructor.\n     */\n    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n\n    /**\n     * @dev Returns the current implementation address.\n     */\n    function _getImplementation() internal view returns (address) {\n        return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the EIP1967 implementation slot.\n     */\n    function _setImplementation(address newImplementation) private {\n        require(AddressUpgradeable.isContract(newImplementation), \"ERC1967: new implementation is not a contract\");\n        StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n    }\n\n    /**\n     * @dev Perform implementation upgrade\n     *\n     * Emits an {Upgraded} event.\n     */\n    function _upgradeTo(address newImplementation) internal {\n        _setImplementation(newImplementation);\n        emit Upgraded(newImplementation);\n    }\n\n    /**\n     * @dev Perform implementation upgrade with additional setup call.\n     *\n     * Emits an {Upgraded} event.\n     */\n    function _upgradeToAndCall(\n        address newImplementation,\n        bytes memory data,\n        bool forceCall\n    ) internal {\n        _upgradeTo(newImplementation);\n        if (data.length > 0 || forceCall) {\n            _functionDelegateCall(newImplementation, data);\n        }\n    }\n\n    /**\n     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.\n     *\n     * Emits an {Upgraded} event.\n     */\n    function _upgradeToAndCallUUPS(\n        address newImplementation,\n        bytes memory data,\n        bool forceCall\n    ) internal {\n        // Upgrades from old implementations will perform a rollback test. This test requires the new\n        // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing\n        // this special case will break upgrade paths from old UUPS implementation to new ones.\n        if (StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT).value) {\n            _setImplementation(newImplementation);\n        } else {\n            try IERC1822ProxiableUpgradeable(newImplementation).proxiableUUID() returns (bytes32 slot) {\n                require(slot == _IMPLEMENTATION_SLOT, \"ERC1967Upgrade: unsupported proxiableUUID\");\n            } catch {\n                revert(\"ERC1967Upgrade: new implementation is not UUPS\");\n            }\n            _upgradeToAndCall(newImplementation, data, forceCall);\n        }\n    }\n\n    /**\n     * @dev Storage slot with the admin of the contract.\n     * This is the keccak-256 hash of \"eip1967.proxy.admin\" subtracted by 1, and is\n     * validated in the constructor.\n     */\n    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;\n\n    /**\n     * @dev Returns the current admin.\n     */\n    function _getAdmin() internal view returns (address) {\n        return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new address in the EIP1967 admin slot.\n     */\n    function _setAdmin(address newAdmin) private {\n        require(newAdmin != address(0), \"ERC1967: new admin is the zero address\");\n        StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin;\n    }\n\n    /**\n     * @dev Changes the admin of the proxy.\n     *\n     * Emits an {AdminChanged} event.\n     */\n    function _changeAdmin(address newAdmin) internal {\n        emit AdminChanged(_getAdmin(), newAdmin);\n        _setAdmin(newAdmin);\n    }\n\n    /**\n     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.\n     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.\n     */\n    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;\n\n    /**\n     * @dev Returns the current beacon.\n     */\n    function _getBeacon() internal view returns (address) {\n        return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value;\n    }\n\n    /**\n     * @dev Stores a new beacon in the EIP1967 beacon slot.\n     */\n    function _setBeacon(address newBeacon) private {\n        require(AddressUpgradeable.isContract(newBeacon), \"ERC1967: new beacon is not a contract\");\n        require(\n            AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()),\n            \"ERC1967: beacon implementation is not a contract\"\n        );\n        StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon;\n    }\n\n    /**\n     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does\n     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).\n     *\n     * Emits a {BeaconUpgraded} event.\n     */\n    function _upgradeBeaconToAndCall(\n        address newBeacon,\n        bytes memory data,\n        bool forceCall\n    ) internal {\n        _setBeacon(newBeacon);\n        emit BeaconUpgraded(newBeacon);\n        if (data.length > 0 || forceCall) {\n            _functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data);\n        }\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n     * but performing a delegate call.\n     *\n     * _Available since v3.4._\n     */\n    function _functionDelegateCall(address target, bytes memory data) private returns (bytes memory) {\n        require(AddressUpgradeable.isContract(target), \"Address: delegate call to non-contract\");\n\n        // solhint-disable-next-line avoid-low-level-calls\n        (bool success, bytes memory returndata) = target.delegatecall(data);\n        return AddressUpgradeable.verifyCallResult(success, returndata, \"Address: low-level delegate call failed\");\n    }\n\n    /**\n     * @dev This empty reserved space is put in place to allow future versions to add new\n     * variables without shifting down storage in the inheritance chain.\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n     */\n    uint256[50] private __gap;\n}\n"},{"file_path":"@openzeppelin/contracts-upgradeable/proxy/beacon/IBeaconUpgradeable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev This is the interface that {BeaconProxy} expects of its beacon.\n */\ninterface IBeaconUpgradeable {\n    /**\n     * @dev Must return an address that can be used as a delegate call target.\n     *\n     * {BeaconProxy} will check that this address is a contract.\n     */\n    function implementation() external view returns (address);\n}\n"},{"file_path":"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.8.1) (proxy/utils/Initializable.sol)\n\npragma solidity ^0.8.2;\n\nimport \"../../utils/AddressUpgradeable.sol\";\n\n/**\n * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed\n * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an\n * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer\n * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.\n *\n * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be\n * reused. This mechanism prevents re-execution of each \"step\" but allows the creation of new initialization steps in\n * case an upgrade adds a module that needs to be initialized.\n *\n * For example:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * contract MyToken is ERC20Upgradeable {\n *     function initialize() initializer public {\n *         __ERC20_init(\"MyToken\", \"MTK\");\n *     }\n * }\n * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {\n *     function initializeV2() reinitializer(2) public {\n *         __ERC20Permit_init(\"MyToken\");\n *     }\n * }\n * ```\n *\n * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as\n * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.\n *\n * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure\n * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.\n *\n * [CAUTION]\n * ====\n * Avoid leaving a contract uninitialized.\n *\n * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation\n * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke\n * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:\n *\n * [.hljs-theme-light.nopadding]\n * ```\n * /// @custom:oz-upgrades-unsafe-allow constructor\n * constructor() {\n *     _disableInitializers();\n * }\n * ```\n * ====\n */\nabstract contract Initializable {\n    /**\n     * @dev Indicates that the contract has been initialized.\n     * @custom:oz-retyped-from bool\n     */\n    uint8 private _initialized;\n\n    /**\n     * @dev Indicates that the contract is in the process of being initialized.\n     */\n    bool private _initializing;\n\n    /**\n     * @dev Triggered when the contract has been initialized or reinitialized.\n     */\n    event Initialized(uint8 version);\n\n    /**\n     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,\n     * `onlyInitializing` functions can be used to initialize parent contracts.\n     *\n     * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a\n     * constructor.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier initializer() {\n        bool isTopLevelCall = !_initializing;\n        require(\n            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),\n            \"Initializable: contract is already initialized\"\n        );\n        _initialized = 1;\n        if (isTopLevelCall) {\n            _initializing = true;\n        }\n        _;\n        if (isTopLevelCall) {\n            _initializing = false;\n            emit Initialized(1);\n        }\n    }\n\n    /**\n     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the\n     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be\n     * used to initialize parent contracts.\n     *\n     * A reinitializer may be used after the original initialization step. This is essential to configure modules that\n     * are added through upgrades and that require initialization.\n     *\n     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`\n     * cannot be nested. If one is invoked in the context of another, execution will revert.\n     *\n     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in\n     * a contract, executing them in the right order is up to the developer or operator.\n     *\n     * WARNING: setting the version to 255 will prevent any future reinitialization.\n     *\n     * Emits an {Initialized} event.\n     */\n    modifier reinitializer(uint8 version) {\n        require(!_initializing && _initialized < version, \"Initializable: contract is already initialized\");\n        _initialized = version;\n        _initializing = true;\n        _;\n        _initializing = false;\n        emit Initialized(version);\n    }\n\n    /**\n     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the\n     * {initializer} and {reinitializer} modifiers, directly or indirectly.\n     */\n    modifier onlyInitializing() {\n        require(_initializing, \"Initializable: contract is not initializing\");\n        _;\n    }\n\n    /**\n     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.\n     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized\n     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called\n     * through proxies.\n     *\n     * Emits an {Initialized} event the first time it is successfully executed.\n     */\n    function _disableInitializers() internal virtual {\n        require(!_initializing, \"Initializable: contract is initializing\");\n        if (_initialized < type(uint8).max) {\n            _initialized = type(uint8).max;\n            emit Initialized(type(uint8).max);\n        }\n    }\n\n    /**\n     * @dev Returns the highest version that has been initialized. See {reinitializer}.\n     */\n    function _getInitializedVersion() internal view returns (uint8) {\n        return _initialized;\n    }\n\n    /**\n     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.\n     */\n    function _isInitializing() internal view returns (bool) {\n        return _initializing;\n    }\n}\n"},{"file_path":"@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.8.0) (proxy/utils/UUPSUpgradeable.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../../interfaces/draft-IERC1822Upgradeable.sol\";\nimport \"../ERC1967/ERC1967UpgradeUpgradeable.sol\";\nimport \"./Initializable.sol\";\n\n/**\n * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an\n * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.\n *\n * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is\n * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing\n * `UUPSUpgradeable` with a custom implementation of upgrades.\n *\n * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.\n *\n * _Available since v4.1._\n */\nabstract contract UUPSUpgradeable is Initializable, IERC1822ProxiableUpgradeable, ERC1967UpgradeUpgradeable {\n    function __UUPSUpgradeable_init() internal onlyInitializing {\n    }\n\n    function __UUPSUpgradeable_init_unchained() internal onlyInitializing {\n    }\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment\n    address private immutable __self = address(this);\n\n    /**\n     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is\n     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case\n     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a\n     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to\n     * fail.\n     */\n    modifier onlyProxy() {\n        require(address(this) != __self, \"Function must be called through delegatecall\");\n        require(_getImplementation() == __self, \"Function must be called through active proxy\");\n        _;\n    }\n\n    /**\n     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be\n     * callable on the implementing contract but not through proxies.\n     */\n    modifier notDelegated() {\n        require(address(this) == __self, \"UUPSUpgradeable: must not be called through delegatecall\");\n        _;\n    }\n\n    /**\n     * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the\n     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.\n     *\n     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks\n     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this\n     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.\n     */\n    function proxiableUUID() external view virtual override notDelegated returns (bytes32) {\n        return _IMPLEMENTATION_SLOT;\n    }\n\n    /**\n     * @dev Upgrade the implementation of the proxy to `newImplementation`.\n     *\n     * Calls {_authorizeUpgrade}.\n     *\n     * Emits an {Upgraded} event.\n     */\n    function upgradeTo(address newImplementation) external virtual onlyProxy {\n        _authorizeUpgrade(newImplementation);\n        _upgradeToAndCallUUPS(newImplementation, new bytes(0), false);\n    }\n\n    /**\n     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call\n     * encoded in `data`.\n     *\n     * Calls {_authorizeUpgrade}.\n     *\n     * Emits an {Upgraded} event.\n     */\n    function upgradeToAndCall(address newImplementation, bytes memory data) external payable virtual onlyProxy {\n        _authorizeUpgrade(newImplementation);\n        _upgradeToAndCallUUPS(newImplementation, data, true);\n    }\n\n    /**\n     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by\n     * {upgradeTo} and {upgradeToAndCall}.\n     *\n     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.\n     *\n     * ```solidity\n     * function _authorizeUpgrade(address) internal override onlyOwner {}\n     * ```\n     */\n    function _authorizeUpgrade(address newImplementation) internal virtual;\n\n    /**\n     * @dev This empty reserved space is put in place to allow future versions to add new\n     * variables without shifting down storage in the inheritance chain.\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n     */\n    uint256[50] private __gap;\n}\n"},{"file_path":"@openzeppelin/contracts-upgradeable/token/ERC20/ERC20Upgradeable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/ERC20.sol)\n\npragma solidity ^0.8.0;\n\nimport \"./IERC20Upgradeable.sol\";\nimport \"./extensions/IERC20MetadataUpgradeable.sol\";\nimport \"../../utils/ContextUpgradeable.sol\";\nimport \"../../proxy/utils/Initializable.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 * For a generic mechanism see {ERC20PresetMinterPauser}.\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 * 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 *\n * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}\n * functions have been added to mitigate the well-known issues around setting\n * allowances. See {IERC20-approve}.\n */\ncontract ERC20Upgradeable is Initializable, ContextUpgradeable, IERC20Upgradeable, IERC20MetadataUpgradeable {\n    mapping(address => uint256) private _balances;\n\n    mapping(address => mapping(address => 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     * The default value of {decimals} is 18. To select a different value for\n     * {decimals} you should overload it.\n     *\n     * All two of these values are immutable: they can only be set once during\n     * construction.\n     */\n    function __ERC20_init(string memory name_, string memory symbol_) internal onlyInitializing {\n        __ERC20_init_unchained(name_, symbol_);\n    }\n\n    function __ERC20_init_unchained(string memory name_, string memory symbol_) internal onlyInitializing {\n        _name = name_;\n        _symbol = symbol_;\n    }\n\n    /**\n     * @dev Returns the name of the token.\n     */\n    function name() public view virtual override 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 override 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 value {ERC20} uses, unless this function is\n     * 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 override returns (uint8) {\n        return 18;\n    }\n\n    /**\n     * @dev See {IERC20-totalSupply}.\n     */\n    function totalSupply() public view virtual override returns (uint256) {\n        return _totalSupply;\n    }\n\n    /**\n     * @dev See {IERC20-balanceOf}.\n     */\n    function balanceOf(address account) public view virtual override 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 `amount`.\n     */\n    function transfer(address to, uint256 amount) public virtual override returns (bool) {\n        address owner = _msgSender();\n        _transfer(owner, to, amount);\n        return true;\n    }\n\n    /**\n     * @dev See {IERC20-allowance}.\n     */\n    function allowance(address owner, address spender) public view virtual override returns (uint256) {\n        return _allowances[owner][spender];\n    }\n\n    /**\n     * @dev See {IERC20-approve}.\n     *\n     * NOTE: If `amount` 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 amount) public virtual override returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, amount);\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 `amount`.\n     * - the caller must have allowance for ``from``'s tokens of at least\n     * `amount`.\n     */\n    function transferFrom(\n        address from,\n        address to,\n        uint256 amount\n    ) public virtual override returns (bool) {\n        address spender = _msgSender();\n        _spendAllowance(from, spender, amount);\n        _transfer(from, to, amount);\n        return true;\n    }\n\n    /**\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\n     *\n     * This is an alternative to {approve} that can be used as a mitigation for\n     * problems described in {IERC20-approve}.\n     *\n     * Emits an {Approval} event indicating the updated allowance.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {\n        address owner = _msgSender();\n        _approve(owner, spender, allowance(owner, spender) + addedValue);\n        return true;\n    }\n\n    /**\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\n     *\n     * This is an alternative to {approve} that can be used as a mitigation for\n     * problems described in {IERC20-approve}.\n     *\n     * Emits an {Approval} event indicating the updated allowance.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `spender` must have allowance for the caller of at least\n     * `subtractedValue`.\n     */\n    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {\n        address owner = _msgSender();\n        uint256 currentAllowance = allowance(owner, spender);\n        require(currentAllowance >= subtractedValue, \"ERC20: decreased allowance below zero\");\n        unchecked {\n            _approve(owner, spender, currentAllowance - subtractedValue);\n        }\n\n        return true;\n    }\n\n    /**\n     * @dev Moves `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     * Requirements:\n     *\n     * - `from` cannot be the zero address.\n     * - `to` cannot be the zero address.\n     * - `from` must have a balance of at least `amount`.\n     */\n    function _transfer(\n        address from,\n        address to,\n        uint256 amount\n    ) internal virtual {\n        require(from != address(0), \"ERC20: transfer from the zero address\");\n        require(to != address(0), \"ERC20: transfer to the zero address\");\n\n        _beforeTokenTransfer(from, to, amount);\n\n        uint256 fromBalance = _balances[from];\n        require(fromBalance >= amount, \"ERC20: transfer amount exceeds balance\");\n        unchecked {\n            _balances[from] = fromBalance - amount;\n            // Overflow not possible: the sum of all balances is capped by totalSupply, and the sum is preserved by\n            // decrementing then incrementing.\n            _balances[to] += amount;\n        }\n\n        emit Transfer(from, to, amount);\n\n        _afterTokenTransfer(from, to, amount);\n    }\n\n    /** @dev Creates `amount` tokens and assigns them to `account`, increasing\n     * the total supply.\n     *\n     * Emits a {Transfer} event with `from` set to the zero address.\n     *\n     * Requirements:\n     *\n     * - `account` cannot be the zero address.\n     */\n    function _mint(address account, uint256 amount) internal virtual {\n        require(account != address(0), \"ERC20: mint to the zero address\");\n\n        _beforeTokenTransfer(address(0), account, amount);\n\n        _totalSupply += amount;\n        unchecked {\n            // Overflow not possible: balance + amount is at most totalSupply + amount, which is checked above.\n            _balances[account] += amount;\n        }\n        emit Transfer(address(0), account, amount);\n\n        _afterTokenTransfer(address(0), account, amount);\n    }\n\n    /**\n     * @dev Destroys `amount` tokens from `account`, reducing the\n     * total supply.\n     *\n     * Emits a {Transfer} event with `to` set to the zero address.\n     *\n     * Requirements:\n     *\n     * - `account` cannot be the zero address.\n     * - `account` must have at least `amount` tokens.\n     */\n    function _burn(address account, uint256 amount) internal virtual {\n        require(account != address(0), \"ERC20: burn from the zero address\");\n\n        _beforeTokenTransfer(account, address(0), amount);\n\n        uint256 accountBalance = _balances[account];\n        require(accountBalance >= amount, \"ERC20: burn amount exceeds balance\");\n        unchecked {\n            _balances[account] = accountBalance - amount;\n            // Overflow not possible: amount <= accountBalance <= totalSupply.\n            _totalSupply -= amount;\n        }\n\n        emit Transfer(account, address(0), amount);\n\n        _afterTokenTransfer(account, address(0), amount);\n    }\n\n    /**\n     * @dev Sets `amount` 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    function _approve(\n        address owner,\n        address spender,\n        uint256 amount\n    ) internal virtual {\n        require(owner != address(0), \"ERC20: approve from the zero address\");\n        require(spender != address(0), \"ERC20: approve to the zero address\");\n\n        _allowances[owner][spender] = amount;\n        emit Approval(owner, spender, amount);\n    }\n\n    /**\n     * @dev Updates `owner` s allowance for `spender` based on spent `amount`.\n     *\n     * Does not update the allowance amount in case of infinite allowance.\n     * Revert if not enough allowance is available.\n     *\n     * Might emit an {Approval} event.\n     */\n    function _spendAllowance(\n        address owner,\n        address spender,\n        uint256 amount\n    ) internal virtual {\n        uint256 currentAllowance = allowance(owner, spender);\n        if (currentAllowance != type(uint256).max) {\n            require(currentAllowance >= amount, \"ERC20: insufficient allowance\");\n            unchecked {\n                _approve(owner, spender, currentAllowance - amount);\n            }\n        }\n    }\n\n    /**\n     * @dev Hook that is called before any transfer of tokens. This includes\n     * minting and burning.\n     *\n     * Calling conditions:\n     *\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\n     * will be transferred to `to`.\n     * - when `from` is zero, `amount` tokens will be minted for `to`.\n     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.\n     * - `from` and `to` are never both zero.\n     *\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n     */\n    function _beforeTokenTransfer(\n        address from,\n        address to,\n        uint256 amount\n    ) internal virtual {}\n\n    /**\n     * @dev Hook that is called after any transfer of tokens. This includes\n     * minting and burning.\n     *\n     * Calling conditions:\n     *\n     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens\n     * has been transferred to `to`.\n     * - when `from` is zero, `amount` tokens have been minted for `to`.\n     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.\n     * - `from` and `to` are never both zero.\n     *\n     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].\n     */\n    function _afterTokenTransfer(\n        address from,\n        address to,\n        uint256 amount\n    ) internal virtual {}\n\n    /**\n     * @dev This empty reserved space is put in place to allow future versions to add new\n     * variables without shifting down storage in the inheritance chain.\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n     */\n    uint256[45] private __gap;\n}\n"},{"file_path":"@openzeppelin/contracts-upgradeable/token/ERC20/IERC20Upgradeable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Interface of the ERC20 standard as defined in the EIP.\n */\ninterface IERC20Upgradeable {\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 amount of tokens in existence.\n     */\n    function totalSupply() external view returns (uint256);\n\n    /**\n     * @dev Returns the amount of tokens owned by `account`.\n     */\n    function balanceOf(address account) external view returns (uint256);\n\n    /**\n     * @dev Moves `amount` 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 amount) 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 `amount` as the allowance of `spender` over the 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 amount) external returns (bool);\n\n    /**\n     * @dev Moves `amount` tokens from `from` to `to` using the\n     * allowance mechanism. `amount` 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(\n        address from,\n        address to,\n        uint256 amount\n    ) external returns (bool);\n}\n"},{"file_path":"@openzeppelin/contracts-upgradeable/token/ERC20/extensions/IERC20MetadataUpgradeable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)\n\npragma solidity ^0.8.0;\n\nimport \"../IERC20Upgradeable.sol\";\n\n/**\n * @dev Interface for the optional metadata functions from the ERC20 standard.\n *\n * _Available since v4.1._\n */\ninterface IERC20MetadataUpgradeable is IERC20Upgradeable {\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":"@openzeppelin/contracts-upgradeable/utils/AddressUpgradeable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)\n\npragma solidity ^0.8.1;\n\n/**\n * @dev Collection of functions related to the address type\n */\nlibrary AddressUpgradeable {\n    /**\n     * @dev Returns true if `account` is a contract.\n     *\n     * [IMPORTANT]\n     * ====\n     * It is unsafe to assume that an address for which this function returns\n     * false is an externally-owned account (EOA) and not a contract.\n     *\n     * Among others, `isContract` will return false for the following\n     * types of addresses:\n     *\n     *  - an externally-owned account\n     *  - a contract in construction\n     *  - an address where a contract will be created\n     *  - an address where a contract lived, but was destroyed\n     * ====\n     *\n     * [IMPORTANT]\n     * ====\n     * You shouldn't rely on `isContract` to protect against flash loan attacks!\n     *\n     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets\n     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract\n     * constructor.\n     * ====\n     */\n    function isContract(address account) internal view returns (bool) {\n        // This method relies on extcodesize/address.code.length, which returns 0\n        // for contracts in construction, since the code is only stored at the end\n        // of the constructor execution.\n\n        return account.code.length > 0;\n    }\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://diligence.consensys.net/posts/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.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].\n     */\n    function sendValue(address payable recipient, uint256 amount) internal {\n        require(address(this).balance >= amount, \"Address: insufficient balance\");\n\n        (bool success, ) = recipient.call{value: amount}(\"\");\n        require(success, \"Address: unable to send value, recipient may have reverted\");\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, it is bubbled up by this\n     * function (like regular Solidity function calls).\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     * _Available since v3.1._\n     */\n    function functionCall(address target, bytes memory data) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0, \"Address: low-level call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with\n     * `errorMessage` as a fallback revert reason when `target` reverts.\n     *\n     * _Available since v3.1._\n     */\n    function functionCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, 0, errorMessage);\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     * _Available since v3.1._\n     */\n    function functionCallWithValue(\n        address target,\n        bytes memory data,\n        uint256 value\n    ) internal returns (bytes memory) {\n        return functionCallWithValue(target, data, value, \"Address: low-level call with value failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but\n     * with `errorMessage` as a fallback revert reason when `target` reverts.\n     *\n     * _Available since v3.1._\n     */\n    function functionCallWithValue(\n        address target,\n        bytes memory data,\n        uint256 value,\n        string memory errorMessage\n    ) internal returns (bytes memory) {\n        require(address(this).balance >= value, \"Address: insufficient balance for call\");\n        (bool success, bytes memory returndata) = target.call{value: value}(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],\n     * but performing a static call.\n     *\n     * _Available since v3.3._\n     */\n    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {\n        return functionStaticCall(target, data, \"Address: low-level static call failed\");\n    }\n\n    /**\n     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],\n     * but performing a static call.\n     *\n     * _Available since v3.3._\n     */\n    function functionStaticCall(\n        address target,\n        bytes memory data,\n        string memory errorMessage\n    ) internal view returns (bytes memory) {\n        (bool success, bytes memory returndata) = target.staticcall(data);\n        return verifyCallResultFromTarget(target, success, returndata, errorMessage);\n    }\n\n    /**\n     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling\n     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.\n     *\n     * _Available since v4.8._\n     */\n    function verifyCallResultFromTarget(\n        address target,\n        bool success,\n        bytes memory returndata,\n        string memory errorMessage\n    ) internal view returns (bytes memory) {\n        if (success) {\n            if (returndata.length == 0) {\n                // only check isContract if the call was successful and the return data is empty\n                // otherwise we already know that it was a contract\n                require(isContract(target), \"Address: call to non-contract\");\n            }\n            return returndata;\n        } else {\n            _revert(returndata, errorMessage);\n        }\n    }\n\n    /**\n     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the\n     * revert reason or using the provided one.\n     *\n     * _Available since v4.3._\n     */\n    function verifyCallResult(\n        bool success,\n        bytes memory returndata,\n        string memory errorMessage\n    ) internal pure returns (bytes memory) {\n        if (success) {\n            return returndata;\n        } else {\n            _revert(returndata, errorMessage);\n        }\n    }\n\n    function _revert(bytes memory returndata, string memory errorMessage) 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(errorMessage);\n        }\n    }\n}\n"},{"file_path":"@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)\n\npragma solidity ^0.8.0;\nimport \"../proxy/utils/Initializable.sol\";\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 ContextUpgradeable is Initializable {\n    function __Context_init() internal onlyInitializing {\n    }\n\n    function __Context_init_unchained() internal onlyInitializing {\n    }\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    /**\n     * @dev This empty reserved space is put in place to allow future versions to add new\n     * variables without shifting down storage in the inheritance chain.\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n     */\n    uint256[50] private __gap;\n}\n"},{"file_path":"@openzeppelin/contracts-upgradeable/utils/StorageSlotUpgradeable.sol","source_code":"// SPDX-License-Identifier: MIT\n// OpenZeppelin Contracts (last updated v4.7.0) (utils/StorageSlot.sol)\n\npragma solidity ^0.8.0;\n\n/**\n * @dev Library for reading and writing primitive types to specific storage slots.\n *\n * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.\n * This library helps with reading and writing to such slots without the need for inline assembly.\n *\n * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.\n *\n * Example usage to set ERC1967 implementation slot:\n * ```\n * contract ERC1967 {\n *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;\n *\n *     function _getImplementation() internal view returns (address) {\n *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;\n *     }\n *\n *     function _setImplementation(address newImplementation) internal {\n *         require(Address.isContract(newImplementation), \"ERC1967: new implementation is not a contract\");\n *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;\n *     }\n * }\n * ```\n *\n * _Available since v4.1 for `address`, `bool`, `bytes32`, and `uint256`._\n */\nlibrary StorageSlotUpgradeable {\n    struct AddressSlot {\n        address value;\n    }\n\n    struct BooleanSlot {\n        bool value;\n    }\n\n    struct Bytes32Slot {\n        bytes32 value;\n    }\n\n    struct Uint256Slot {\n        uint256 value;\n    }\n\n    /**\n     * @dev Returns an `AddressSlot` with member `value` located at `slot`.\n     */\n    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.\n     */\n    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.\n     */\n    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n\n    /**\n     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.\n     */\n    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {\n        /// @solidity memory-safe-assembly\n        assembly {\n            r.slot := slot\n        }\n    }\n}\n"},{"file_path":"contracts/smartCoin/AccessControlDataLayout.sol","source_code":"// SPDX-License-Identifier: Apache-2.0\n\npragma solidity 0.8.22;\n\n/**\n * @dev This contract contains the storage part of the AccessControlUpgradeable contract.\n * It includes a __gap field that enables adding new fields without messing up the layout\n * and keeping compatibility accross UUPS updates (see field description for details)\n */\nabstract contract AccessControlDataLayout {\n    /// @custom:oz-renamed-from whitelist\n    mapping(address => bool) private whitelist_deprecated;\n    /**\n     * @dev Address of the future new registrar operator\n     */\n    address internal newRegistrar;\n    /**\n     * @dev Address of the future new operations operator\n     */\n    address internal newOperations;\n    /**\n     * @dev Address of the future new technical operator\n     */\n    address internal newTechnical;\n    /**\n     * @dev Structure that keeps track of whether the future operators have accepted their future role\n     */\n    mapping(address => bool) internal hasAcceptedRole;\n    /**\n     * @dev Address of the future new implementation contract\n     */\n    address public newImplementation;\n\n    /**\n     * @dev  Structure containing all frozen addresses\n     */\n    mapping(address => bool) public isFrozen;\n    /**\n     * @dev  The state of the contract\n     */\n    bool public paused;\n\n    /**\n     * @dev Structure containing all addresses that are allowed to redeem tokens\n     */\n    mapping(address => bool) public isRedemptionAddress;\n\n    /**\n     * @dev This empty reserved space is put in place to allow future versions to add new\n     * variables without shifting down storage in the inheritance chain.\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n     */\n    uint256[27] private __gap;\n}\n"},{"file_path":"contracts/smartCoin/AccessControlUpgradeable.sol","source_code":"// SPDX-License-Identifier: Apache-2.0\n\npragma solidity 0.8.22;\n\nimport \"@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol\";\nimport \"./ISmartCoin.sol\";\nimport \"./IAccessControl.sol\";\nimport \"./AccessControlDataLayout.sol\";\n\nabstract contract AccessControlUpgradeable is\n    AccessControlDataLayout,\n    IAccessControl,\n    Initializable\n{\n    /**\n     * @dev Used when a method reserved to the registrar operator is called by some other address\n     */\n    error UnauthorizedRegistrar();\n    /**\n     * @dev Used when a method reserved to the allowed minters is called by some other address\n     */\n    error UnauthorizedMinter();\n    /**\n     * @dev Used when a method reserved to the allowed burner is called by some other address\n     */\n    error UnauthorizedBurner();\n    /**\n     * @dev Used when `addr` address is not authorized to perform an action\n     */\n    error Unauthorized(address addr);\n    /**\n     * @dev Used when the zero address is used as parameter where it's not allowed\n     */\n    error ZeroAddressCheck();\n    /**\n     * @dev Used when trying to freeze an address and the address is already in the frozen list\n     */\n    error AddressAlreadyFrozen(address addr);\n    /**\n     * @dev Used when a method reserved to the technical operator is called by some other address\n     */\n    error UnauthorizedTechnical();\n    /**\n     * @dev Used when a method reserved to the operations operator is called by some other address\n     */\n    error UnauthorizedOperations();\n    /**\n     * @dev Used when trying to unfreeze an address and the address is not frozen\n     */\n    error AddressNotFrozen(address addr);\n    /**\n     * @dev Used when trying to update to an unauthorized implementation\n     */\n    error UnauthorizedImplementation(address implementation);\n    /**\n     * @dev Used when contract already paused\n     */\n    error ContractPaused();\n    /**\n     * @dev Used when contract already not paused\n     */\n    error ContractNotPaused();\n\n    /**\n     * @dev Used when operators have same addresses\n     */\n    error InconsistentOperators();\n\n    /**\n     * @dev Address is already a redemption address \n     */\n    error AlreadyRedemptionAddress(address addr);\n\n    /**\n     * @dev Address is not a redemption address\n     */\n    error NotRedemptionAddress(address addr);\n    \n\n    /**\n     * @dev Current registrar operator's address\n     */\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address public immutable registrar;\n    /**\n     * @dev Current operations operator's address\n     */\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address public immutable operations;\n    /**\n     * @dev Current technical operator's address\n     */\n    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable\n    address public immutable technical;\n\n    /**\n     * @dev Throws if called by any account that's frozen.\n     */\n    modifier onlyNotFrozen(address _addr) {\n        if (isFrozen[_addr]) revert Unauthorized(_addr);\n        _;\n    }\n    /**\n     * @dev Throws if called by any account that's not frozen.\n     */\n    modifier onlyFrozen(address _addr) {\n        if (!isFrozen[_addr]) revert AddressNotFrozen(_addr);\n        _;\n    }\n\n    /**\n     * @dev Throws if called by any account other than the registrar.\n     */\n    modifier onlyRegistrar() {\n        if (msg.sender != registrar) revert UnauthorizedRegistrar();\n        _;\n    }\n    /**\n     * @dev Throws if called by any account other than the registrar\n     */\n    modifier onlyAllowedMinter() {\n        if (msg.sender != registrar)\n            revert UnauthorizedMinter();\n        _;\n    }\n    /**\n     * @dev Throws if called by any account other than the technical.\n     */\n    modifier onlyTechnical() {\n        if (msg.sender != technical) revert UnauthorizedTechnical();\n        _;\n    }\n    modifier OnlyWhenOperatorsHaveDifferentAddress(\n        address _registrar,\n        address _operations,\n        address _technical\n    ) {\n        if (\n            _registrar == _operations ||\n            _operations == _technical ||\n            _registrar == _technical\n        ) revert InconsistentOperators();\n        _;\n    }\n\n    /**\n     * @dev Consumes the authorization to update to this `_newImplementation`, that was given by the current registrar\n     * Throws if `_newImplementation` has not been previously authorized\n     */\n    modifier consumeAuthorizeImplementation(address _newImplementation) {\n        if (newImplementation != _newImplementation)\n            revert UnauthorizedImplementation(_newImplementation);\n        _;\n        newImplementation = address(0);\n    }\n    /**\n     * @dev Throws if `_registrar`, `_operations` and `_technical` have not all accepted their respective future role\n     * and (still) match the values for new contract\n     */\n    modifier onlyWhenOperatorsMatchAndAcceptedRole(ISmartCoin newSmartCoin) {\n        (\n            address _registar,\n            address _operations,\n            address _technical\n        ) = newSmartCoin.getOperators();\n        if (_registar != newRegistrar || !hasAcceptedRole[_registar])\n            revert UnauthorizedRegistrar();\n        if (_operations != newOperations || !hasAcceptedRole[_operations])\n            revert UnauthorizedOperations();\n        if (_technical != newTechnical || !hasAcceptedRole[_technical])\n            revert UnauthorizedTechnical();\n        _;\n    }\n    /**\n     * @dev Throws if `addr` is the zero address\n     */\n    modifier onlyNotZeroAddress(address addr) {\n        if (addr == address(0)) revert ZeroAddressCheck();\n        _;\n    }\n    /**\n     * @dev Throws if the contract is not paused.\n     */\n    modifier onlyWhenNotPaused() {\n        if (paused) revert ContractPaused();\n        _;\n    }\n\n    /**\n     * @dev Throws if the contract is paused.\n     */\n    modifier onlyWhenPaused() {\n        if (!paused) revert ContractNotPaused();\n        _;\n    }\n\n    /// @custom:oz-upgrades-unsafe-allow constructor\n    constructor(\n        address _registrar,\n        address _operations,\n        address _technical\n    ) {\n        registrar = _registrar;\n        operations = _operations;\n        technical = _technical;\n    }\n\n    /**\n     * @dev Freeze a list of  addresses\n     * NB : only the registrar operator can call this method\n     */\n    function freeze(\n        address[] calldata _addrs\n    ) external onlyRegistrar returns (bool) {\n        for (uint256 i = 0; i < _addrs.length; i++) {\n            if (isFrozen[_addrs[i]]) revert AddressAlreadyFrozen(_addrs[i]);\n            isFrozen[_addrs[i]] = true;\n        }\n        emit AddressesFrozen(_addrs);\n        return true;\n    }\n\n    /**\n     * @dev Unfreeze a list of  addresses\n     * NB : only the registrar operator can call this method\n     */\n    function unfreeze(\n        address[] calldata _addrs\n    ) external onlyRegistrar returns (bool) {\n        for (uint256 i = 0; i < _addrs.length; i++) {\n            if (!isFrozen[_addrs[i]]) revert AddressNotFrozen(_addrs[i]);\n            isFrozen[_addrs[i]] = false;\n        }\n        emit AddressesUnFrozen(_addrs);\n        return true;\n    }\n\n    /**\n     * @dev Name the operators for the next implementation\n     * and emits a corresponding `NamedNewOperators` event\n     * The operators will have to accept their future roles before the update to the new implementation can take place\n     * NB : only the registrar operator can call this method\n     */\n    function nameNewOperators(\n        address _registrar,\n        address _operations,\n        address _technical\n    )\n        external\n        onlyRegistrar\n        onlyNotZeroAddress(_registrar)\n        onlyNotZeroAddress(_operations)\n        onlyNotZeroAddress(_technical)\n        OnlyWhenOperatorsHaveDifferentAddress(\n            _registrar,\n            _operations,\n            _technical\n        )\n    {\n        _resetNewOperators();\n        newRegistrar = _registrar;\n        newOperations = _operations;\n        newTechnical = _technical;\n        emit NamedNewOperators(_registrar, _operations, _technical);\n    }\n\n    /**\n     * @dev Accepts the future registrar role\n     * and emits a corresponding `AcceptedRegistrarRole` event\n     * NB: only the future registrar operator can call this method\n     */\n    function acceptRegistrarRole() external {\n        if (newRegistrar != msg.sender) revert UnauthorizedRegistrar();\n        hasAcceptedRole[newRegistrar] = true;\n        emit AcceptedRegistrarRole(newRegistrar);\n    }\n\n    /**\n     * @dev Accepts the future operations role\n     * and emits a corresponding `AcceptedOperationsRole` event\n     * NB: only the future operations operator can call this method\n     */\n    function acceptOperationsRole() external {\n        if (newOperations != msg.sender) revert UnauthorizedOperations();\n        hasAcceptedRole[newOperations] = true;\n        emit AcceptedOperationsRole(newOperations);\n    }\n\n    /**\n     * @dev Accepts the future technical role\n     * and emits a corresponding `AcceptedTechnicalRole` event\n     * NB: only the future technical operator can call this method\n     */\n    function acceptTechnicalRole() external {\n        if (newTechnical != msg.sender) revert UnauthorizedTechnical();\n        hasAcceptedRole[newTechnical] = true;\n        emit AcceptedTechnicalRole(newTechnical);\n    }\n\n    /**\n     * @dev Authorizes the future new implementation contract\n     * and emits a corresponding `ImplementationAuthorized` event\n     * NB: only the (current) registrar operator can call this method\n     * NB: fails if all future operators have not previously accepted their role using the acceptXXXRole() methods\n     */\n    function authorizeImplementation(\n        address _implementation\n    )\n        external\n        onlyRegistrar\n        onlyNotZeroAddress(_implementation)\n        onlyWhenOperatorsMatchAndAcceptedRole(ISmartCoin(_implementation))\n    {\n        newImplementation = _implementation;\n        emit ImplementationAuthorized(newImplementation);\n    }\n\n    function __AccessControl_init() internal onlyInitializing {\n        paused = false;\n    }\n\n    /**\n     * @dev Internal method that resets new operators' acceptation statuses\n     */\n    function _resetNewOperators() internal {\n        hasAcceptedRole[newRegistrar] = false;\n        hasAcceptedRole[newOperations] = false;\n        hasAcceptedRole[newTechnical] = false;\n    }\n\n    /**\n     * @dev called by the owner to pause, triggers stopped state\n     */\n    function pause() external onlyRegistrar onlyWhenNotPaused {\n        paused = true;\n        emit Paused();\n    }\n\n    /**\n     * @dev called by the owner to unpause, returns to normal state\n     */\n    function unpause() external onlyRegistrar onlyWhenPaused {\n        paused = false;\n        emit UnPaused();\n    }\n\n    /**\n     * @dev find not frozen addresses\n     */\n    function findNotFrozen(\n        address[] calldata addrs\n    ) external view returns (address[] memory) {\n        address[] memory notFrozenAddresses = new address[](\n            getNumberOfNotFrozenAddresses(addrs)\n        );\n        uint16 count = 0;\n        for (uint i = 0; i < addrs.length; i++) {\n            if (!isFrozen[addrs[i]]) {\n                notFrozenAddresses[count] = addrs[i];\n                count++;\n            }\n        }\n        return notFrozenAddresses;\n    }\n\n    /**\n     * @dev get number of not frozen addresses\n     */\n    function getNumberOfNotFrozenAddresses(\n        address[] calldata addrs\n    ) internal view returns (uint16) {\n        uint16 count = 0;\n        for (uint i = 0; i < addrs.length; i++) {\n            if (!isFrozen[addrs[i]]) {\n                count++;\n            }\n        }\n        return count;\n    }\n    /**\n     * @dev add redemption addresses\n     * NB: only the (current) registrar operator can call this method\n     */\n    function addRedemptionAddresses(\n        address[] calldata addrs\n    ) external onlyRegistrar returns (bool) {\n        for (uint256 i = 0; i < addrs.length; i++) {\n            if (isRedemptionAddress[addrs[i]])\n                revert AlreadyRedemptionAddress(addrs[i]);\n            isRedemptionAddress[addrs[i]] = true;\n        }\n        emit RedemptionAddressesAdded(addrs);\n        return true;\n    }\n    /**\n     * @dev remove redemption addresses\n     * NB: only the (current) registrar operator can call this method\n     */\n    function removeRedemptionAddresses(\n        address[] calldata addrs\n    ) external onlyRegistrar returns (bool) {\n        for (uint256 i = 0; i < addrs.length; i++) {\n            if (!isRedemptionAddress[addrs[i]])\n                revert NotRedemptionAddress(addrs[i]);\n            isRedemptionAddress[addrs[i]] = false;\n        }\n        emit RedemptionAddressesRemoved(addrs);\n        return true;\n    }\n}\n"},{"file_path":"contracts/smartCoin/IAccessControl.sol","source_code":"// SPDX-License-Identifier: Apache-2.0\n\npragma solidity 0.8.22;\n\ninterface IAccessControl {\n    /**\n     * @dev Emitted when addresses is added to the frozen list\n     */\n    event AddressesFrozen(address[] addrs);\n    /**\n     * @dev Emitted when addresses is removed from the frozen list\n     */\n    event AddressesUnFrozen(address[] addrs);\n    /**\n     * @dev Emitted when new operators are named by the registrar operator\n     */\n    event NamedNewOperators(\n        address registrar,\n        address operations,\n        address technical\n    );\n    /**\n     * @dev Emitted when the future new registrar operator has accepted the role\n     */\n    event AcceptedRegistrarRole(address registrar);\n    /**\n     * @dev Emitted when the future new operations operator has accepted the role\n     */\n    event AcceptedOperationsRole(address operations);\n    /**\n     * @dev Emitted when the future new technical operator has accepted the role\n     */\n    event AcceptedTechnicalRole(address technical);\n    /**\n     * @dev Emitted when the future new implementation contract has been authorized by the registrar\n     */\n    event ImplementationAuthorized(address implementation);\n    /**\n     * @dev Emitted when the contract is  paused\n     */\n    event Paused();\n    /**\n     * @dev Emitted when the contract is unpaused\n     */\n    event UnPaused();\n\n    /**\n     * @dev Emitted when addresses are added to the redemption addresses\n     */\n    event RedemptionAddressesAdded(address[] addr);\n    /**\n     * @dev Emitted when addresses are removed from the redemption addresses\n     */\n    event RedemptionAddressesRemoved(address[] addr);\n\n    /**\n     * @dev Freeze a list of  addresses\n     */\n    function freeze(address[] calldata addrs) external returns (bool);\n\n    /**\n     * @dev Unfreeze a list of  addresses\n     */\n    function unfreeze(address[] calldata addrs) external returns (bool);\n\n    /**\n     * @dev Accepts the future registrar role\n     * NB: only the future registrar operator can call this method\n     */\n    function acceptRegistrarRole() external;\n\n    /**\n     * @dev Accepts the future operations role\n     * NB: only the future operations operator can call this method\n     */\n    function acceptOperationsRole() external;\n\n    /**\n     * @dev Accepts the future technical role\n     * NB: only the future technical operator can call this method\n     */\n    function acceptTechnicalRole() external;\n\n    /**\n     * @dev Authorizes the future new implementation contract\n     * NB: only the (current) registrar operator can call this method\n     */\n    function authorizeImplementation(address implementation) external;\n\n    /**\n     * @dev pause the contract except for regitrar actions mint and burn\n     * NB: only the (current) registrar operator can call this method\n     */\n    function pause() external;\n\n    /**\n     * @dev unpause the contract\n     * NB: only the (current) registrar operator can call this method\n     */\n    function unpause() external;\n\n    /**\n     * @dev find not frozen addresses\n     */\n    function findNotFrozen(\n        address[] calldata addrs\n    ) external view returns (address[] memory);\n\n    /**\n     * @dev add redemption addresses\n     * NB: only the (current) registrar operator can call this method\n     */\n    function addRedemptionAddresses(\n        address[] calldata addrs\n    ) external returns (bool);\n    \n    /**\n     * @dev remove redemption addresses\n     * NB: only the (current) registrar operator can call this method\n     */\n    function removeRedemptionAddresses(\n        address[] calldata addrs\n    ) external returns (bool);\n}\n"},{"file_path":"contracts/smartCoin/ISmartCoin.sol","source_code":"// SPDX-License-Identifier: Apache-2.0\n\npragma solidity 0.8.22;\n\n/**\n * @dev This interface is a slightly modified version of the IERC20 standard interface\n * Transfers to the registrar operator or the operations operator will occur\n * once validated by the registrar operator using the validateTransfer method\n */\ninterface ISmartCoin {\n    /**\n     * @dev Emitted when a transfer to redemption address is processed\n     */\n    event RedemptionStarted(\n        address indexed from,\n        address indexed to,\n        uint256 value\n    );\n    /**\n     * @dev Emitted when a transfer request is rejected\n     */\n    event TransferRejected(bytes32 transferHash);\n    /**\n     * @dev Emitted when a transfer request is validated\n     */\n    event TransferValidated(bytes32 transferHash);\n\n    /**\n     * @dev Burns a `amount` amount of tokens from the caller.\n     */\n    function burn(uint256 amount) external returns (bool);\n\n    /**\n     * @dev Mints a `amount` amount of tokens on `to` address\n     */\n    function mint(address to, uint256 amount) external returns (bool);\n\n    /**\n     * @dev Transfer the balance of `_addr` to registrar address\n     * The tokens are transferred then burned\n     *\n     * NB: This method is reserved to the registrar operator.\n     */\n    function wipeFrozenAddress(address _addr) external returns (bool);\n\n    /**\n     * @dev Same semantic as ERC20's transfer function although there are 2 cases :\n     * 1- if the destination address is neither the registar operator's nor the operations operator's,\n     * then the transfer will occur right away\n     * 2 - if the destination is either the registrar operator's or the operations operator's\n     * then the transfer will only actually occur once validated by the registrar operator\n     * using the validateTransfer method\n     */\n    function transfer(address to, uint256 value) external returns (bool);\n\n    /**\n     * @dev Sets a `value` amount of tokens as the allowance of `spender` over the\n     * caller's tokens.     *\n     */\n    function approve(address spender, uint256 value) external returns (bool);\n\n    /**\n     * @dev Atomically decreases the allowance granted to `spender` by the caller.\n     *\n     * This is an alternative to {approve} that can be used as a mitigation for\n     * problems described in {IERC20-approve}.\n     *\n     * Emits an {Approval} event indicating the updated allowance.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     * - `spender` must have allowance for the caller of at least\n     * `requestedDecrease`.\n     *\n     * NOTE: Although this function is designed to avoid double spending with {approval},\n     * it can still be frontrunned, preventing any attempt of allowance reduction.\n     */\n    function decreaseAllowance(\n        address spender,\n        uint256 subtractedValue\n    ) external returns (bool);\n\n    /**\n     * @dev Atomically increases the allowance granted to `spender` by the caller.\n     *\n     * This is an alternative to {approve} that can be used as a mitigation for\n     * problems described in {IERC20-approve}.\n     *\n     * Emits an {Approval} event indicating the updated allowance.\n     *\n     * Requirements:\n     *\n     * - `spender` cannot be the zero address.\n     */\n    function increaseAllowance(\n        address spender,\n        uint256 addedValue\n    ) external returns (bool);\n\n    /**\n     * @dev Same semantic as ERC20's transferFrom function(no validation needed)\n     */\n    function transferFrom(\n        address from,\n        address to,\n        uint256 value\n    ) external returns (bool);\n\n    /**\n     * @dev Returns the contract's operators' addresses\n     */\n    function getOperators()\n        external\n        view\n        returns (address registrar, address operations, address technical);\n\n    /* start performed by openzeppelin ERC20 \n     * function allowance(address owner, address spender)                            \n     *        external                                                               \n     *        view                                                                   \n     *        returns (uint256);                                                     \n     * function totalSupply(address) external view returns (uint256);                \n     * event Transfer(address indexed from, address indexed to, uint256 value);      \n     * event Approval(                                                               \n     *   address indexed owner,                                                      \n     *   address indexed spender,                                                    \n     *   uint256 value                                                               \n     * );                                                                            \n    end performed by openzeppelin ERC20 */\n}\n"},{"file_path":"contracts/smartCoin/SmartCoinDataLayout.sol","source_code":"// SPDX-License-Identifier: Apache-2.0\n\npragma solidity 0.8.22;\n\n/**\n * @dev This contract contains the storage part of the SmartCoin contract.\n * It includes a __gap field that enables adding new fields without messing up the layout\n * and keeping compatibility accross UUPS updates (see field description for details)\n */\nabstract contract SmartCoinDataLayout {\n       /**\n     * @dev The different status a transfer request can have\n     * Transfer requests are initially in the `Created` state\n     * If validated by the registrar operator they move to the `Validated` state, which is a final state\n     * If rejected by the registrar operator  they move to the `Rejected` state, which is a final state\n     *\n     */\n    enum TransferStatus {\n        Undefined,\n        Created,\n        Validated,\n        Rejected\n    }\n    /**\n     * @dev The details of a transfer request\n     */\n    struct TransferRequest {\n        /**\n         * @dev The source address of the transfer\n         */\n        address from;\n        /**\n         * @dev The destination address of the transfer\n         */\n        address to;\n        /**\n         * @dev The number of tokens to transfer\n         */\n        uint256 value;\n        /**\n         * @dev The status of the transfer request\n         */\n        TransferStatus status;\n    }\n\n    /**\n     * @dev Structure containing all ongoing transfer requests\n     * Requests are indexed by the hash of their content\n     */\n    mapping(bytes32 => TransferRequest) private _transfers;\n    uint256 private _requestCounter;\n\n    /**\n     * @dev Structure containing all amounts currently engaged(i.e. \"locked\") in transfer requests\n     */\n    mapping(address => uint256) private _engagedAmount; // _engagedAmount amount in transfer\n\n    /**\n     * @dev This empty reserved space is put in place to allow future versions to add new\n     * variables without shifting down storage in the inheritance chain.\n     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps\n     */\n    uint256[50] private __gap;\n}\n"}],"certified":false,"conflicting_implementations":null,"abi":[{"inputs":[{"internalType":"address","name":"_registrar","type":"address"},{"internalType":"address","name":"_operations","type":"address"},{"internalType":"address","name":"_technical","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"AddressAlreadyFrozen","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"AddressNotFrozen","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"AlreadyRedemptionAddress","type":"error"},{"inputs":[],"name":"ContractNotPaused","type":"error"},{"inputs":[],"name":"ContractPaused","type":"error"},{"inputs":[],"name":"InconsistentOperators","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"NotRedemptionAddress","type":"error"},{"inputs":[{"internalType":"address","name":"addr","type":"address"}],"name":"Unauthorized","type":"error"},{"inputs":[],"name":"UnauthorizedBurner","type":"error"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"name":"UnauthorizedImplementation","type":"error"},{"inputs":[],"name":"UnauthorizedMinter","type":"error"},{"inputs":[],"name":"UnauthorizedOperations","type":"error"},{"inputs":[],"name":"UnauthorizedRegistrar","type":"error"},{"inputs":[],"name":"UnauthorizedTechnical","type":"error"},{"inputs":[],"name":"ZeroAddressCheck","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"operations","type":"address"}],"name":"AcceptedOperationsRole","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"registrar","type":"address"}],"name":"AcceptedRegistrarRole","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"technical","type":"address"}],"name":"AcceptedTechnicalRole","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"AddressesFrozen","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"AddressesUnFrozen","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"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":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"implementation","type":"address"}],"name":"ImplementationAuthorized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"registrar","type":"address"},{"indexed":false,"internalType":"address","name":"operations","type":"address"},{"indexed":false,"internalType":"address","name":"technical","type":"address"}],"name":"NamedNewOperators","type":"event"},{"anonymous":false,"inputs":[],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"addr","type":"address[]"}],"name":"RedemptionAddressesAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"addr","type":"address[]"}],"name":"RedemptionAddressesRemoved","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":"RedemptionStarted","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":"bytes32","name":"transferHash","type":"bytes32"}],"name":"TransferRejected","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"bytes32","name":"transferHash","type":"bytes32"}],"name":"TransferValidated","type":"event"},{"anonymous":false,"inputs":[],"name":"UnPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[],"name":"acceptOperationsRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"acceptRegistrarRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"acceptTechnicalRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"addRedemptionAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"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":"_implementation","type":"address"}],"name":"authorizeImplementation","outputs":[],"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":"uint256","name":"_amount","type":"uint256"}],"name":"burn","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"","type":"uint8"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"findNotFrozen","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"_addrs","type":"address[]"}],"name":"freeze","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getOperators","outputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isFrozen","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"isRedemptionAddress","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":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_registrar","type":"address"},{"internalType":"address","name":"_operations","type":"address"},{"internalType":"address","name":"_technical","type":"address"}],"name":"nameNewOperators","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"newImplementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"operations","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":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"registrar","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address[]","name":"addrs","type":"address[]"}],"name":"removeRedemptionAddresses","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"technical","outputs":[{"internalType":"address","name":"","type":"address"}],"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":"_addrs","type":"address[]"}],"name":"unfreeze","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"version","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"wipeFrozenAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"}],"is_changed_bytecode":false,"is_partially_verified":false,"constructor_args":"0000000000000000000000007de0bbdfcd4a6a956f149befcca30d6b5bc5da69000000000000000000000000c98cb9f53e20afbbeb75caf6456ed52d5d7903f600000000000000000000000054124a6834af252a0f9ac7f478001aa500428955"}