Skip to content

Conversation

@BenoistP
Copy link
Collaborator

@BenoistP BenoistP commented Aug 2, 2025

Purpose: adding REUSD to assets

REUSD Price is fetched from 2 pools on Gnosis then computed as following :

  • Honeyswap REUSD / USDC (20% of the final price)
  • Sushiswap v3 REUSD / USDC (80%)

for testing : current "Biggest" holder of REUSD can be found at @: 0x670A7cf3aC357951562D4EC5d82457b86965Ab4D

image

BenoistP added 2 commits July 26, 2025 17:13
Todo: use Sushi v3 for asset pricing
commit 9f53ea5
Author: BenoistP <bp_github.com@gazouille.net>
Date:   Sat Aug 2 10:01:46 2025 +0200

    Clean

    debug removed, tests

commit 5a61f55
Author: BenoistP <bp_github.com@gazouille.net>
Date:   Thu Jul 31 14:22:44 2025 +0200

    result decimals fixed

    todo: clean & test

commit 011bff6
Author: BenoistP <bp_github.com@gazouille.net>
Date:   Wed Jul 30 18:35:43 2025 +0200

    todo: fix getUniV3AssetPrice final price

commit 781628c
Author: BenoistP <bp_github.com@gazouille.net>
Date:   Sun Jul 27 16:18:24 2025 +0200

    tmp
@BenoistP BenoistP added the enhancement New feature or request label Aug 2, 2025
@BenoistP BenoistP self-assigned this Aug 2, 2025
@ehpst
Copy link
Contributor

ehpst commented Aug 3, 2025

I wonder: Why fetching the price of REUSD token knowing that its value is maintained at 1 USD by RealT as a refund voucher?

@BenoistP
Copy link
Collaborator Author

BenoistP commented Aug 3, 2025

You could ask the same about USDT backed by Tether, currently at 163 B market cap which claims that each USDT can be exchanged for 1 dollar.
Same argument: there's a market, asset price is the result of buys and sells.
If you don't find anything on the market place or for any reason decide to sell 10 000 REUSD for some USDC or whatever you won't have a corresponding 10 000 $ in exchange (probably less, much less)

https://www.sushi.com/gnosis/swap?token0=0x3390742Ac0DCe14EA6Fcbd5Ae02e2303C5D62Ad9&token1=0xDDAfbb505ad214D7b80b1f830fcCc89B60fb7A83&swapAmount=100
image

@BenoistP BenoistP marked this pull request as ready for review August 8, 2025 13:17
@BenoistP BenoistP merged commit 9632a4e into develop Aug 8, 2025
1 check passed
@Sigri44 Sigri44 deleted the feat-REUSD-Sushiv3 branch August 10, 2025 21:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants