Assessment reports>Yeet>Threat Model>zapInWithMultipleTokens

Function: zapInWithMultipleTokens(MultiSwapParams swapParams, KodiakVaultStakingParams stakingParams, VaultDepositParams vaultParams)

This zaps into the vault using multiple tokens that swap for token0 and token1.

Inputs

  • swapParams

    • Control: Fully controlled by the caller.

    • Constraints: N/A.

    • Impact: Information of swapParams that requires to swap multiple tokens.

  • stakingParams

    • Control: Fully controlled by the caller.

    • Constraints: stakingParams.kodiakVault must be whitelisted.

    • Impact: Information of staking in the vault.

  • vaultParams

    • Control: Fully controlled by the caller.

    • Constraints: N/A.

    • Impact: Information of depositing into the vault.

Branches and code coverage

Intended branches

  • Check if stakingParams.kodiakVault is added in the whitelist.

Negative behavior

  • stakingParams.kodiakVault is not in the whitelist.

Zellic © 2025Back to top ↑