This commit is contained in:
pradyuman-verma 2022-06-20 10:38:59 +05:30
parent 8ed6524cbb
commit 38f14ddecd
No known key found for this signature in database
GPG Key ID: E36FD6BC8923221F

View File

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