2020-07-09 15:08:08 +00:00
|
|
|
pragma solidity ^0.6.0;
|
|
|
|
|
|
|
|
import { ConnectSynthetixStaking } from "../connectors/synthetix.sol";
|
|
|
|
|
|
|
|
contract MockSynthetixStaking is ConnectSynthetixStaking{
|
|
|
|
address public synthetixStakingAddr;
|
|
|
|
|
2020-07-11 17:42:59 +00:00
|
|
|
constructor(address _synthetixStakingAddr) public {
|
2020-07-09 15:08:08 +00:00
|
|
|
synthetixStakingAddr = _synthetixStakingAddr;
|
|
|
|
}
|
|
|
|
|
2020-07-14 06:37:08 +00:00
|
|
|
// function getSynthetixStakingAddr(address token) override internal returns (address) {
|
|
|
|
// return synthetixStakingAddr;
|
|
|
|
// }
|
2020-07-11 16:04:48 +00:00
|
|
|
|
|
|
|
function emitEvent(bytes32 eventCode, bytes memory eventData) override internal {}
|
|
|
|
|
|
|
|
function getSnxAddr() override internal view returns (address) {
|
2020-07-09 15:08:08 +00:00
|
|
|
return synthetixStakingAddr;
|
|
|
|
}
|
2020-07-11 16:04:48 +00:00
|
|
|
|
|
|
|
function setUint(uint setId, uint val) override internal {}
|
2020-07-09 15:08:08 +00:00
|
|
|
}
|