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 )
Click to show internal directories.
Click to hide internal directories.