Skip to content

Commit

Permalink
Merge pull request #196 from archethic-foundation/192-pool-list-of-sw…
Browse files Browse the repository at this point in the history
…aps-liquidity-removes-and-adds

✨ Pool list of swaps / LP removes & adds
  • Loading branch information
redDwarf03 authored May 29, 2024
2 parents a7f8a92 + 44cde13 commit a659a8a
Show file tree
Hide file tree
Showing 22 changed files with 1,524 additions and 37 deletions.
6 changes: 6 additions & 0 deletions lib/application/pool/dex_pool.dart
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@ import 'package:aedex/application/dex_config.dart';
import 'package:aedex/application/dex_token.dart';
import 'package:aedex/application/router_factory.dart';
import 'package:aedex/application/session/provider.dart';
import 'package:aedex/domain/enum/dex_action_type.dart';
import 'package:aedex/domain/models/dex_pool.dart';
import 'package:aedex/domain/models/dex_pool_tx.dart';
import 'package:aedex/domain/models/dex_token.dart';
import 'package:aedex/infrastructure/dex_pool.repository.dart';
import 'package:aedex/infrastructure/hive/dex_pool.hive.dart';
Expand All @@ -20,6 +22,7 @@ part 'dex_pool_calculation.dart';
part 'dex_pool_detail.dart';
part 'dex_pool_favorite.dart';
part 'dex_pool_list.dart';
part 'dex_pool_tx_list.dart';

@riverpod
DexPoolRepositoryImpl _dexPoolRepository(_DexPoolRepositoryRef ref) =>
Expand All @@ -41,6 +44,9 @@ abstract class DexPoolProviders {
static final getPoolList = _getPoolListProvider;
static const getPoolListForSearch = _getPoolListForSearchProvider;

// Pool transactions list
static const getPoolTxList = _getPoolTxListProvider;

// Pool Detail
static const getPool = _getPoolProvider;
static const loadPoolCard = _loadPoolCardProvider;
Expand Down
150 changes: 149 additions & 1 deletion lib/application/pool/dex_pool.g.dart

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit a659a8a

Please sign in to comment.