Skip to content
Request an audit

‹ All findings

Ownership in BRC20Factory could be transferred using a 2 step procedure, similarly to Vault

Low/InfoOrange Bridge·Three Sigma · Cross-chain bridge · 15th July, 20243S-OB-L01

Description

It's recommended to change owner using a 2 step procedure to mitigate the risk of the contract losing ownership due to incorrect address.

Recommendation

Implement the 2 step ownership transfer procedure with a pendingOnwer variable and acceptOwnership() function. Here is an example implementation.

Status

Addressed in #ee04c91.