Skip to content

Commit

Permalink
Merge pull request #131 from centrifuge/CP131TokenRecovery
Browse files Browse the repository at this point in the history
CP131: Recovery of lost tokens in bridge transaction 2
  • Loading branch information
Rhanok09 authored Oct 14, 2024
2 parents c463f82 + 4f98edf commit e3efe1b
Show file tree
Hide file tree
Showing 2 changed files with 61 additions and 0 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -76,4 +76,5 @@ This repository contains all submitted Centrifuge Proposals. The genesis proposa
|---|-------------|
| [CP128](./cps/CP128/CP128.md) | Amendments to CP2 component |
| [CP130](./cps/CP130.md) | Goals and Themes for Resource Allocation for the Centrifuge Treasury |
| [CP131](./cps/CP131.md) | Recovery of lost tokens in bridge transaction 2 |

60 changes: 60 additions & 0 deletions cps/CP131.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,60 @@
---
cp: 131
Title: Recovery of lost tokens in bridge transaction 2
authors: Rhano
contributors: WilliamFreude, jeroen, cdamian, goperez
uses-component: cp4
technical-proposal: yes
requires-onchain: yes
impacts/modifies:
status: voting
date-proposed: 2024-10-08
date-ended:
---

## Short Summary
Recovery of lost tokens in the bridge transaction.

## High level objective
Mint the lost tokens into a keyless account and force transfer the amount to the affected wallet.

## Background
The 3rd October at 4:56:54 (UTC), a user attempted to bridge CFG tokens from Centrifuge to Ethereum.

```
Bridge direction: CFG -> wCFG
Affected wallet address: 4bXMbJq5Et849m7cnic4xuGLjkMC3KvNmM9PJi2hFaXR2wg2
Tx link: https://centrifuge.subscan.io/extrinsic/6431655-2
Value: 626,070.8929 CFG + 100 CFG Bridge Fee = 626,170.8929 CFG
```

The transfer failed due to rate limiting on the infura endpoints that we were using to query Ethereum. The fix consisted in switching to tenderly endpoints.

## Description of Activity

Since the tokens were deducted from the source account, but they have never been minted or wrapped on the destination account, the tokens have been marked as lost.
This means that the tokens were deducted from the circulating supply and they have never been minted on the destination network.

This proposal aims to restore lost tokens on affected accounts by minting the total lost balance in a keyless account and then “force transfer” the corresponding amounts to affected address.

Calculation:
```
Total CFG lost: 626,070.8929 CFG
Bridge Fees: 100 CFG
Grand Total CFG: 626,170.8929
```

## Change or improvement
Recovering the lost tokens on affected wallet address.

## Alignment to the mission of Centrifuge DAO
Transparency and accuracy are fundamental in Centrifuge DAO.
Recovering the lost tokens will restore financial accuracy and ensure that all financial activities are accurately recorded and accounted for.


Link to the RFC on the Forum: https://gov.centrifuge.io/t/cp131-recovery-of-lost-tokens-in-bridge-transaction-2/6581

Link to the onchain vote (council motion + referendum): https://centrifuge.subsquare.io/council/motions/102

0 comments on commit e3efe1b

Please sign in to comment.