-
Notifications
You must be signed in to change notification settings - Fork 8
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #131 from centrifuge/CP131TokenRecovery
CP131: Recovery of lost tokens in bridge transaction 2
- Loading branch information
Showing
2 changed files
with
61 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |