2021-01-14 18:31:43 +08:00
|
|
|
/*
|
|
|
|
|
|
|
|
|
|
Copyright 2020 DODO ZOO.
|
|
|
|
|
SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
pragma solidity 0.6.9;
|
|
|
|
|
|
|
|
|
|
import {IDODOV2} from "../intf/IDODOV2.sol";
|
|
|
|
|
import {IDODOAdapter} from "../intf/IDODOAdapter.sol";
|
|
|
|
|
|
|
|
|
|
contract DODOV2Adapter is IDODOAdapter {
|
2021-05-11 15:03:40 +08:00
|
|
|
function sellBase(address to, address pool, bytes memory) external override {
|
2021-01-14 18:31:43 +08:00
|
|
|
IDODOV2(pool).sellBase(to);
|
|
|
|
|
}
|
|
|
|
|
|
2021-05-11 15:03:40 +08:00
|
|
|
function sellQuote(address to, address pool, bytes memory) external override {
|
2021-01-14 18:31:43 +08:00
|
|
|
IDODOV2(pool).sellQuote(to);
|
|
|
|
|
}
|
|
|
|
|
}
|