From dfb89f33f50acca4b59d026c3deb4eb4155d9ccf Mon Sep 17 00:00:00 2001 From: Thrilok kumar Date: Wed, 4 May 2022 03:22:14 +0530 Subject: [PATCH] Update contracts/mainnet/connectors/basic/main.sol --- contracts/mainnet/connectors/basic/main.sol | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contracts/mainnet/connectors/basic/main.sol b/contracts/mainnet/connectors/basic/main.sol index 9731f6d6..52a377a3 100644 --- a/contracts/mainnet/connectors/basic/main.sol +++ b/contracts/mainnet/connectors/basic/main.sol @@ -48,7 +48,7 @@ abstract contract BasicResolver is Events, DSMath, Basic { /** * @dev Deposit Assets To Smart Account From any user. * @notice Deposit a token to DSA from any user. - * @param token The address of the token to deposit.
(For ETH: 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE and need to pass `value` parameter equal to `amt` in cast function ```dsa.cast({..., value: amt})```.
For ERC20: Need to give allowance prior casting spells.) + * @param token The address of the token to deposit. (Note: ETH is not supported) * @param amt The amount of tokens to deposit. (For max: `uint256(-1)` (Not valid for ETH)) * @param from The address depositing the token. * @param getId ID to retrieve amt.