mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
a0edb31ab6
rename contract name to staking;
23 lines
677 B
Solidity
23 lines
677 B
Solidity
pragma solidity ^0.6.0;
|
|
pragma experimental ABIEncoderV2;
|
|
|
|
import { ConnectStaking } from "../connectors/staking.sol";
|
|
|
|
contract MockSynthetixStaking is ConnectStaking{
|
|
address public synthetixStakingAddr;
|
|
address public instaMappingAddr;
|
|
|
|
constructor(address _synthetixStakingAddr, address _instaMappingAddr) public {
|
|
synthetixStakingAddr = _synthetixStakingAddr;
|
|
instaMappingAddr = _instaMappingAddr;
|
|
}
|
|
|
|
function emitEvent(bytes32 eventCode, bytes memory eventData) override internal {}
|
|
|
|
function getMappingAddr() override internal view returns (address) {
|
|
return instaMappingAddr;
|
|
}
|
|
|
|
function setUint(uint setId, uint val) override internal {}
|
|
}
|