pub fn accept_admin_transfer(e: &Env)Expand description
Completes the 2-step admin transfer.
§Arguments
e- Access to Soroban environment.
§Errors
AccessControlError::AdminNotSet- If admin account is not set.- refer to
accept_transfererrors.
§Events
- topics -
["admin_transfer_completed", new_admin: Address] - data -
[previous_admin: Address]
§Notes
- Authorization for the pending admin is required.