Function: update(address address, UFixed6 UFixed6, UFixed6 UFixed6, UFixed6 UFixed6)
Updates account
, depositing depositAssets
assets, redeeming redeemShares
shares, and claiming claimAssets
assets.
Inputs
account
Control: 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.
depositAssets
Control: Arbitrary.
Constraints: Must be less than max deposit, and deposit must succeed.
Impact: Assets to deposit.
redeemShares
Control: Arbitrary.
Constraints: Must have enough shares.
Impact: Shares to redeem.
claimAssets
Control: Arbitrary.
Constraints: Must be able to claim assets.
Impact: Assets to claim.