sidechain

package
v1.3.3 Latest Latest
Warning

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

Go to latest
Published: May 7, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

View Source
const (
	AmountFlag = "amount"
)

Variables

This section is empty.

Functions

func CheckIfDirectoryExist

func CheckIfDirectoryExist(dir string) error

func GetAccount

func GetAccount(accountDir, accountConfig string) (*wallet.Account, error)

GetAccount resolves secrets manager and returns an account object

func GetAccountFromDir

func GetAccountFromDir(accountDir string) (*wallet.Account, error)

GetAccountFromDir returns an account object from local secrets manager

func GetValidatorInfo

func GetValidatorInfo(validatorAddr ethgo.Address, supernetManager, stakeManager types.Address,
	chainID int64, rootRelayer, childRelayer txrelayer.TxRelayer) (*polybft.ValidatorInfo, error)

GetValidatorInfo queries CustomSupernetManager, StakeManager and RewardPool smart contracts to retrieve validator info for given address

func ValidateSecretFlags

func ValidateSecretFlags(dataDir, config string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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