コード例 #1
0
        public Task <bool> HasVotedQueryAsync(string account, BlockParameter blockParameter = null)
        {
            var hasVotedFunction = new HasVotedFunction();

            hasVotedFunction.Account = account;

            return(ContractHandler.QueryAsync <HasVotedFunction, bool>(hasVotedFunction, blockParameter));
        }
コード例 #2
0
 public Task <bool> HasVotedQueryAsync(HasVotedFunction hasVotedFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <HasVotedFunction, bool>(hasVotedFunction, blockParameter));
 }