Exemple #1
0
            static Func <Transaction, Task <TransactionResponse> > getRequestMethod(Channel channel)
            {
                var client = new SmartContractService.SmartContractServiceClient(channel);

                return(async(Transaction transaction) => await client.deleteContractAsync(transaction));
            }
            static Func <Query, Task <Response> > getRequestMethod(Channel channel)
            {
                var client = new SmartContractService.SmartContractServiceClient(channel);

                return(async(Query query) => (await client.getBySolidityIDAsync(query)));
            }