pumpbot

package
v0.0.0-...-197f041 Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2025 License: BSD-3-Clause Imports: 18 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewApp

func NewApp(tokenAddress string, amount int, logo string)

func ParseNewToken

func ParseNewToken(message *tg.Message) (*dapp.NewTokenEvent, bool)

func ParseRaydium

func ParseRaydium(message *tg.Message) (*dapp.NewRaydiumPool, bool)

Types

type Client

type Client struct {
	*dapp.Client
}

func (*Client) GetReplyWithSocialMediasAndTradingBots

func (client *Client) GetReplyWithSocialMediasAndTradingBots(address string, meta *dapp.TokenMetadata) *tele.ReplyMarkup

func (*Client) HandleDexScreenerEvent

func (client *Client) HandleDexScreenerEvent(dexScreenerEvent *dapp.DSNewPair, errChan chan error)

func (*Client) HandleKOTHEvent

func (client *Client) HandleKOTHEvent(newKOTHEvent *NewKOTHEvent, errChan chan error)

func (*Client) HandleRaydiumEvent

func (client *Client) HandleRaydiumEvent(raydiumEvent *dapp.NewRaydiumPool, errChan chan error)

func (*Client) HandleSubscribeEvent

func (client *Client) HandleSubscribeEvent(subscribeEvent *dapp.NewTokenEvent, errChan chan error)

func (*Client) ListenForTelegramUpdates

func (client *Client) ListenForTelegramUpdates(errChan chan error, dexscreener chan *dapp.DSNewPair, raydium chan *dapp.NewRaydiumPool, newTokenEvent chan *dapp.NewTokenEvent, newKOTHEvent chan *NewKOTHEvent)

func (*Client) SendMainMenuToUser

func (client *Client) SendMainMenuToUser(ctx tele.Context) error

func (*Client) StartSubscribingForDexScreener

func (client *Client) StartSubscribingForDexScreener(ctx tele.Context) error

func (*Client) StartSubscribingForKOTH

func (client *Client) StartSubscribingForKOTH(ctx tele.Context) error

func (*Client) StartSubscribingForNewToken

func (client *Client) StartSubscribingForNewToken(ctx tele.Context) error

func (*Client) StartSubscribingForRaydium

func (client *Client) StartSubscribingForRaydium(ctx tele.Context) error

func (*Client) StopDexScreenerSignal

func (client *Client) StopDexScreenerSignal(ctx tele.Context) error

func (*Client) StopKOTHSignal

func (client *Client) StopKOTHSignal(ctx tele.Context) error

func (*Client) StopNewTokensSignal

func (client *Client) StopNewTokensSignal(ctx tele.Context) error

func (*Client) StopRaydiumSignal

func (client *Client) StopRaydiumSignal(ctx tele.Context) error

func (*Client) Subscribe

func (client *Client) Subscribe() error
type MainMenuMessage struct {
	FirstName   string
	NewTokens   string
	DexScreener string
	Raydium     string
	KOTH        string
	Backtick    string
}

type NewDexScreenerEventMessage

type NewDexScreenerEventMessage struct {
	Name        string
	Ticker      string
	Link        string
	Description string
	Backtick    string
	*dapp.DSNewPair
}

type NewKOTHEvent

type NewKOTHEvent struct {
	Name         string
	Date         string
	CA           string
	CreationDate string
	MC           string
	Buys         string
	Sells        string
}

func ParseNewKOTH

func ParseNewKOTH(m *tg.Message) (*NewKOTHEvent, bool)

type NewKOTHMessage

type NewKOTHMessage struct {
	Ticker      string
	Description string
	Backtick    string
	*NewKOTHEvent
}

type NewRaydiumMessage

type NewRaydiumMessage struct {
	Ticker      string
	Description string
	Backtick    string
	*dapp.NewRaydiumPool
}

type NewTokenEventMessage

type NewTokenEventMessage struct {
	Ticker                   string
	Description              string
	CA                       string
	CreatorAddress           string
	CreatorAddressBalance    string
	CreatorAddressBalanceUSD string
	BoughtSOL                string
	Backtick                 string
}

type Payload

type Payload struct {
	Method string   `json:"method"`
	Keys   []string `json:"keys"`
}

type PayloadNoKey

type PayloadNoKey struct {
	Method string `json:"method"`
}

Jump to

Keyboard shortcuts

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