public Task <TransactionReceipt> SetPermissionRequestAndWaitForReceiptAsync(string contract, byte[] permission, bool value, CancellationTokenSource cancellationToken = null) { var setPermissionFunction = new SetPermissionFunction(); setPermissionFunction.Contract = contract; setPermissionFunction.Permission = permission; setPermissionFunction.Value = value; return(ContractHandler.SendRequestAndWaitForReceiptAsync(setPermissionFunction, cancellationToken)); }
public Task <string> SetPermissionRequestAsync(string contract, byte[] permission, bool value) { var setPermissionFunction = new SetPermissionFunction(); setPermissionFunction.Contract = contract; setPermissionFunction.Permission = permission; setPermissionFunction.Value = value; return(ContractHandler.SendRequestAsync(setPermissionFunction)); }
public Task <TransactionReceipt> SetPermissionRequestAndWaitForReceiptAsync(SetPermissionFunction setPermissionFunction, CancellationTokenSource cancellationToken = null) { return(ContractHandler.SendRequestAndWaitForReceiptAsync(setPermissionFunction, cancellationToken)); }
public Task <string> SetPermissionRequestAsync(SetPermissionFunction setPermissionFunction) { return(ContractHandler.SendRequestAsync(setPermissionFunction)); }