curve adapter

This commit is contained in:
Attens1423
2021-05-11 13:42:47 +08:00
parent 536f1793d6
commit f9f1860a5c
2 changed files with 2 additions and 2 deletions

View File

@@ -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

View File

@@ -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);