Assessment reports>Polygon Staking>Threat Model>deposit

Function: deposit(uint256 _amount, bytes)

This function deposits tokens from the caller into this strategy. It can only be called by the staking pool.

Inputs

  • _amount

    • Control: Fully controlled by the caller.

    • 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 total deposits and total queued.

Zellic © 2025Back to top ↑