Assessment reports>Session Token>Threat Model>Function: release()

Function: release()

The function transfers vested tokens to the beneficiary if the vesting period has been completed.

Branches and code coverage (including function calls)

Intended branches

Negative behavior

Function call analysis

  • _releasableAmount(token)

    • External/Internal? Internal.

    • Argument control: token.

    • Impact: Calculates the amount of tokens that can be released to the beneficiary.

  • token.safeTransfer(beneficiary, unreleased)

    • External/Internal? External.

    • Argument control: N/A.

    • Impact: Transfers the releasable amount of tokens to the beneficiary.

Zellic © 2024Back to top ↑