Assessment reports>Y2K Finance>Threat Model>zapInMulti

Function: zapInMulti(byte[] payload)

This decodes the payload and calls _multiSwap.

Inputs

  • payload

    • Constraints: Should decode to the correct format.

    • Impact: The data to decode and pass to multiSwap.

Branches and code coverage (including function calls)

Intended branches

  • The payload decodes to the correct format, and the internal call to _multiSwap succeeds.

Negative behavior

  • Revert if payload does not decode to the correct format.

Zellic © 2024Back to top ↑