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 SetPriorityLevelHandler ¶
type SetPriorityLevelHandler struct {
// contains filtered or unexported fields
}
func NewSetPriorityLevelHandler ¶
func NewSetPriorityLevelHandler(svcCtx *svc.ServiceContext, botApi *tgbotapi.BotAPI) *SetPriorityLevelHandler
func (*SetPriorityLevelHandler) AddRouter ¶
func (h *SetPriorityLevelHandler) AddRouter(router *pathrouter.Router)
func (SetPriorityLevelHandler) FormatPath ¶
func (h SetPriorityLevelHandler) FormatPath(priorityLevel ...settings.PriorityLevel) 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 ( SettingsOptionMaxRetries SettingsOption = 1 SettingsOptionSlippageBps SettingsOption = 2 SettingsOptionMaxLamports SettingsOption = 3 SettingsOptionPriorityLevel SettingsOption = 4 SettingsOptionDexAggregator SettingsOption = 5 SettingsOptionSellSlippageBps SettingsOption = 6 SettingsOptionExitSlippageBps SettingsOption = 7 )
Click to show internal directories.
Click to hide internal directories.