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
|
|
|
|
|
|
|
import { ConnectSynthetixStaking } from "../connectors/synthetix.sol";
|
|
|
|
|
|
|
|
contract MockSynthetixStaking is ConnectSynthetixStaking{
|
|
|
|
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 {}
|
|
|
|
|
|
|
|
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
|
|
|
|
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
|
|
|
}
|