Any suggestions for creating a timelock on removal of staked tokens or removal of liquidity? I am trying to help my developer figure it out.
Can you please elaborate?
for a defi farming token, when they stake their tokens or add liquidity, I would like to have that locked up for a certain time period.
Sureā¦
This can be easily coded into a contract.
Would really help though if you could elaborate the exact blocker that you a facing while developing this?
I can help
Look into OpenZeppelin documentation, they have a TokenTimelock
which is suitable for your user case scenario.
https://docs.openzeppelin.com/contracts/2.x/api/token/erc20#TokenTimelock
Any interest in working on this project with me?