Assessment reports>Blackwing>Threat Model>enableLPTransfers

Function: enableLPTransfers(IERC20 asset)

This function is used to enable transfers of the vault token of the asset.

Inputs

  • asset

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Only registered assets' address.

Branches and code coverage

Intended branches

  • Update the vault token to enable transfers.

Negative behavior

  • Reverts if caller is not the owner.

  • Revert if asset is not registered.

Zellic © 2025Back to top ↑