comment kyber trade dest added

This commit is contained in:
Samyak 2019-03-23 00:50:34 +05:30
parent 05a5349b64
commit 8a099ff357

View File

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