import { Module } from '@nestjs/common';
import { ApplicationModule } from '../application/application.module';
import { InfrastructureModule } from '../infrastructure/infrastructure.module';
import { TradingController } from './controllers/trading.controller';
import { TransferController } from './controllers/transfer.controller';
import { HealthController } from './controllers/health.controller';
import { AdminController } from './controllers/admin.controller';
import { PriceController } from './controllers/price.controller';
import { BurnController } from './controllers/burn.controller';
import { AssetController } from './controllers/asset.controller';
import { MarketMakerController } from './controllers/market-maker.controller';
import { PriceGateway } from './gateways/price.gateway';

@Module({
  imports: [ApplicationModule, InfrastructureModule],
  controllers: [
    TradingController,
    TransferController,
    HealthController,
    AdminController,
    PriceController,
    BurnController,
    AssetController,
    MarketMakerController,
  ],
  providers: [PriceGateway],
  exports: [PriceGateway],
})
export class ApiModule {}
