Versions in this module Expand all Collapse all v1 v1.2.2 Apr 7, 2024 Changes in this version + var AccountAddressFlag = cli.StringFlag + var AmountFlag = cli.StringFlag + var BaseFlagCombination = []cli.Flag + var BigSubValue = errors.New("not enough map") + var BuildpathFlag = cli.StringFlag + var CommissionFlag = cli.Uint64Flag + var ContractAddressFlag = cli.StringFlag + var DurationFlag = cli.Int64Flag + var GasLimitFlag = cli.Int64Flag + var GetIndexError = errors.New("get Index nil(no Address)") + var ImplementationAddressFlag = cli.StringFlag + var KeyStoreFlag = cli.StringFlag + var KeystoreAddressFlag = cli.StringFlag + var LockedNumFlag = cli.Int64Flag + var MarkerCfgFlag = cli.StringFlag + var MustFlagCombination = []cli.Flag + var NameFlag = cli.StringFlag + var NewEnvFlag = cli.StringFlag + var NoTargetValidatorError = errors.New("not find target validator") + var ProofFlag = cli.StringFlag + var RPCAddrFlag = cli.StringFlag + var ReLockIndexFlag = cli.Int64Flag + var RelayerFlag = cli.StringFlag + var SignatureFlag = cli.StringFlag + var SignerFlag = cli.StringFlag + var SignerPriFlag = cli.StringFlag + var TargetAddressFlag = cli.StringFlag + var TemplateFlags = []cli.Flag + var TopNumFlag = cli.Int64Flag + var URLFlag = cli.StringFlag + var ValidatorAddressFlag = cli.StringFlag + var ValueFlag = cli.Uint64Flag + var VerbosityFlag = cli.Int64Flag + var VoteNumFlag = cli.Int64Flag + var Voter2validator []Voter2validatorInfo + var VoterList []VoterStruct + var WithdrawIndexFlag = cli.Int64Flag + func GetPassword(msg string) []byte + type Account struct + Address common.Address + PrivateKey *ecdsa.PrivateKey + func LoadAccount(path string, password string) (*Account, error) + func (a *Account) BLSG1PublicKey() (bls.SerializedG1PublicKey, error) + func (a *Account) BLSProofOfPossession() ([]byte, error) + func (a *Account) BLSPublicKey() (bls.SerializedPublicKey, error) + func (a *Account) MustBLSProofOfPossession() []byte + func (a *Account) PrivateKeyHex() string + func (a *Account) PublicKey() []byte + func (a *Account) String() string + type AccountsParameters struct + AccountsABI *abi.ABI + AccountsAddress common.Address + type Config struct + AccountAddress common.Address + Amount string + BLSProof []byte + BlsG1Pub blscrypto.SerializedG1PublicKey + BlsPub blscrypto.SerializedPublicKey + Commission uint64 + ContractAddress common.Address + Duration int64 + ElectionParameters ElectionParameters + EpochRewardParameters EpochRewardsParameters + Fixed string + From common.Address + GasLimit int64 + GoldTokenParameters GoldTokenParameters + ImplementationAddress common.Address + LockedGoldParameters LockedGoldParameters + LockedNum *big.Int + MetadataURL string + Name string + PrivateKey *ecdsa.PrivateKey + Proof string + PublicKey []byte + RPCAddr string + RelockIndex *big.Int + Signature string + SignerAddress common.Address + SignerPriv string + TargetAddress common.Address + TestPoc2Parameters TestPoc2 + TopNum *big.Int + ValidatorParameters ValidatorParameters + Value uint64 + Verbosity string + VoteNum *big.Int + WithdrawIndex *big.Int + func AssemblyConfig(ctx *cli.Context) (*Config, error) + type ElectionParameters struct + ElectionABI *abi.ABI + ElectionAddress common.Address + type EpochRewardsParameters struct + EpochRewardsABI *abi.ABI + EpochRewardsAddress common.Address + type GoldTokenParameters struct + GoldTokenABI *abi.ABI + GoldTokenAddress common.Address + type LockedGoldParameters struct + LockedGoldABI *abi.ABI + LockedGoldAddress common.Address + type TestPoc2 struct + ABI *abi.ABI + Address common.Address + type ValidatorInfo struct + AllVotes *big.Int + EpochNum uint64 + ValidatorReward *big.Int + type ValidatorParameters struct + ValidatorABI *abi.ABI + ValidatorAddress common.Address + type Voter2validatorInfo struct + ValidatorAccount string + Value uint64 + VoterAccount string + type VoterInfo struct + EpochNum uint64 + VActive *big.Int + VPending *big.Int + Validator common.Address + Voter common.Address + type VoterStruct struct + Validator common.Address + Voter common.Address