@@ -255,7 +255,7 @@ export class AdminController {
255255 @Get ( 'governance/quorum/impact' )
256256 @MinAdminRole ( 'viewer' )
257257 @ApiOperation ( { summary : 'Preview impact of quorum change on active claims' } )
258- async getQuorumImpact ( @Query ( 'bps' ) bps ?: string , @ Req ( ) req ?: AdminRequest ) {
258+ async getQuorumImpact ( @Query ( 'bps' ) bps ?: string ) {
259259 const targetBps = bps ? parseInt ( bps , 10 ) : null ;
260260 if ( targetBps !== null && ( isNaN ( targetBps ) || targetBps < 1 || targetBps > 10000 ) ) {
261261 throw new BadRequestException ( 'bps must be between 1 and 10000' ) ;
@@ -505,11 +505,11 @@ export class AdminController {
505505 @MinAdminRole ( 'viewer' )
506506 @ApiOperation ( { summary : 'Streaming CSV export of claims with pagination (no memory load)' } )
507507 async exportClaims (
508+ @Req ( ) req : AdminRequest ,
509+ @Res ( ) res : Response ,
508510 @Query ( 'status' ) status ?: string ,
509511 @Query ( 'from' ) from ?: string ,
510512 @Query ( 'to' ) to ?: string ,
511- @Req ( ) req : AdminRequest ,
512- @Res ( ) res : Response ,
513513 ) {
514514 const admin = req . user ?. walletAddress ?? 'unknown' ;
515515 const rateLimitKey = `admin_claims_export:${ admin } ` ;
@@ -1021,7 +1021,7 @@ export class AdminController {
10211021 message : 'SOLVENCY_SIMULATION_SOURCE_ACCOUNT is not set.' ,
10221022 } ) ;
10231023 }
1024- return this . soroban . simulateGetEvidenceLimits ( { sourceAccount : source } ) ;
1024+ return this . sorobanService . simulateGetEvidenceLimits ( { sourceAccount : source } ) ;
10251025 }
10261026
10271027 /**
@@ -1048,7 +1048,7 @@ export class AdminController {
10481048 if ( min > max ) {
10491049 throw new BadRequestException ( 'min must not exceed max' ) ;
10501050 }
1051- const result = await this . soroban . invokeAdminSetEvidenceLimits ( { min, max } ) ;
1051+ const result = await this . sorobanService . invokeAdminSetEvidenceLimits ( { min, max } ) ;
10521052 const actor = req . user ?. walletAddress ?? 'unknown' ;
10531053 await this . auditService . write ( {
10541054 actor,
0 commit comments