dsa-connectors-old/contracts/tests/MockCurveVesting.sol
Lecky Lao 6474ee6b63 added test for curve_vesting.sol;
added MockCurveVesting.sol;
2020-08-16 02:42:09 +10:00

25 lines
772 B
Solidity

pragma solidity ^0.6.0;
import { ConnectCurveVestingProtocol } from "../connectors/curve_vesting.sol";
contract MockConnectCurveVestingProtocol is ConnectCurveVestingProtocol{
address public curveTokenAddr;
address public curveVestingAddr;
constructor(address _curveVestingAddr, address _curveTokenAddr) public {
curveVestingAddr = _curveVestingAddr;
curveTokenAddr = _curveTokenAddr;
}
function getCurveTokenAddr() override internal view returns (address) {
return curveTokenAddr;
}
function getCurveVestingAddr() override internal view returns (address) {
return curveVestingAddr;
}
function emitEvent(bytes32 eventCode, bytes memory eventData) override internal {}
function setUint(uint setId, uint val) override internal {}
}