Assessment reports>Ethena>Threat Models>setEUSD

Function: setEUSD(IeUSD _eUSD)

Allows owner of the contract to change the eUSD token address.

Inputs

  • _eUSD

    • Constraints: _eUSD != address(0).

    • Impact: The eUSD tokens that will be minted in exchange for trusted tokens.

Branches and code coverage (including function calls)

Negative behavior

  • Caller is not an owner.

  • _eUSD is zero.

Zellic © 2024Back to top ↑