示例#1
0
 public UndelegateRequest(BaseReq baseReq, string delegatorAddress, string validatorAddress, Coin amount)
 {
     BaseReq          = baseReq;
     DelegatorAddress = delegatorAddress;
     ValidatorAddress = validatorAddress;
     Amount           = amount;
 }
示例#2
0
 public PostProposalReq(BaseReq baseReq, string title, string description, string proposalType, string proposer, IList <Coin> initialDeposit)
 {
     BaseReq        = baseReq;
     Title          = title;
     Description    = description;
     ProposalType   = proposalType;
     Proposer       = proposer;
     InitialDeposit = initialDeposit;
 }
示例#3
0
 public SetWithdrawalAddrRequest(BaseReq baseReq, string withdrawAddress)
 {
     BaseReq         = baseReq;
     WithdrawAddress = withdrawAddress;
 }
示例#4
0
 public VoteReq(BaseReq baseReq, string voter, VoteOption option)
 {
     BaseReq = baseReq;
     Voter   = voter;
     Option  = option;
 }
 public BaseReqWithSimulate(BaseReq baseReq, bool simulate) : base(baseReq.From, baseReq.Memo, baseReq.ChainId,
                                                                   baseReq.AccountNumber, baseReq.Sequence, baseReq.Fees, baseReq.GasPrices, baseReq.Gas,
                                                                   baseReq.GasAdjustment)
 {
     Simulate = simulate;
 }
 public WithdrawRewardsRequest(BaseReq baseReq)
 {
     BaseReq = baseReq;
 }
示例#7
0
 public DepositReq(BaseReq baseReq, string depositor, IList <Coin> amount)
 {
     BaseReq   = baseReq;
     Depositor = depositor;
     Amount    = amount;
 }
 public UnjailRequest(BaseReq baseReq)
 {
     BaseReq = baseReq;
 }