Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type DashboardController ¶
type DashboardController interface{}
type PairController ¶
func InitPairController ¶
func InitPairController(s service.Getter[service.Pair], route *gin.RouterGroup, logger logging.Logger) PairController
type PoolController ¶
func InitPoolController ¶
func InitPoolController(s service.Getter[service.Pool], route *gin.RouterGroup, logger logging.Logger) PoolController
type StatController ¶
func InitStatController ¶
func InitStatController(s service.Getter[service.PairStats], route *gin.RouterGroup, logger logging.Logger) StatController
type StatRes ¶
type StatRes struct { Volume []StatValueRes `json:"volume"` Fee []StatValueRes `json:"fee"` Apr []StatValueRes `json:"apr"` }
type StatValueRes ¶
type TickerController ¶
type TokenController ¶
func InitTokenController ¶
func InitTokenController(s service.Getter[service.Token], route *gin.RouterGroup, logger logging.Logger) TokenController
type TokenRes ¶
type TokenRes struct { ChainId string `json:"chainId"` Token string `json:"token"` Name string `json:"name"` Symbol string `json:"symbol"` Decimals uint8 `json:"decimals"` TotalSupply string `json:"total_supply" ` Icon string `json:"icon"` Protocol string `json:"protocol"` Verified bool `json:"verified"` }
Click to show internal directories.
Click to hide internal directories.