Reflection token exploits reproduce by foundry test
-
Updated
Apr 22, 2023 - Solidity
Reflection token exploits reproduce by foundry test
Two production-ready ways to vest/lock a fee-on-transfer / reflection token (LUV): the OpenZeppelin-fork method and the cypherpunk4096 in-house standard, side by side, with the C-1 correction proven by tests.
The reflection vault, rewritten — LUV on an extend-only timer, reflections harvestable as interest. Fixes C-1 (High) and A1 from the live LUVLocker audit. 63 tests (1 mainnet-fork skipped without RPC). NOT mainnet-cleared.
Ownerless ERC-20 timelock — extend-only, TIME and BLOCK gates, no owner ever. LIVE at 0x111111f70cb3469B5285862d7a4e7Cb53d04f502 holding 100% of circulating LUV/WETH LP, locked to 2026-11-22. Proof: luv.pythai.net/liqlock.html
Add a description, image, and links to the reflection-token topic page so that developers can more easily learn about it.
To associate your repository with the reflection-token topic, visit your repo's landing page and select "manage topics."