Загрузить файлы в «/»

This commit is contained in:
yaaarslv 2024-01-15 22:47:51 +00:00
parent ef8a947a04
commit b3e19af9b6

View file

@ -26,19 +26,18 @@ var prices map[string]int
// Prices are multiplied by 1e14 and rounded to be represented as fixed point int
func init() {
  prices = map[string]int{
    "XMR":  152100000,
    "XRP":  603500,
    "ADA":  579300,
    "AVAX": 39690000,
    "BNB":  308300000,
    "BTC":  46648920000,
    "ETH":  2623000000,
    "SOL":  101180000,
  }
prices = map[string]int{
"XMR": 152100000,
"XRP": 603500,
"ADA": 579300,
"AVAX": 39690000,
"BNB": 308300000,
"BTC": 46648920000,
"ETH": 2623000000,
"SOL": 101180000,
}
}
func TopUp(address interop.Hash160, token string, amount int) bool {
if !isKnownToken(token) {
runtime.Log("Token " + token + " is unkown")