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

export const TRON_RELAY_POLICY: NonEvmNetworkPolicy = {
  identifier: 'Tron',
  relayMode: 'custom_relay_scaffold',
  destinationProgramModel: 'trc20_or_bridge_wrapped_cw',
  signerFundingPolicy: 'trx_operator_signer',
  finalityPolicy: 'block_finality>=20',
  publicExposureStatus: 'operator_ready'
};

export class TronRelayService {
  readonly lifecycle = NON_EVM_RELAY_LIFECYCLE;

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