settingshandler

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Feb 5, 2026 License: MIT Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func InitRoutes

func InitRoutes(svcCtx *svc.ServiceContext, botApi *tgbotapi.BotAPI, router *pathrouter.Router)

Types

type SetDexAggHandler

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

func NewSetDexAggHandler

func NewSetDexAggHandler(svcCtx *svc.ServiceContext, botApi *tgbotapi.BotAPI) *SetDexAggHandler

func (*SetDexAggHandler) AddRouter

func (h *SetDexAggHandler) AddRouter(router *pathrouter.Router)

func (SetDexAggHandler) FormatPath

func (h SetDexAggHandler) FormatPath(aggregator ...settings.DexAggregator) string

type SettingsHomeHandler

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

func NewSettingsHomeHandler

func NewSettingsHomeHandler(svcCtx *svc.ServiceContext, botApi *tgbotapi.BotAPI) *SettingsHomeHandler

func (*SettingsHomeHandler) AddRouter

func (h *SettingsHomeHandler) AddRouter(router *pathrouter.Router)

func (SettingsHomeHandler) FormatPath

func (h SettingsHomeHandler) FormatPath(option *SettingsOption) string

type SettingsOption

type SettingsOption int
var (
	SettingsOptionSlippageBps            SettingsOption = 1
	SettingsOptionDexAggregator          SettingsOption = 2
	SettingsOptionSellSlippageBps        SettingsOption = 3
	SettingsOptionExitSlippageBps        SettingsOption = 4
	SettingsOptionEnableInfiniteApproval SettingsOption = 5
)

Jump to

Keyboard shortcuts

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