Assessment reports>Palmy Finance>Threat Model>_checkpointToken

Function: _checkpointToken()

Accumulates the fee minted for all tokens from last checkpoint time to the current timestamp.

Branches and code coverage (including function calls)

Intended branches

  • Accumulates fee for all tokens if toDistribute[i] != 0.

  • Sum of fee distributed across weeks for a token equals the total amount to be distributed.

Zellic © 2025Back to top ↑