# \[SIP5.7\] Raft Contract Upgrade to Support Auctions of ERC20 tokens reverting on selftransfers

**URL:** <https://forum.summer.fi/t/sip5-7-raft-contract-upgrade-to-support-auctions-of-erc20-tokens-reverting-on-selftransfers/295>\
**Category:** Summer Improvement Proposals \[SIPs\]\
**Tags:** sip5, raft, upgrade, auctions\
**Created:** [July 10, 2025, 11:26am UTC](https://forum.summer.fi/t/sip5-7-raft-contract-upgrade-to-support-auctions-of-erc20-tokens-reverting-on-selftransfers/295 "2025-07-10T11:26:47Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![halaprix](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.summer.fi/halaprix/32/13_2.png) [@halaprix](https://forum.summer.fi/u/halaprix)\
**Post date:** [July 10, 2025, 11:26am UTC](https://forum.summer.fi/t/sip5-7-raft-contract-upgrade-to-support-auctions-of-erc20-tokens-reverting-on-selftransfers/295/1 "2025-07-10T11:26:47Z")

</div>

## **SIP5.7: Raft Contract Upgrade to Support Auctions of ERC20 tokens reverting on selftransfers**

### **Summary**

We have successfully deployed new versions of the **Raft** contract across all operational chains: **Base, Arbitrum, Mainnet, and Sonic**. This upgrade addresses a critical issue preventing the finalization of failed xSilo auctions due to the token’s restriction on self-transfers.

This proposal seeks the authority to call the `setRaft()` function within the **Configuration Manager** on each chain, pointing the protocol to these new, corrected Raft contract addresses. This will re-enable the full functionality of the auction system for all assets.

* * *

### **Motivation**

An investigation into failing xSilo auctions revealed a conflict between our auction finalization logic and the xSilo token contract. The `DutchAuctionLibrary`, which is used to manage auctions, sends unsold tokens back to a designated `refundAddress`. For our purposes, this address is the **Raft** contract itself, as we reuse these tokens in subsequent auctions.

However, the xSilo token contract includes a specific check that prevents transfers where the sender and receiver are the same (`require(_from != _to)`). This restriction caused transactions to finalize failed auctions to revert, effectively trapping unsold tokens and halting any new auctions for the affected assets.

The newly deployed **Raft** contracts incorporate an updated `DutchAuctionLibrary`. This library now includes a check to **skip the refund transfer if the recipient is the Raft contract itself** , resolving the conflict without requiring a fundamental change to the auction mechanism.

* * *

### **Specifications**

The following actions are required on each chain to implement the fix. This involves calling the `setRaft()` function in the respective **Configuration Manager** to register the new Raft contract address.

#### **Base**

- **Action:** Update the Raft contract address.
- **Configuration Manager:** `0x8ae7fbAeCfBDb21c28b1854272BB7A3a813e2A66`
- **New Raft Address:** `0x95107E3C932865733e8feCF971e9051DA62FE59A`
- **Old Raft Address:** `0xD1Bccfd8B32A5052a6873259c204CBA85510BC6E`

* * *

#### **Arbitrum**

- **Action:** Update the Raft contract address.
- **Configuration Manager:** `0x8ae7fbAeCfBDb21c28b1854272BB7A3a813e2A66`
- **New Raft Address:** `0x2E6FBcefA0480cF9f7920d98804A9BD72e1eFEc9`
- **Old Raft Address:** `0xD1Bccfd8B32A5052a6873259c204CBA85510BC6E`

* * *

#### **Mainnet**

- **Action:** Update the Raft contract address.
- **Configuration Manager:** `0x8ae7fbAeCfBDb21c28b1854272BB7A3a813e2A66`
- **New Raft Address:** `0xB8BBC85cEE0ea08Cf35B63c23bfE95fA444C5F07`
- **Old Raft Address:** `0xD1Bccfd8B32A5052a6873259c204CBA85510BC6E`

* * *

#### **Sonic**

- **Action:** Update the Raft contract address.
- **Configuration Manager:** `0xDff0fc7bFa32Fb536807820FB3Be6C9828463e32`
- **New Raft Address:** `0xd03414b3E3463DDC471555850F6BdD5322b97d60`
- **Old Raft Address:** `0x6E6b9CB3BA753337ab91BC5A1dbAD83b8F05e204`

to show the diff, you can use the etherscan - only difference is in the `DutchAuctionLibrary.sol`  
ie:  
[https://basescan.org/contractdiffchecker?a2=0x95107E3C932865733e8feCF971e9051DA62FE59A&a1=0xD1Bccfd8B32A5052a6873259c204CBA85510BC6E](https://basescan.org/contractdiffchecker?a2=0x95107E3C932865733e8feCF971e9051DA62FE59A&a1=0xD1Bccfd8B32A5052a6873259c204CBA85510BC6E)

 ![image](https://canada1.discourse-cdn.com/flex009/uploads/summer/original/1X/c5d807a9558798897bb55c9a715c48dceb201267.png)

[@Recognized\_Delegates](https://forum.summer.fi/groups/recognized_delegates)

---

<div class="post-metadata">

**Author:** ![jensei](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.summer.fi/jensei/32/69_2.png) [@jensei](https://forum.summer.fi/u/jensei)\
**Post date:** [July 12, 2025, 1:10pm UTC](https://forum.summer.fi/t/sip5-7-raft-contract-upgrade-to-support-auctions-of-erc20-tokens-reverting-on-selftransfers/295/2 "2025-07-12T13:10:20Z")

</div>

thank you for quick response and action @halaprix!

VOTE:

> **[Lazy Summer DAO (Official) | SIP5.7: Multi-Chain Raft Address Update](https://gov.summer.fi/dao/proposal/86320269971060023994928144103941868415248028836142080809534063312450076359313)**
>
> SIP5.7: Multi-Chain Raft Address Update

---

<div class="post-metadata">

**Author:** ![Eren\_DAOplomats](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.summer.fi/eren_daoplomats/32/98_2.png) [@Eren\_DAOplomats](https://forum.summer.fi/u/Eren_DAOplomats)\
**Post date:** [July 15, 2025, 6:37pm UTC](https://forum.summer.fi/t/sip5-7-raft-contract-upgrade-to-support-auctions-of-erc20-tokens-reverting-on-selftransfers/295/3 "2025-07-15T18:37:17Z")

</div>

We voted **[For](https://forum.summer.fi/t/daoplomats-delegate-platform/226/6)** since its a simple but necessary fix, to keep things running smoothly on all chains!

---

<div class="post-metadata">

**Author:** ![jensei](https://yyz1.discourse-cdn.com/flex009/user_avatar/forum.summer.fi/jensei/32/69_2.png) [@jensei](https://forum.summer.fi/u/jensei)\
**Post date:** [March 11, 2026, 3:05pm UTC](https://forum.summer.fi/t/sip5-7-raft-contract-upgrade-to-support-auctions-of-erc20-tokens-reverting-on-selftransfers/295/4 "2026-03-11T15:05:37Z")

</div>

Closed on March 11, 2026, 3:05pm UTC


