robot

package
v0.0.0-...-af71147 Latest Latest
Warning

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

Go to latest
Published: May 8, 2025 License: Apache-2.0 Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const MaxAssociateCount = MaxDivisionCount * 20
View Source
const MaxBranchCount = 50
View Source
const MaxCityCount = MaxProvinceCount * 20
View Source
const MaxDivisionCount = MaxBranchCount * 50
View Source
const MaxMemberCount = 2000
View Source
const MaxMerchantCount = 500
View Source
const MaxProvinceCount = 20
View Source
const MaxZoneCount = MaxCityCount * 20
View Source
const NetworkID nineora.NetworkID = "7304da03e436ea87b0426440fb01b272"

Variables

This section is empty.

Functions

func GetSuperior

func GetSuperior(cur nineora.Link) nineora.Link

func OneScene

func OneScene()

func OneTime

func OneTime(member *Member, zone *AreaAgent, mc *Merchant)

func Running

func Running()

Types

type AreaAgent

type AreaAgent struct {
	Type     string
	UID      string
	Email    string
	Wallet   *nineora.Wallet
	ChainAcc *nineora.Account
	Superior nineora.Link
	// contains filtered or unexported fields
}

func NewArea

func NewArea(t string, superior nineora.Link) *AreaAgent

func RandCity

func RandCity() *AreaAgent

func RandProvince

func RandProvince() *AreaAgent

func RandZone

func RandZone() *AreaAgent

type CommunityAgent

type CommunityAgent struct {
	Type     string
	UID      string
	Email    string
	Wallet   *nineora.Wallet
	ChainAcc *nineora.Account
	Superior nineora.Link
	// contains filtered or unexported fields
}

func AssociateGet

func AssociateGet(link nineora.Link) *CommunityAgent

func NewCommunity

func NewCommunity(t string, superior nineora.Link) *CommunityAgent

func RandAssociate

func RandAssociate() *CommunityAgent

func RandBranch

func RandBranch() *CommunityAgent

func RandDivision

func RandDivision() *CommunityAgent

type Member

type Member struct {
	UID      string
	Email    string
	Wallet   *nineora.Wallet
	ChainAcc *nineora.Account
	Merchant nineora.Link
	// contains filtered or unexported fields
}

func NewMember

func NewMember() *Member

func RandMember

func RandMember() *Member

type Merchant

type Merchant struct {
	UID         string
	Email       string
	Wallet      *nineora.Wallet
	ChainAcc    *nineora.Account
	Node        *nineora.Node
	Associate   nineora.Link
	InvestRatio uint64
	// contains filtered or unexported fields
}
func GetMerchantByLink(mcLink nineora.Link) *Merchant

func NewMerchant

func NewMerchant() *Merchant

func RandMerchant

func RandMerchant() *Merchant

Jump to

Keyboard shortcuts

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