bots

package
v0.76.8 Latest Latest
Warning

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

Go to latest
Published: Jun 11, 2024 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

View Source
const (
	TopUpFactorForTradingBots = 3.0
	TopUpFactorForWhale       = 30.0
)

Variables

View Source
var Cmd = &cobra.Command{
	Use:   "bots",
	Short: "Manage bots on the network",
	Long:  "Manage bots on the network",
}

Functions

func TopUpBots

func TopUpBots(args TopUpArgs) error

Types

type Args

type Args struct {
	*rootCmd.RootArgs

	NetworkFile string
}

type AssetToTopUp

type AssetToTopUp struct {
	Symbol          string
	ContractAddress string
	VegaAssetId     string
	TotalAmount     *types.Amount
	AmountsByParty  map[string]*types.Amount
}

type Party

type Party struct {
	Name      string
	Wallet    wallet.Wallet
	PublicKey string
	Joined    bool
}

type ReferralArgs

type ReferralArgs struct {
	*Args
	Setup                 bool
	Assets                []string
	NumberOfSets          uint32
	NumberOfMembersPerSet uint32
}

type ReferralSet

type ReferralSet struct {
	Leader   Party
	Referees []Party
	ID       string
}

func NewReferralSet

func NewReferralSet(referrer Party) ReferralSet

type TopUpArgs

type TopUpArgs struct {
	*Args
	// contains filtered or unexported fields
}

Jump to

Keyboard shortcuts

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