Function: zapInWithMultipleTokens(MultiSwapParams swapParams, KodiakVaultStakingParams stakingParams, VaultDepositParams vaultParams)
This zaps into the vault using multiple tokens that swap for token0 and token1.
Inputs
swapParamsControl: Fully controlled by the caller.
Constraints: N/A.
Impact: Information of
swapParamsthat requires to swap multiple tokens.
stakingParamsControl: Fully controlled by the caller.
Constraints:
stakingParams.kodiakVaultmust be whitelisted.Impact: Information of staking in the vault.
vaultParamsControl: Fully controlled by the caller.
Constraints: N/A.
Impact: Information of depositing into the vault.
Branches and code coverage
Intended branches
Check if
stakingParams.kodiakVaultis added in the whitelist.
Negative behavior
stakingParams.kodiakVaultis not in the whitelist.