RiskProtocol / core-protocol

1 stars 0 forks source link

Research Uniswap v4 #108

Open mz7mz7mz7 opened 1 year ago

mz7mz7mz7 commented 1 year ago

https://blog.uniswap.org/uniswap-v4 https://github.com/Uniswap/v4-core To check if it has any features applicable to our rebase tokens, that would remove the risk of leaking the tokens from the pool when the rebase is executed. Uniswap v2 allows us to list RiskOn vs RiskOff pair, but all other pairs would have a leaking problem. v3 doesn't allow us to even list RiskOn vs RiskOff (no sync() function as in v2 that we could call on the rebase event).

mz7mz7mz7 commented 1 year ago

On Discord someone is saying that Hooks could be use to go about our rebase logic: https://discord.com/channels/597638925346930701/1116186423540863036/1129516235097391234 FYI: @haidarally , @Tunji17

haidarally commented 12 months ago

@mz7mz7mz7 Which server is that? I am unable to access it?

haidarally commented 12 months ago

@mz7mz7mz7 @Tunji17 I seen several sources mentioning that V4 could support rebasing tokens, maybe it's good to go though their codebase and see how they doing it - How can the hooks be helpful

mz7mz7mz7 commented 12 months ago

@mz7mz7mz7 Which server is that? I am unable to access it?

https://discord.gg/FCfyBSbCU5