pub async fn transfer_ownership(
provider: impl Provider,
target_contract: Contract,
target_address: Address,
new_owner: Address,
) -> Result<TransactionReceipt>Expand description
Common logic for any Ownable contract to transfer ownership