mirror of
https://github.com/Instadapp/dsa-connectors-old.git
synced 2024-07-29 22:47:46 +00:00
8a9ce14a9d
added ABI for CurveGauge; added MockCurveGauge and MockCurveGaugeMapping;
28 lines
805 B
Solidity
28 lines
805 B
Solidity
pragma solidity ^0.6.0;
|
|
pragma experimental ABIEncoderV2;
|
|
|
|
import { ConnectCurveGauge } from "../connectors/curve_gauge.sol";
|
|
|
|
contract MockCurveGauge is ConnectCurveGauge{
|
|
address public curveMintorAddr;
|
|
address public curveGaugeMappingAddr;
|
|
|
|
constructor(address _curveMintorAddr, address _curveGaugeMappingAddr) public {
|
|
curveMintorAddr = _curveMintorAddr;
|
|
curveGaugeMappingAddr = _curveGaugeMappingAddr;
|
|
}
|
|
|
|
function emitEvent(bytes32 eventCode, bytes memory eventData) override internal {}
|
|
|
|
function getCurveGaugeMappingAddr() override internal view returns (address) {
|
|
return curveGaugeMappingAddr;
|
|
}
|
|
|
|
function getCurveMintorAddr() override internal view returns (address) {
|
|
return curveMintorAddr;
|
|
}
|
|
|
|
function setUint(uint setId, uint val) override internal {}
|
|
}
|
|
|