VaultFactoryV2#changeTreasury misconfigures the vault
VaultFactoryV2#changeTreasury misconfigures the vault because the setTreasury subcall uses the wrong variable\\nVaultFactoryV2.sol#L228-L246\\n```\\nfunction changeTreasury(uint256 _marketId, address _treasury)\\n    public\\n    onlyTimeLocker\\n{\\n    if (_treasury == address(0)) revert AddressZero();\\n\\n    address[2] memory vaults = marketIdToVaults[_marketId];\\n\\n    if (vaults[0] == address(0) || vaults[1] == address(0)) {\\n        revert MarketDoesNotExist(_marketId);\\n    }\\n\\n    IVaultV2(vaults[0]).whiteListAddress(_treasury);\\n    IVaultV2(vaults[1]).whiteListAddress(_treasury);\\n    IVaultV2(vaults[0]).setTreasury(treasury);\\n    IVaultV2(vaults[1]).setTreasury(treasury);\\n\\n    emit AddressWhitelisted(_treasury, _marketId);\\n}\\n```\\n\\nWhen setting the treasury for the underlying vault pair it accidentally use the treasury variable instead of _treasury. This means it uses the local VaultFactoryV2 treasury rather than the function input.\\nControllerPeggedAssetV2.sol#L111-L123\\n```\\n    premiumVault.sendTokens(_epochId, premiumFee, treasury);\\n    premiumVault.sendTokens(\\n        _epochId,\\n        premiumTVL - premiumFee,\\n        address(collateralVault)\\n    );\\n    // strike price is reached so collateral is still entitled to premiumTVL - premiumFee but looses collateralTVL\\n    collateralVault.sendTokens(_epochId, collateralFee, treasury);\\n    collateralVault.sendTokens(\\n        _epochId,\\n        collateralTVL - collateralFee,\\n        address(premiumVault)\\n    );\\n```\\n\\nThis misconfiguration can be damaging as it may cause the triggerDepeg call in the controller to fail due to the sendToken subcall. Additionally the time lock is the one required to call it which has a minimum of 3 days wait period. The result is that valid depegs may not get paid out since they are time sensitive.
Set to _treasury rather than treasury.
Valid depegs may be missed due to misconfiguration
```\\nfunction changeTreasury(uint256 _marketId, address _treasury)\\n    public\\n    onlyTimeLocker\\n{\\n    if (_treasury == address(0)) revert AddressZero();\\n\\n    address[2] memory vaults = marketIdToVaults[_marketId];\\n\\n    if (vaults[0] == address(0) || vaults[1] == address(0)) {\\n        revert MarketDoesNotExist(_marketId);\\n    }\\n\\n    IVaultV2(vaults[0]).whiteListAddress(_treasury);\\n    IVaultV2(vaults[1]).whiteListAddress(_treasury);\\n    IVaultV2(vaults[0]).setTreasury(treasury);\\n    IVaultV2(vaults[1]).setTreasury(treasury);\\n\\n    emit AddressWhitelisted(_treasury, _marketId);\\n}\\n```\\n