mirror of
https://github.com/Instadapp/smart-contract.git
synced 2024-07-29 22:08:07 +00:00
Added todo in liquidity contract.
This commit is contained in:
parent
3a60f94ff2
commit
8c2bdbc842
|
@ -116,6 +116,8 @@ contract ProvideLiquidity is Helper {
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @dev Deposit Token for liquidity
|
* @dev Deposit Token for liquidity
|
||||||
|
* TODO: remove "tknAddr" and check for msg.value
|
||||||
|
* TIP: find "underlying" in the cToken address
|
||||||
*/
|
*/
|
||||||
function depositToken(address tknAddr, address ctknAddr, uint amt) public payable {
|
function depositToken(address tknAddr, address ctknAddr, uint amt) public payable {
|
||||||
if (tknAddr != ethAddr) {
|
if (tknAddr != ethAddr) {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user