From ef2cc22ccdc92ec7b674fa0dec134ab3b1a78d27 Mon Sep 17 00:00:00 2001 From: Thrilok Kumar Date: Mon, 4 May 2020 07:39:44 +0530 Subject: [PATCH] added comments --- contracts/connectors/kyber.sol | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/contracts/connectors/kyber.sol b/contracts/connectors/kyber.sol index 05b5316..832cb52 100644 --- a/contracts/connectors/kyber.sol +++ b/contracts/connectors/kyber.sol @@ -51,6 +51,15 @@ contract KyberResolver is KyberHelpers { uint256 setId ); + /** + * @dev Sell ETH/ERC20_Token. + * @param buyAddr buying token address.(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) + * @param sellAddr selling token amount.(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE) + * @param sellAmt selling token amount. + * @param unitAmt unit amount of buyAmt/sellAmt with slippage. + * @param getId Get token amount at this ID from `InstaMemory` Contract. + * @param setId Set token amount at this ID in `InstaMemory` Contract. + */ function sell( address buyAddr, address sellAddr,