コード例 #1
0
        public Task <bool> IsAllowedQueryAsync(byte[] hash, BigInteger timestamp, BlockParameter blockParameter = null)
        {
            var isAllowedFunction = new IsAllowedFunction();

            isAllowedFunction.Hash      = hash;
            isAllowedFunction.Timestamp = timestamp;

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