dsa-connectors-old/contracts/tests/MockSynthetix.sol
Lecky Lao cdb8bf01eb created Mocks and MockSynthetix;
adding constructor for MockSynthetix and passing mock for synthetix address;
2020-07-10 01:08:08 +10:00

20 lines
522 B
Solidity

pragma solidity ^0.6.0;
import { ConnectSynthetixStaking } from "../connectors/synthetix.sol";
contract MockSynthetixStaking is ConnectSynthetixStaking{
// uint public _model;
// uint public _id;
address public synthetixStakingAddr;
constructor(address _synthetixStakingAddr) public {
// _model = model;
// _id = id;
synthetixStakingAddr = _synthetixStakingAddr;
}
function getSynthetixStakingAddr(address token) override internal view returns (address){
return synthetixStakingAddr;
}
}