Assessment reports>Polygon Staking>Threat Model>deposit

Function: deposit(uint256 _amount)

This function deposits an amount of LST tokens.

Inputs

  • _amount

    • Control: Fully controlled by the controller.

    • Constraints: N/A.

    • Impact: Amount of tokens to deposit.

Branches and code coverage

Intended branches

  • Receive the amount of tokens to deposit.

  • Add the amount to the principalDeposits.

Zellic © 2025Back to top ↑