Documentation ¶
Index ¶
- Constants
- func CheckIfDirectoryExist(dir string) error
- func GetAccount(accountDir, accountConfig string) (*wallet.Account, error)
- func GetAccountFromDir(accountDir string) (*wallet.Account, error)
- func GetValidatorInfo(validatorAddr ethgo.Address, supernetManager, stakeManager types.Address, ...) (*polybft.ValidatorInfo, error)
- func ValidateSecretFlags(dataDir, config string) error
Constants ¶
View Source
const (
AmountFlag = "amount"
)
Variables ¶
This section is empty.
Functions ¶
func CheckIfDirectoryExist ¶
func GetAccount ¶
GetAccount resolves secrets manager and returns an account object
func GetAccountFromDir ¶
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 ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.