Assessment reports>SyncSwap>Threat Models>depositETH

Function: depositETH(address to)

Allows the caller to deposit ETH.

Inputs

  • to

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Determines the recipient of the deposit.

Branches and code coverage (including function calls)

Intended branches

Deposits the balance of the transaction to the recipient.

Zellic © 2024Back to top ↑