import { OracleGateway } from '@core/domain/blockchain/port' ; import LoggerPort from '@core/domain/common/port/LoggerPort' ; import Response from '@core/domain/response/Response' ; class SendResponseToOracleUseCase { constructor ( private readonly oracle , private readonly logger ) { } async sendResponse ( response ) { await this . oracle . sendResponse ( response ) ; this . logger . info ( `Response sent to blockchain  [requestId=${ response . requestId }]` ) ; } } export default SendResponseToOracleUseCase ;