-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtypes.go
More file actions
47 lines (42 loc) · 1.17 KB
/
types.go
File metadata and controls
47 lines (42 loc) · 1.17 KB
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
package dedustApi
type Boost struct {
Asset string `json:"asset"`
Budget string `json:"budget"`
EndAt string `json:"endAt"`
LiquidityPool string `json:"liquidityPool"`
RewardPerDay string `json:"rewardPerDay"`
StartAt string `json:"startAt"`
}
type Source struct {
Chain string `json:"chain"`
Address string `json:"address"`
Bridge string `json:"bridge"`
Symbol string `json:"symbol"`
Name string `json:"name"`
}
type Asset struct {
Type string `json:"type"`
Address string `json:"address"`
Name string `json:"name"`
Symbol string `json:"symbol"`
Image string `json:"image"`
Decimals int `json:"decimals"`
Source Source `json:"source"`
}
type Pool struct {
Address string `json:"address"`
TotalSupply string `json:"totalSupply"`
Type string `json:"type"`
TradeFee string `json:"tradeFee"`
Assets []string `json:"assets"`
Reserves []string `json:"reserves"`
Fees []string `json:"fees"`
Volume []string `json:"volume"`
}
type Price struct {
Address string `json:"address"`
Value string `json:"value"`
}
type Promotions struct {
Address string `json:"address"`
}