2020-07-09 15:08:08 +00:00
|
|
|
pragma solidity ^0.6.0;
|
2020-07-14 14:53:21 +00:00
|
|
|
pragma experimental ABIEncoderV2;
|
2020-07-09 15:08:08 +00:00
|
|
|
|
2020-07-19 11:21:48 +00:00
|
|
|
import { ConnectStaking } from "../connectors/staking.sol";
|
2020-07-09 15:08:08 +00:00
|
|
|
|
2020-07-19 11:21:48 +00:00
|
|
|
contract MockSynthetixStaking is ConnectStaking{
|
2020-07-09 15:08:08 +00:00
|
|
|
address public synthetixStakingAddr;
|
2020-07-14 14:53:21 +00:00
|
|
|
address public instaMappingAddr;
|
2020-07-09 15:08:08 +00:00
|
|
|
|
2020-07-14 14:53:21 +00:00
|
|
|
constructor(address _synthetixStakingAddr, address _instaMappingAddr) public {
|
2020-07-09 15:08:08 +00:00
|
|
|
synthetixStakingAddr = _synthetixStakingAddr;
|
2020-07-14 14:53:21 +00:00
|
|
|
instaMappingAddr = _instaMappingAddr;
|
2020-07-09 15:08:08 +00:00
|
|
|
}
|
|
|
|
|
2020-07-11 16:04:48 +00:00
|
|
|
function emitEvent(bytes32 eventCode, bytes memory eventData) override internal {}
|
|
|
|
|
2020-07-14 14:53:21 +00:00
|
|
|
function getMappingAddr() override internal view returns (address) {
|
|
|
|
return instaMappingAddr;
|
|
|
|
}
|
|
|
|
|
2020-07-11 16:04:48 +00:00
|
|
|
function setUint(uint setId, uint val) override internal {}
|
2020-07-09 15:08:08 +00:00
|
|
|
}
|