handlers

package
v0.0.0-...-efd78f8 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Oct 7, 2023 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type HistoricPoolDataResponse

type HistoricPoolDataResponse struct {
	Token0Balance string `json:"token0Balance"`
	Token0Delta   string `json:"token0Delta"`
	Token1Balance string `json:"token1Balance"`
	Token1Delta   string `json:"token1Delta"`
	BlockNumber   int64  `json:"blockNumber"`
}

type HistoricPoolDataResponseSlice

type HistoricPoolDataResponseSlice []HistoricPoolDataResponse

type PoolDataResponse

type PoolDataResponse struct {
	Token0Balance string `json:"token0Balance"`
	Token1Balance string `json:"token1Balance"`
	Tick          string `json:"tick"`
}

type PoolHandler

type PoolHandler struct {
	// contains filtered or unexported fields
}

func NewPoolHandler

func NewPoolHandler(service *services.TrackingService) *PoolHandler

func (*PoolHandler) HistoricPoolDataHandler

func (h *PoolHandler) HistoricPoolDataHandler(c *fiber.Ctx) error

func (*PoolHandler) PoolDataHandler

func (h *PoolHandler) PoolDataHandler(c *fiber.Ctx) error

func (*PoolHandler) PoolMappingHandler

func (h *PoolHandler) PoolMappingHandler(c *fiber.Ctx) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL