mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
6474ee6b63
added MockCurveVesting.sol;
25 lines
772 B
Solidity
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 {}
|
|
}
|