Assessment reports>Awaken Swap>Threat Model>Module: TokenContract.cs

Module: TokenContract.cs

Function: Empty Initialize(InitializeInput input)

Initializes the contract. Can only be called by deployer.

Inputs

  • input.Owner

    • Validation: None.

    • Impact: Sets the owner of the contract. The owner is also added to the MinterMap.

Branches and code coverage (including function calls)

Intended branches

Negative behavior

Function call analysis

This function makes no external state-mutating calls.

Zellic © 2024Back to top ↑