mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
27 lines
642 B
Solidity
27 lines
642 B
Solidity
//SPDX-License-Identifier: MIT
|
|
pragma solidity ^0.7.0;
|
|
pragma experimental ABIEncoderV2;
|
|
|
|
interface IStakingRewards {
|
|
function stake(uint256 amount) external;
|
|
function withdraw(uint256 amount) external;
|
|
function getReward() external;
|
|
function balanceOf(address) external view returns(uint);
|
|
}
|
|
|
|
interface IStakingRewardsFactory {
|
|
|
|
struct StakingRewardsInfo {
|
|
address stakingRewards;
|
|
uint rewardAmount;
|
|
}
|
|
|
|
function stakingRewardsInfoByStakingToken(address) external view returns(StakingRewardsInfo memory);
|
|
|
|
}
|
|
|
|
interface IGUniPoolResolver {
|
|
|
|
function getStakingFactory() external view returns(IStakingRewardsFactory);
|
|
|
|
} |