pub fn handler(
    ctx: Context<'_, '_, '_, '_, RegisterAdapter<'_>>,
    _params: RegisterAdapterParams
) -> Result<()>