Class ExchangeService


  • @Component
    public class ExchangeService
    extends Object
    • Constructor Detail

      • ExchangeService

        public ExchangeService()
    • Method Detail

      • computeTodayCurrencyExchangeRate

        public void computeTodayCurrencyExchangeRate()
      • computeRates

        @PostConstruct
        public void computeRates()
        Compute and store EURO Currency Exchange rate from first date when MEED Contract has been created until today
      • computeMeedExchangeRate

        public void computeMeedExchangeRate()
        Compute and store MEED Token Exchange rates from first date when MEED Contract has been created until today
      • computeCurrencyExchangeRate

        protected void computeCurrencyExchangeRate()
      • firstMeedTokenDate

        protected LocalDate firstMeedTokenDate()