Function: update(address address, UFixed6 UFixed6, UFixed6 UFixed6, UFixed6 UFixed6)
Updates account, depositing depositAssets assets, redeeming redeemShares shares, and claiming claimAssets assets.
Inputs
accountControl: Arbitrary.
Constraints: Must be sender unless sender is an operator of the account as recorded by the VaultFactory for this vault.
Impact: The account that is updated.
depositAssetsControl: Arbitrary.
Constraints: Must be less than max deposit, and deposit must succeed.
Impact: Assets to deposit.
redeemSharesControl: Arbitrary.
Constraints: Must have enough shares.
Impact: Shares to redeem.
claimAssetsControl: Arbitrary.
Constraints: Must be able to claim assets.
Impact: Assets to claim.