Assessment reports>Nukem Loans>Discussion>Borrowing on behalf of the Market contract

Borrowing on behalf of the Market contract

The Market contract allows borrowing on behalf of itself if prior deposits are also performed on behalf of the Market. Although this does not come with any immediate security implications, it does not seem to follow the intended design of the contract, as debt will be issued for the Market contract, which is theoretically not a user. We recommend addressing or explicitly documenting this behavior.

Zellic © 2023Back to top ↑