# PrivilegedCauldronV4

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](https://github.com/Abracadabra-money/abracadabra-money-foundry/blob/main/src/cauldrons/PrivilegedCauldronV4.sol).

### ✨ addBorrowPosition | <mark style="background-color:green;">Specific to Privileged</mark> <a href="#changewhitelister" id="changewhitelister"></a>

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

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

**Parameters**

| Name       | Type      |
| ---------- | --------- |
| **to**     | `address` |
| **amount** | `uint256` |
