```\n   function permitRedeem(\n       bytes32 _termsHash,\n       uint256 amount,\n       uint256 deadline,\n       uint8 v,\n       bytes32 r,\n       bytes32 s\n   ) external {\n       token.permit(msg.sender, address(this), amount, deadline, v, r, s);\n       redeem(_termsHash, amount);\n\n```\n