import {
  NON_EVM_RELAY_LIFECYCLE,
  type NonEvmNetworkPolicy,
  type NonEvmRelayObservation
} from '../../non-evm-relay/lifecycle';

export const STELLAR_RELAY_POLICY: NonEvmNetworkPolicy = {
  identifier: 'Stellar',
  relayMode: 'custom_relay_scaffold',
  destinationProgramModel: 'stellar_issued_or_wrapped_cw',
  signerFundingPolicy: 'xlm_operator_signer',
  finalityPolicy: 'ledger_finality>=1',
  publicExposureStatus: 'operator_ready'
};

export class StellarRelayService {
  readonly lifecycle = NON_EVM_RELAY_LIFECYCLE;

  recordObservation(observation: NonEvmRelayObservation): NonEvmRelayObservation {
    return observation;
  }
}
