core

package
v0.0.0-...-1951315 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2021 License: BSD-3-Clause Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	TelegramToken  string
	TelegramChatID int64
	RpcAddress     string
}

type Coordinator

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

func NewCoordinator

func NewCoordinator(ctx context.Context, cfg Config) (*Coordinator, error)

func (*Coordinator) Run

func (c *Coordinator) Run(ctx context.Context) error

type Token

type Token struct {
	Address     common.Address
	Name        string
	Symbol      string
	TotalSupply *big.Int
}

func (Token) ToMsg

func (t Token) ToMsg() string

Jump to

Keyboard shortcuts

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