TokensFarm Contract Interface

A list of functions for interacting with the TokensFarm Contract

interface ITokensFarm {
    function deposit(uint256 _amount) external;
    function withdraw(uint256 _amount, uint256 stakeId) external;
    function getUserStakesAndPendingAmounts(address user) external view;
    function getTotalRewardsLockedUnlocked() external view returns (uint256, uint256);
    function deposited(address _user, uint256 stakeId) public view;
    function pending(address _user, uint256 stakeId) public view;
    function totalPending() external view;
    function getNumberOfUserStakes(address user) external view;
    function fund(uint256 _amount) external;
    function emergencyWithdraw(uint256 stakeId) external;
    function updatePool() public;
    function depositTimestamp(address _user, uint256 stakeId) public view;
    function withdrawTimestamp(address _user, uint256 stakeId) public view;
}

Last updated