Function: zapOutToToken0(address receiver, SingleTokenSwap swapData, KodiakVaultUnstakingParams unstakeParams, VaultRedeemParams redeemParams)
This zaps out to get token0.
Inputs
receiverControl: Fully controlled by the caller.
Constraints: N/A.
Impact: Address to receive token00.
swapDataControl: Fully controlled by the caller.
Constraints: N/A.
Impact: Information of swap token1 to token0.
unstakeParamsControl: Fully controlled by the caller.
Constraints: N/A.
Impact: Information of unstaking from the Kodiak Vault.
redeemParamsControl: Fully controlled by the caller.
Constraints: N/A.
Impact: Information of redeeming from the vault.
Branches and code coverage
Intended branches
Check if the amount of token0 received by Zapper is not zero.
Check if the amount of token1 received by Zapper is not zero.
Transfer token0 to the receiver.
Transfer remaining token1 to the caller.