From 8a099ff357eedafe9fd6c64b0926f1e53be7693a Mon Sep 17 00:00:00 2001 From: Samyak Date: Sat, 23 Mar 2019 00:50:34 +0530 Subject: [PATCH] comment kyber trade dest added --- contracts/ProxyLogics/kyber.sol | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/contracts/ProxyLogics/kyber.sol b/contracts/ProxyLogics/kyber.sol index 70ac403..a583710 100644 --- a/contracts/ProxyLogics/kyber.sol +++ b/contracts/ProxyLogics/kyber.sol @@ -135,6 +135,14 @@ contract Trade is helper { } + + /** + * @title Kyber's trade when token to sell Amount fixed + * @param src - Token address to sell (for ETH it's "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee") + * @param maxSrcAmt - max amount of token for sell (slippage) + * @param dest - Token address to buy (for ETH it's "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee") + * @param destAmt - amount of token to buy + */ function tradeDestKyber( address src, // token to sell uint maxSrcAmt, // amount of token for sell