From f9f1860a5c602dd5232b70d3ddfa9fe04a09ffcf Mon Sep 17 00:00:00 2001 From: Attens1423 Date: Tue, 11 May 2021 13:42:47 +0800 Subject: [PATCH] curve adapter --- .../{DepthUnderlyingAdapter.sol => CurveUnderlyingAdapter.sol} | 2 +- contracts/SmartRoute/intf/IDepth.sol | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) rename contracts/SmartRoute/adapter/{DepthUnderlyingAdapter.sol => CurveUnderlyingAdapter.sol} (97%) diff --git a/contracts/SmartRoute/adapter/DepthUnderlyingAdapter.sol b/contracts/SmartRoute/adapter/CurveUnderlyingAdapter.sol similarity index 97% rename from contracts/SmartRoute/adapter/DepthUnderlyingAdapter.sol rename to contracts/SmartRoute/adapter/CurveUnderlyingAdapter.sol index f4154a8..b2f5429 100644 --- a/contracts/SmartRoute/adapter/DepthUnderlyingAdapter.sol +++ b/contracts/SmartRoute/adapter/CurveUnderlyingAdapter.sol @@ -15,7 +15,7 @@ import {UniversalERC20} from "../lib/UniversalERC20.sol"; import {SafeERC20} from "../../lib/SafeERC20.sol"; // for two tokens -contract DepthUnderlyingAdapter is IDODOAdapter { +contract CurveUnderlyingAdapter is IDODOAdapter { using SafeMath for uint; //fromToken == token[0], underlying diff --git a/contracts/SmartRoute/intf/IDepth.sol b/contracts/SmartRoute/intf/IDepth.sol index 87438af..0b74e65 100644 --- a/contracts/SmartRoute/intf/IDepth.sol +++ b/contracts/SmartRoute/intf/IDepth.sol @@ -1,7 +1,7 @@ pragma solidity 0.6.9; pragma experimental ABIEncoderV2; -interface IDepth { +interface ICurve { // solium-disable-next-line mixedcase function get_dy_underlying(int128 i, int128 j, uint256 dx) external view returns(uint256 dy);