diff --git a/src/identity/main.cairo b/src/identity/main.cairo index 29176fc..eb0290b 100644 --- a/src/identity/main.cairo +++ b/src/identity/main.cairo @@ -311,5 +311,10 @@ mod Identity { ) ); } + + fn remove_proxy_admin(ref self: ContractState) { + self.ownable.assert_only_owner(); + self.Proxy_admin.write(0); + } } } diff --git a/src/interface/identity.cairo b/src/interface/identity.cairo index 1327d02..9683add 100644 --- a/src/interface/identity.cairo +++ b/src/interface/identity.cairo @@ -60,4 +60,6 @@ trait IIdentity { fn set_extended_verifier_data( ref self: TContractState, id: u128, field: felt252, data: Span, domain: u32 ); + + fn remove_proxy_admin(ref self: TContractState); }