DeFi Saver
Search…
Mcd Supply
Action that supplies collateral to a MakerDAO Vault. This is a standard DFS action.
User will need to give DSProxy approval for the action to pull the tokens.
If amount is uint256.max the whole proxy balance will be used.

Parameters:

  • uint256 vaultId - ID of the Vault.
  • uint256 amount - Amount of tokens being deposited.
  • address joinAddr - Where are we pulling the supply tokens amount from.
  • address from - Address where the selected collateral asset is being pulled from.
  • bool mcdManager - The manager address being used (e.g. MCD or B.Protocol).
Last modified 8mo ago
Copy link