-
Notifications
You must be signed in to change notification settings - Fork 10
/
assets.go
84 lines (82 loc) · 2.49 KB
/
assets.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
package starkex
var ASSET_RESOLUTION = map[string]int64{
"USDC": 1e6,
"BTC": 1e10,
"ETH": 1e9,
"LINK": 1e7,
"AAVE": 1e8,
"UNI": 1e7,
"SUSHI": 1e7,
"SOL": 1e7,
"YFI": 1e10,
"1INCH": 1e7,
"AVAX": 1e7,
"SNX": 1e7,
"CRV": 1e6,
"UMA": 1e7,
"DOT": 1e7,
"DOGE": 1e5,
"MATIC": 1e6,
"MKR": 1e9,
"FIL": 1e7,
"ADA": 1e6,
"ATOM": 1e7,
"COMP": 1e8,
"BCH": 1e8,
"LTC": 1e8,
"EOS": 1e6,
"ALGO": 1e6,
"ZRX": 1e6,
"XMR": 1e8,
"ZEC": 1e8,
"ENJ": 1e6,
"ETC": 1e7,
"XLM": 1e5,
"TRX": 1e4,
"XTZ": 1e6,
"ICP": 1e7,
"RUNE": 1e6,
"LUNA": 1e6,
"NEAR": 1e6,
"CELO": 1e6,
}
var SYNTHETIC_ID_MAP = map[string]string{
"BTC": "344400637343183300222065759427231744",
"ETH": "359977924069045087395084506562035712",
"LINK": "396101380212426712967694464499843072",
"AAVE": "338824487460109173243580632516263936",
"UNI": "442933058573725082054137099516379136",
"SUSHI": "432691242383575582125453041830199296",
"SOL": "432568984950746621260512834741075968",
"YFI": "463539986724008297878357474744991744",
"1INCH": "255909362588701076462300859102920704",
"AVAX": "339248760150583523010467496495939584",
"SNX": "432549653279093140762140010017193984",
"CRV": "349553874723416551039058041492209664",
"UMA": "442912142338821316269012403913490432",
"DOT": "354685165898024320947256138154377216",
"DOGE": "354684143347712898450594870927032320",
"MATIC": "401131892570687533667041932340101120",
"MKR": "401334549532515986032888887373725696",
"FIL": "364947431332171952067072698953498624",
"ADA": "338883663480482972844972322892808192",
"ATOM": "339209301121316311335550155636080640",
"COMP": "349492325262502431542334300769746944",
"BCH": "344056232528969600292671285127806976",
"LTC": "396323605936767383653495383972118528",
"EOS": "359877383527187708491834411764940800",
"ALGO": "339046408638152281133665097078538240",
"ZRX": "468976860926042615023934644152172544",
"XMR": "458490379794397467467957612323012608",
"ZEC": "468711525812200195396563123811909632",
"ENJ": "359856388064121428442372122618101760",
"ETC": "359977527925814664434167280492871680",
"XLM": "458469701240354467017001809827856384",
"TRX": "437823079772415797613522407827439616",
"XTZ": "458632990484505291636396733084205056",
"ICP": "380402944362804581987470878609244160",
"RUNE": "427498548421964717489411527496695808",
"LUNA": "396344766032815712432848274622251008",
"NEAR": "406403816491359422489603563510038528",
"CELO": "349289421628808946019446426697728000",
}