lib

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jan 24, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CreateBot added in v0.1.0

func CreateBot(telegramBot string) *tele.Bot

func Query

func Query(config *Config) *big.Float

func StartBot added in v0.1.0

func StartBot(b *tele.Bot, config *Config)

func Warn

func Warn(b *tele.Bot, receiver int64, message string)

Types

type Config

type Config struct {
	CfgFile         string
	Address         string
	Rpc             string
	LpContract      string
	MarketContracts []string
	Treshold        float64
	TelegramBotKey  string
	TelegramId      int64
}

Jump to

Keyboard shortcuts

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