const supplyMySafe = new dfs.actions.reflexer.ReflexerSupplyAction(
safeId,
amount,
adapterAddr,
from,
);
Contract
This is a DFS STANDARD_ACTION.
Address from which we're pulling collateral tokens must approve proxy
If amount is uint.max then pull and supply whole token balance of _from address
Input:
/// @param safeId Id of the safe
/// @param amount Amount of tokens to supply
/// @param adapterAddr Adapter address of the reflexer collateral
/// @param from Address where to pull the collateral from
struct Params {
uint256 safeId;
uint256 amount;
address adapterAddr;
address from;
}