Set is authorized
Set is authorized

Morpho Midnight · Acts onchain

Authorizes or revokes an account to act on the wallet's Morpho Midnight positions. Midnight's setIsAuthorized lets the account take offers, withdraw, repay, move collateral, cancel offers and authorize others on the wallet's behalf in every market, or removes that right. Contracts that work Midnight for a wallet, such as a refinancing contract that rolls a maturing debt into Morpho Blue, need it before they can act. Reach for it to hand a position to such a contract in a later step, and to revoke it at the end of the same transaction so no standing authority remains.