PrivilegedCauldronV4

A modified version of V4 allowing the creation of debt by owner

Priviledged CauldronV4 is a modified of the V4 cauldron that allows Abracadabra to create debt on behalf of the user. It was used during migration of 2 cauldrons to transfer a user position to this new cauldron

You can find the full contract of the cauldron here.

✨ addBorrowPosition | Specific to Privileged

This function allows the masterContractOwner to create a debt position to a user.

function addBorrowPosition(address to, uint256 amount) external onlyMasterContractOwner returns (uint256 part)

Parameters

NameType

to

address

amount

uint256

Last updated