dsa-connectors-2.0/contracts/mainnet/connectors/fluid-staking/interface.sol

14 lines
468 B
Solidity
Raw Normal View History

2024-02-13 15:47:17 +00:00
//SPDX-License-Identifier: MIT
pragma solidity ^0.8.2;
2024-02-15 00:24:42 +00:00
import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
2024-02-13 15:47:17 +00:00
interface IStakingRewards {
function stake(uint256 amount) external;
function withdraw(uint256 amount) external;
function getReward() external;
function balanceOf(address account) external view returns(uint256);
2024-02-15 00:24:42 +00:00
function rewardsToken() external view returns (IERC20);
function stakingToken() external view returns (IERC20);
2024-02-13 15:47:17 +00:00
}