mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
name changes
This commit is contained in:
parent
8d1b0b9dd4
commit
3b6d453b3d
|
@ -14,17 +14,19 @@ interface IStakingRewards {
|
||||||
}
|
}
|
||||||
|
|
||||||
interface SynthetixMapping {
|
interface SynthetixMapping {
|
||||||
|
|
||||||
struct StakingData {
|
struct StakingData {
|
||||||
address stakingPool;
|
address stakingPool;
|
||||||
address stakingToken;
|
address stakingToken;
|
||||||
}
|
}
|
||||||
|
|
||||||
function stakingMapping(bytes32) external view returns(StakingData memory);
|
function stakingMapping(bytes32) external view returns(StakingData memory);
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
contract SynthetixStakingHelper is DSMath, Stores {
|
contract StakingHelper is DSMath, Stores {
|
||||||
/**
|
/**
|
||||||
* @dev Return InstaDApp Synthetix Mapping Addresses
|
* @dev Return InstaDApp Staking Mapping Addresses
|
||||||
*/
|
*/
|
||||||
function getMappingAddr() internal virtual view returns (address) {
|
function getMappingAddr() internal virtual view returns (address) {
|
||||||
return 0x772590F33eD05b0E83553650BF9e75A04b337526; // InstaMapping Address
|
return 0x772590F33eD05b0E83553650BF9e75A04b337526; // InstaMapping Address
|
||||||
|
@ -62,7 +64,7 @@ contract SynthetixStakingHelper is DSMath, Stores {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
contract SynthetixStaking is SynthetixStakingHelper {
|
contract Staking is StakingHelper {
|
||||||
event LogDeposit(
|
event LogDeposit(
|
||||||
address token,
|
address token,
|
||||||
bytes32 stakingType,
|
bytes32 stakingType,
|
||||||
|
@ -78,7 +80,7 @@ contract SynthetixStaking is SynthetixStakingHelper {
|
||||||
uint getId,
|
uint getId,
|
||||||
uint setId
|
uint setId
|
||||||
);
|
);
|
||||||
|
|
||||||
event LogClaimedReward(
|
event LogClaimedReward(
|
||||||
address token,
|
address token,
|
||||||
bytes32 stakingType,
|
bytes32 stakingType,
|
||||||
|
@ -178,6 +180,6 @@ contract SynthetixStaking is SynthetixStakingHelper {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
contract ConnectSynthetixStaking is SynthetixStaking {
|
contract ConnectStaking is Staking {
|
||||||
string public name = "synthetix-staking-v1";
|
string public name = "staking-v1";
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user