2023-04-14 21:40:54 -04:00
|
|
|
using System;
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
|
|
|
namespace silverworker_discord.Conversion
|
|
|
|
{
|
|
|
|
public class ExchangePairs
|
|
|
|
{
|
|
|
|
public string disclaimer{ get; set; }
|
|
|
|
public string license{ get; set; }
|
|
|
|
public int timestamp{ get; set; }
|
2023-04-14 22:04:25 -04:00
|
|
|
public DateTime DateUpdated { get { return DateTime.UnixEpoch.AddSeconds(timestamp).ToLocalTime(); }}
|
2023-04-14 21:40:54 -04:00
|
|
|
public string Base{ get; set; }
|
|
|
|
public Dictionary<string, decimal> rates { get; set; }
|
|
|
|
}
|
|
|
|
}
|