Ejemplo n.º 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));
        }
Ejemplo n.º 2
0
 public Task <bool> IsAllowedQueryAsync(IsAllowedFunction isAllowedFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <IsAllowedFunction, bool>(isAllowedFunction, blockParameter));
 }