Use cases for reentry #1594
Replies: 2 comments 4 replies
-
I'm working on smart wallets and we have the concept of policy signers which are separate contracts which execute as a cross contract call from within the smart wallet's And there's no work around for modifying the smart wallet itself from within the policy during a policy invocation from the smart wallet |
Beta Was this translation helpful? Give feedback.
-
The most typical example is one of flash loan, where a borrower calls into a liquidity pool making a loan and the pool calls the borrower contract back to perform some custom logic (before returning the loan), all within the same invocation atomically. Tagging @esteblock and @rudewalt who have requested it in the original tracking issue stellar/rs-soroban-env#336 |
Beta Was this translation helpful? Give feedback.
-
Hi all! There's been some discussion in Discord and elsewhere about reentry. It'd be helpful to have a good understanding of how reentry would be used if the feature was added.
Please post a new top-level comment in this discussion for each use case reentry would have. Be as detailed as possible in explaining why reentry is needed for that use case.
This discussion thread is not about any specific reentry proposal. For reentry proposals, please start a new discussion. This discussion thread is just a place to collect use cases.
Beta Was this translation helpful? Give feedback.
All reactions