bot

package
v0.75.8 Latest Latest
Warning

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

Go to latest
Published: Apr 2, 2024 License: MIT Imports: 24 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var BotCmd = &cobra.Command{
	Use:   "bot",
	Short: "Work with bot",
	Long:  `Work with bot`,
}

Root Command for Bot

Functions

func RunGetBots

func RunGetBots(args GetBotsArgs) error

Types

type BotArgs

type BotArgs struct {
	*rootCmd.RootArgs
	VegaNetworkName string
	BotsAPIToken    string
	WithSecrets     bool
}

type GetBotsArgs

type GetBotsArgs struct {
	*BotArgs
}

type ReferralArgs

type ReferralArgs struct {
	*BotArgs
	SetupBotsInReferralProgram bool
	Assets                     []string
	NumberOfTeams              uint32
	NumberOfMembersPerTeam     uint32
}

type Team added in v0.74.10

type Team struct {
	Leader TeamMember

	Members []TeamMember
}

func NewTeam added in v0.74.10

func NewTeam(leader TeamMember) Team

type TeamMember added in v0.74.10

type TeamMember struct {
	Name   string
	Wallet *wallet.VegaWallet
}

Jump to

Keyboard shortcuts

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