mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
comment kyber trade dest added
This commit is contained in:
parent
05a5349b64
commit
8a099ff357
|
@ -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(
|
function tradeDestKyber(
|
||||||
address src, // token to sell
|
address src, // token to sell
|
||||||
uint maxSrcAmt, // amount of token for sell
|
uint maxSrcAmt, // amount of token for sell
|
||||||
|
|
Loading…
Reference in New Issue
Block a user