Assessment reports>Odos>Threat Models>writeAddressList

Function: writeAddressList(address[] addresses)

This function allows the contract owner to append addresses to the address list used by the compact versions of the functions performing swaps.

Inputs

  • addresses

    • Control: Arbitrary.

    • Constraints: None.

    • Impact: Array with the additional addresses to be appended to the address list.

Branches and code coverage (including function calls)

Intended branches

  • Appends the new addresses to the address list.

Negative behavior

  • Reverts if the caller is not the owner.

Zellic © 2024Back to top ↑