pub fn get_swap_state(swap_account: &NativeAccountData) -> SwapInfo