curve adapter
This commit is contained in:
@@ -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
|
||||
@@ -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);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user