> For the complete documentation index, see [llms.txt](https://reports.immunefi.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://reports.immunefi.com/alchemix-v3/57923-sc-insight-redundant-synthetic-transfers-in-claimredemption-when-amountnottransmuted-is-zero.md).

# 57923 sc insight redundant synthetic transfers in claimredemption when amountnottransmuted is zero

**Submitted on Oct 29th 2025 at 13:34:47 UTC by @JoeMama for** [**Audit Comp | Alchemix V3**](https://immunefi.com/audit-competition/alchemix-v3-audit-competition)

* **Report ID:** #57923
* **Report Type:** Smart Contract
* **Report severity:** Insight
* **Target:** <https://github.com/alchemix-finance/v3-poc/blob/immunefi\\_audit/src/Transmuter.sol>
* **Impacts:**

## Description

## Brief/Intro

When a claim is redeemed after the transmutationTime has fully elapsed, only yield tokens are transferred to the user.

However, the contract still performs synthetic token calculations and transfers, even though the untransmuted amount is zero. This results in unnecessary arithmetic and transfer calls, wasting gas.

## Vulnerability Details

If `amountNottransmuted == 0` (the claim is fully matured), the following code becomes redundant:

```
uint256 syntheticFee = amountNottransmuted * exitFee / BPS;
uint256 syntheticReturned = amountNottransmuted - syntheticFee;

TokenUtils.safeTransfer(syntheticToken, msg.sender, syntheticReturned);
TokenUtils.safeTransfer(syntheticToken, protocolFeeReceiver, syntheticFee);
```

A check `if (amountNottransmuted > 0)` would prevent these unnecessary operations.

## Impact Details

When `amountNottransmuted == 0`, the function still performs two redundant transfer calls, each costing approximately 20,000–45,000 gas without transferring any actual tokens.

## Proof of Concept

## Proof of Concept

1. User calls create redemption with 100e18
2. User calls claimRedemption ( this does 2 unneeded transfer operations)

POC:

Run the existing test `test_target_ClaimRedemption` with the -vvvv flag. In the logs, you can see the redundant synthetic token transfer calls being executed even when amountNottransmuted == 0.

```
    │   ├─ [0] console::log("syntheticReturned", 0) [staticcall]
    │   │   └─ ← [Stop]
    │   ├─ [6095] AlEth::transfer(0x000000000000000000000000000000000000bEEF, 0)
    │   │   ├─ emit Transfer(from: Transmuter: [0xc7183455a4C133Ae270771860664b6B7ec320bB1], to: 0x000000000000000000000000000000000000bEEF, value: 0)
    │   │   └─ ← [Return] true
    │   ├─ [8095] AlEth::transfer(TransmuterTest: [0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496], 0)
    │   │   ├─ emit Transfer(from: Transmuter: [0xc7183455a4C133Ae270771860664b6B7ec320bB1], to: TransmuterTest: [0x7FA9385bE102ac3EAc297483Dd6233D62b3e1496], value: 0)
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://reports.immunefi.com/alchemix-v3/57923-sc-insight-redundant-synthetic-transfers-in-claimredemption-when-amountnottransmuted-is-zero.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
