mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
ce11ae6b87
overwriting getSynthetixStakingAddr in mock; comment out everything in migration;
24 lines
685 B
Solidity
24 lines
685 B
Solidity
pragma solidity ^0.6.0;
|
|
|
|
import { ConnectSynthetixStaking } from "../connectors/synthetix.sol";
|
|
|
|
contract MockSynthetixStaking is ConnectSynthetixStaking{
|
|
address public synthetixStakingAddr;
|
|
|
|
constructor(address _synthetixStakingAddr) public {
|
|
synthetixStakingAddr = _synthetixStakingAddr;
|
|
}
|
|
|
|
function getSynthetixStakingAddr(address token) override internal returns (address) {
|
|
return synthetixStakingAddr;
|
|
}
|
|
|
|
function emitEvent(bytes32 eventCode, bytes memory eventData) override internal {}
|
|
|
|
function getSnxAddr() override internal view returns (address) {
|
|
return synthetixStakingAddr;
|
|
}
|
|
|
|
function setUint(uint setId, uint val) override internal {}
|
|
}
|