Composability vs. Security: Rethinking contract-caller Restrictions in Stacks DeFi

Sensitive function calls can be guarded with minting and burning a fungible token. Then no proxy attack possible thanks to post-conditions.

This comes with a runtime cost and brings composability.

3 Likes