Interface for a token staking contract.
This interface defines the basic functions for a token staking contract. It allows users to stake their tokens and earn rewards.
To use this interface, implement the functions in your staking contract.
stake(uint256 amount)unstake(uint256 amount)claimRewards()Press Enter to send your query
Powered by Neuron AI • Press Enter to send