DeFi Saver
Search…
Mcd Give
Action that transfers ownership of the specified MakerDAO Vault. This is a standard DFS action.
If createProxy is true, the Vault will always be sent to a proxy. If the newOwner does not have a proxy, one will be created. If createProxy is false, the Vault will be sent directly to that address.
You can't give a Vault to an empty 0x0 address.

Parameters:

  • uint256 vaultId - The ID of the Vault.
  • address newOwner - The address of the new owner.
  • bool createProxy - If true, it will create a proxy if the newOwner does not have one.
  • bool mcdManager - The manager address being used (e.g. MCD or B.Protocol).
Last modified 8mo ago
Copy link