mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
Fixed minor bug
This commit is contained in:
parent
717cf13d9b
commit
c8d45fbfe4
|
@ -10,14 +10,14 @@ interface IStakingRewards {
|
||||||
function exit() external;
|
function exit() external;
|
||||||
function withdraw(uint256 amount) external;
|
function withdraw(uint256 amount) external;
|
||||||
function getReward() external;
|
function getReward() external;
|
||||||
function balanceOf(address) external returns (uint256);
|
function balanceOf(address) external view returns (uint256);
|
||||||
}
|
}
|
||||||
|
|
||||||
contract SynthetixStakingHelper is DSMath, Stores {
|
contract SynthetixStakingHelper is DSMath, Stores {
|
||||||
/**
|
/**
|
||||||
* @dev Return Synthetix staking pool address.
|
* @dev Return Synthetix staking pool address.
|
||||||
*/
|
*/
|
||||||
function getSynthetixStakingAddr(address token) virtual internal view returns (address){
|
function getSynthetixStakingAddr(address token) internal pure returns (address){
|
||||||
if (token == address(0x075b1bb99792c9E1041bA13afEf80C91a1e70fB3)){
|
if (token == address(0x075b1bb99792c9E1041bA13afEf80C91a1e70fB3)){
|
||||||
// SBTC
|
// SBTC
|
||||||
return 0x13C1542A468319688B89E323fe9A3Be3A90EBb27;
|
return 0x13C1542A468319688B89E323fe9A3Be3A90EBb27;
|
||||||
|
|
Loading…
Reference in New Issue
Block a user