public IbftApiService(IClient client) : base(client) { DiscardValidatorVote = new IbftDiscardValidatorVote(client); GetValidatorsByBlockHash = new IbftGetValidatorsByBlockHash(client); GetPendingVotes = new IbftGetPendingVotes(client); GetValidatorsByBlockNumber = new IbftGetValidatorsByBlockNumber(client); ProposeValidatorVote = new IbftProposeValidatorVote(client); }
public override Task <bool> ExecuteAsync(IClient client) { var ibftProposeValidatorVote = new IbftProposeValidatorVote(client); return(ibftProposeValidatorVote.SendRequestAsync(Settings.GetDefaultAccount(), true)); }