```\nFile: TreasuryAction.sol\n    /// @notice redeems and transfers tokens to the treasury manager contract\n    function _redeemAndTransfer(uint16 currencyId, int256 primeCashRedeemAmount) private returns (uint256) {\n        PrimeRate memory primeRate = PrimeRateLib.buildPrimeRateStateful(currencyId);\n        int256 actualTransferExternal = TokenHandler.withdrawPrimeCash(\n            treasuryManagerContract,\n            currencyId,\n            primeCashRedeemAmount.neg(),\n            primeRate,\n            true // if ETH, transfers it as WETH\n        );\n\n        require(actualTransferExternal > 0);\n        return uint256(actualTransferExternal);\n    }\n```\n