CompGetDebt
Description
Action that gets debt amount for a single asset on Compound for debtor.
Action ID
0xc6b0ab0c
SDK Action
const compoundGetDebtAction = new dfs.actions.compound.CompoundGetDebtAction(
cTokenAddr,
holderAddr
);
Action Type
STANDARD_ACTION
Input Parameters
/// @param cTokenAddr Address of the cToken token to get the debt for
/// @param debtorAddr Address of the debtor
struct Params {
address cTokenAddr;
address debtorAddr;
}
Return Value
return bytes32(debtAmount);
Events and Logs
Last updated
Was this helpful?