CompSupply
Description
Supply a token to Compound.
Notes
If amount == type(uint256).max we are getting the whole balance of the user's wallet
Action ID
0x4ce56950
SDK Action
const compoundSupplyAction = new dfs.actions.compound.CompoundSupplyAction(
cTokenAddr,
amount,
from,
enableAsColl
);Action Type
STANDARD_ACTION
Input Parameters
Return Value
Events and Logs
Last updated
Was this helpful?