2022-03-22 15:24:40 +00:00
|
|
|
//SPDX-License-Identifier: MIT
|
2021-06-10 11:56:39 +00:00
|
|
|
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);
|
|
|
|
}
|
|
|
|
|
2021-06-15 15:51:19 +00:00
|
|
|
interface StakingERC20Mapping {
|
2021-06-10 11:56:39 +00:00
|
|
|
|
|
|
|
struct StakingData {
|
|
|
|
address stakingPool;
|
|
|
|
address stakingToken;
|
|
|
|
address rewardToken;
|
|
|
|
}
|
|
|
|
|
|
|
|
function stakingMapping(bytes32) external view returns(StakingData memory);
|
|
|
|
|
|
|
|
}
|