# Whitelisted CauldronV3

Whitelisted CauldronV3 is an update of the V3 cauldron that allows Abracadabra to whitelist certain addresses to borrow up to a certain amount.\
It uses a Whitelister contract that contains the root hash of a merkleTree of addresses and amounts and once called with the correct proof, stores the maxBorrow amount, for the cauldron to check against while borrowing.

You can find the full contract of the cauldron [here](https://github.com/Abracadabra-money/magic-internet-money/blob/main/contracts/WhitelistedCauldronV3.sol) and of the whitelister [here](https://github.com/Abracadabra-money/magic-internet-money/blob/main/contracts/Whitelister.sol).

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

```solidity
    function changeWhitelister(IWhitelister newWhiteLister) public onlyMasterContractOwner
```

**Parameters**

| Name               | Type      |
| ------------------ | --------- |
| **newWhiteLister** | `address` |

\\
