import { InjectionToken, inject } from '@angular/core';
import { AdminTransactionsGateway } from './admin-transactions-gateway.interface';
import { AdminTransactionsApiGateway } from './admin-transactions-api.gateway';

/** Swap point for docs/backend/PHASE-1-MONEY-FX-PAYMENTS-CONTRACT.md §6. */
export const ADMIN_TRANSACTIONS_GATEWAY = new InjectionToken<AdminTransactionsGateway>('ADMIN_TRANSACTIONS_GATEWAY', {
  providedIn: 'root',
  factory: () => inject(AdminTransactionsApiGateway),
});
