mirror of
https://github.com/Instadapp/dsa-connectors.git
synced 2024-07-29 22:37:00 +00:00
comments
This commit is contained in:
parent
8ed6524cbb
commit
38f14ddecd
|
@ -11,6 +11,14 @@ import { Events } from "./events.sol";
|
|||
import "./helpers.sol";
|
||||
|
||||
abstract contract InstaDexSimulationResolver is Events, Helpers {
|
||||
/**
|
||||
* @dev Simulation swap using Insta dex swap contract
|
||||
* @param sellToken The token to sell/swap
|
||||
* @param buyToken The token to buy
|
||||
* @param sellAmount The sell token amount
|
||||
* @param buyAmount The buy token amount
|
||||
* @param setId Set token amount at this ID in `InstaMemory` Contract.
|
||||
*/
|
||||
function swap(
|
||||
address sellToken,
|
||||
address buyToken,
|
||||
|
|
Loading…
Reference in New Issue
Block a user