public MsgCreateValidator(ValidatorDescription description, CommissionRates commission, BigInteger minSelfDelegation, string delegatorAddress, string validatorAddress, string pubKey, IList <Coin> value)
 {
     Description       = description;
     Commission        = commission;
     MinSelfDelegation = minSelfDelegation;
     DelegatorAddress  = delegatorAddress;
     ValidatorAddress  = validatorAddress;
     PubKey            = pubKey;
     Value             = value;
 }
Esempio n. 2
0
 public Validator(string operatorAddress, string consPubKey, bool jailed, BondStatus status, BigInteger tokens, BigDecimal delegatorShares, ValidatorDescription description, long unbondingHeight, DateTimeOffset unbondingCompletionTime, ValidatorCommission commission, BigInteger minSelfDelegation)
 {
     OperatorAddress         = operatorAddress;
     ConsPubKey              = consPubKey;
     Jailed                  = jailed;
     Status                  = status;
     Tokens                  = tokens;
     DelegatorShares         = delegatorShares;
     Description             = description;
     UnbondingHeight         = unbondingHeight;
     UnbondingCompletionTime = unbondingCompletionTime;
     Commission              = commission;
     MinSelfDelegation       = minSelfDelegation;
 }