config

package
v0.0.0-...-3bf72d0 Latest Latest
Warning

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

Go to latest
Published: Dec 14, 2022 License: GPL-3.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Block

type Block struct {
	FromBlockNum uint32
}

type Config

type Config interface {
	Block() Block
	BSC() bscClient.Client
	Contract() ContractAddress
	EventsConfig() EventsConfig
	Listener() net.Listener

	pgdb.Databaser
	comfig.Logger
	// comfig.Listenerer
	signed.Clienter
}

func New

func New(getter kv.Getter) Config

type ContractAddress

type ContractAddress struct {
	Address string
}

type EventsConfig

type EventsConfig struct {
	MissionJoinedHash   string
	MissionCreatedHash  string
	RewardWithdrawnHash string
}

Jump to

Keyboard shortcuts

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