Assessment reports>Chateau>Threat Model>withdraw

Function: withdraw()

Owner withdraws the stablecoins for the next round of RWA requisitions. Empties the entire contract, sending everything to the sender and produces an AdminWithdraw event.

Branches and code coverage

Intended branches

  • Owner withdraws a pool with issue tokens.

  • Owner withdraws a pool without issue tokens.

Negative behavior

  • Caller is not an owner.

Zellic © 2024Back to top ↑