From c639cdc6a9624bc0989f62dd8c6a74ff82b4fb2c Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Thu, 2 Jul 2020 10:27:01 +0530 Subject: [PATCH] Done with curve btc connector --- contracts/connectors/curvesbtc.sol | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/contracts/connectors/curvesbtc.sol b/contracts/connectors/curvesbtc.sol index f599d86..12ecb6e 100644 --- a/contracts/connectors/curvesbtc.sol +++ b/contracts/connectors/curvesbtc.sol @@ -7,7 +7,6 @@ import { DSMath } from "../common/math.sol"; // import files from OZ import "@openzeppelin/contracts/token/ERC20/ERC20.sol"; -import {SafeCast} from "@openzeppelin/contracts/utils/SafeCast.sol"; interface ICurve { function coins(int128 tokenId) external view returns (address token); @@ -73,7 +72,7 @@ contract CurveSBTCProtocol is CurveSBTCHelpers { event LogWithdraw(address token, uint256 amt, uint256 burnAmt, uint256 getId, uint256 setId); /** - * @dev Sell Stable ERC20_Token. + * @dev Sell ERC20_Token. * @param buyAddr buying token address. * @param sellAddr selling token amount. * @param sellAmt selling token amount. @@ -203,5 +202,9 @@ contract CurveSBTCProtocol is CurveSBTCHelpers { bytes memory _eventParam = abi.encode(token, _amt, _curveAmt, getId, setId); emitEvent(_eventCode, _eventParam); } - } + +contract ConnectSBTCCurve is CurveSBTCProtocol { + string public name = "Curve-sbtc-v1"; +} +