コード例 #1
0
        public Task <bool> AreDelegatorsBannedQueryAsync(string returnValue1, BlockParameter blockParameter = null)
        {
            var areDelegatorsBannedFunction = new AreDelegatorsBannedFunction();

            areDelegatorsBannedFunction.ReturnValue1 = returnValue1;

            return(ContractHandler.QueryAsync <AreDelegatorsBannedFunction, bool>(areDelegatorsBannedFunction, blockParameter));
        }
コード例 #2
0
        public Task <bool> AreDelegatorsBannedQueryAsync(string miningAddress, BlockParameter blockParameter = null)
        {
            var areDelegatorsBannedFunction = new AreDelegatorsBannedFunction();

            areDelegatorsBannedFunction.MiningAddress = miningAddress;

            return(ContractHandler.QueryAsync <AreDelegatorsBannedFunction, bool>(areDelegatorsBannedFunction, blockParameter));
        }
コード例 #3
0
 public Task <bool> AreDelegatorsBannedQueryAsync(AreDelegatorsBannedFunction areDelegatorsBannedFunction, BlockParameter blockParameter = null)
 {
     return(ContractHandler.QueryAsync <AreDelegatorsBannedFunction, bool>(areDelegatorsBannedFunction, blockParameter));
 }