I'm looking into a very basic ERC20 Staking smart contract that simply allows users to stake and get a specific amount when the stake is over.
I'm not exactly sure what kind of contracts openzepplin is providing. Is there maybe a standard openzepplin staking contract that we can use as a foundation for our work?
Hey @LPJF,
I think you're looking for a modified version of an ERC4626 vault and OpenZeppelin has an implementation. We also have a section on how to add fees to an ERC4626 vault but the explanation can be applied to pay interest .
Hope this gets you in the right direction.